car ![code/modules/vehicles/cars/car.dm 1](git.png)
Vars | |
car_traits | Bitflags for special behavior such as kidnapping |
---|---|
engine_sound | Sound file(s) to play when we drive around |
engine_sound_length | Set this to the length of the engine sound. |
enginesound_cooldown | How long it takes to rev (vrrm vrrm!) |
escape_time | Time it takes to break out of the car. |
forced_enter_sound | What sound to play if someone was forced in. |
vehicle_move_delay | How long it takes to move, cars don't use the riding component similar to mechs so we handle it ourselves |
Procs | |
is_car_stationary | Callback proc to check for |
mob_forced_enter | Proc called when someone is forcefully stuffedd into a car |
mob_try_forced_enter | attempts to force a mob into the car |
Var Details
car_traits ![code/modules/vehicles/cars/car.dm 6](git.png)
Bitflags for special behavior such as kidnapping
engine_sound ![code/modules/vehicles/cars/car.dm 8](git.png)
Sound file(s) to play when we drive around
engine_sound_length ![code/modules/vehicles/cars/car.dm 10](git.png)
Set this to the length of the engine sound.
enginesound_cooldown ![code/modules/vehicles/cars/car.dm 18](git.png)
How long it takes to rev (vrrm vrrm!)
escape_time ![code/modules/vehicles/cars/car.dm 12](git.png)
Time it takes to break out of the car.
forced_enter_sound ![code/modules/vehicles/cars/car.dm 16](git.png)
What sound to play if someone was forced in.
vehicle_move_delay ![code/modules/vehicles/cars/car.dm 14](git.png)
How long it takes to move, cars don't use the riding component similar to mechs so we handle it ourselves
Proc Details
is_car_stationary
Callback proc to check for
mob_forced_enter
Proc called when someone is forcefully stuffedd into a car
mob_try_forced_enter
attempts to force a mob into the car