clowncar ![code/modules/vehicles/cars/clowncar.dm 1](git.png)
Vars | |
cannonmode | Current status of the cannon, alternates between CLOWN_CANNON_INACTIVE, CLOWN_CANNON_BUSY and CLOWN_CANNON_READY |
---|---|
dice_cooldown_time | Cooldown time inbetween [/obj/vehicle/sealed/car/clowncar/proc/roll_the_dice()] usages |
enforce_clown_role | Does the driver require the clown role to drive it |
headlight_colors | list of headlight colors we use to pick through when we have party mode due to emag |
thankscount | How many times kidnappers in the clown car said thanks |
Procs | |
activate_cannon | Finalizes canon activation |
cover_in_oil | Deploys oil when the clowncar moves in oil deploy mode |
deactivate_cannon | Finalizes canon deactivation |
fire_cannon_at | Fires the cannon where the user clicks |
increment_thanks_counter | Increments the thanks counter every time someone thats been kidnapped thanks the driver |
reset_icon | resets the icon and iconstate of the clowncar after it was set to singulo states |
roll_the_dice | Plays a random funky effect Only available while car is emagged Possible effects: |
stop_dropping_oil | Stops dropping oil after the time has run up |
toggle_cannon | Toggles the on and off state of the clown cannon that shoots random kidnapped people |
Var Details
cannonmode ![code/modules/vehicles/cars/clowncar.dm 24](git.png)
Current status of the cannon, alternates between CLOWN_CANNON_INACTIVE, CLOWN_CANNON_BUSY and CLOWN_CANNON_READY
dice_cooldown_time ![code/modules/vehicles/cars/clowncar.dm 20](git.png)
Cooldown time inbetween [/obj/vehicle/sealed/car/clowncar/proc/roll_the_dice()] usages
enforce_clown_role ![code/modules/vehicles/cars/clowncar.dm 26](git.png)
Does the driver require the clown role to drive it
headlight_colors ![code/modules/vehicles/cars/clowncar.dm 18](git.png)
list of headlight colors we use to pick through when we have party mode due to emag
thankscount ![code/modules/vehicles/cars/clowncar.dm 22](git.png)
How many times kidnappers in the clown car said thanks
Proc Details
activate_cannon
Finalizes canon activation
cover_in_oil
Deploys oil when the clowncar moves in oil deploy mode
deactivate_cannon
Finalizes canon deactivation
fire_cannon_at
Fires the cannon where the user clicks
increment_thanks_counter
Increments the thanks counter every time someone thats been kidnapped thanks the driver
reset_icon
resets the icon and iconstate of the clowncar after it was set to singulo states
roll_the_dice
Plays a random funky effect Only available while car is emagged Possible effects:
- Spawn bananapeel
- Spawn random reagent foam
- Make the clown car look like a singulo temporarily
- Spawn Laughing chem gas
- Drop oil
- Fart and make everyone nearby laugh
stop_dropping_oil
Stops dropping oil after the time has run up
toggle_cannon
Toggles the on and off state of the clown cannon that shoots random kidnapped people