/tg/ Station 13 - Modules - TypesVar Details - Proc Details

car

Vars

car_traitsBitflags for special behavior such as kidnapping
engine_soundSound file(s) to play when we drive around
engine_sound_lengthSet this to the length of the engine sound.
enginesound_cooldownHow long it takes to rev (vrrm vrrm!)
escape_timeTime it takes to break out of the car.
vehicle_move_delayHow long it takes to move, cars don't use the riding component similar to mechs so we handle it ourselves

Procs

is_car_stationaryCallback proc to check for
mob_forced_enterProc called when someone is forcefully stuffedd into a car
mob_try_forced_enterattempts to force a mob into the car

Var Details

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.

vehicle_move_delay

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