code/__DEFINES/vehicles.dm ![code/__DEFINES/vehicles.dm0](git.png)
VEHICLE_CONTROL_DRIVE | controls the vehicles movement |
---|---|
VEHICLE_CONTROL_KIDNAPPED | Can't leave vehicle voluntarily, has to resist. |
VEHICLE_CONTROL_MELEE | melee attacks/shoves a vehicle may have |
VEHICLE_CONTROL_EQUIPMENT | using equipment/weapons on the vehicle |
VEHICLE_CONTROL_SETTINGS | changing around settings and the like. |
FULL_MECHA_CONTROL | ez define for giving a single pilot mech all the flags it needs. |
RIDER_NEEDS_ARMS | Does our vehicle require arms to operate? Also used for piggybacking on humans to reserve arms on the rider |
RIDER_NEEDS_LEGS | Do we need legs to ride this (checks against TRAIT_FLOORED) |
UNBUCKLE_DISABLED_RIDER | If the rider is disabled or loses their needed limbs, do they fall off? |
CAN_KIDNAP | Will this car kidnap people by ramming into them? |
VIM_SOUND_COOLDOWN | cooldown between uses of the sound maker |
VIM_HEAL_AMOUNT | how much vim heals per weld |
RIDING_OFFSET_ALL | The vehicle being ridden requires pixel offsets for all directions |
Define Details
CAN_KIDNAP ![code/__DEFINES/vehicles.dm 34](git.png)
Will this car kidnap people by ramming into them?
FULL_MECHA_CONTROL ![code/__DEFINES/vehicles.dm 15](git.png)
ez define for giving a single pilot mech all the flags it needs.
RIDER_NEEDS_ARMS ![code/__DEFINES/vehicles.dm 20](git.png)
Does our vehicle require arms to operate? Also used for piggybacking on humans to reserve arms on the rider
RIDER_NEEDS_LEGS ![code/__DEFINES/vehicles.dm 24](git.png)
Do we need legs to ride this (checks against TRAIT_FLOORED)
RIDING_OFFSET_ALL ![code/__DEFINES/vehicles.dm 47](git.png)
The vehicle being ridden requires pixel offsets for all directions
UNBUCKLE_DISABLED_RIDER ![code/__DEFINES/vehicles.dm 26](git.png)
If the rider is disabled or loses their needed limbs, do they fall off?
VEHICLE_CONTROL_DRIVE ![code/__DEFINES/vehicles.dm 4](git.png)
controls the vehicles movement
VEHICLE_CONTROL_EQUIPMENT ![code/__DEFINES/vehicles.dm 10](git.png)
using equipment/weapons on the vehicle
VEHICLE_CONTROL_KIDNAPPED ![code/__DEFINES/vehicles.dm 6](git.png)
Can't leave vehicle voluntarily, has to resist.
VEHICLE_CONTROL_MELEE ![code/__DEFINES/vehicles.dm 8](git.png)
melee attacks/shoves a vehicle may have
VEHICLE_CONTROL_SETTINGS ![code/__DEFINES/vehicles.dm 12](git.png)
changing around settings and the like.
VIM_HEAL_AMOUNT ![code/__DEFINES/vehicles.dm 44](git.png)
how much vim heals per weld
VIM_SOUND_COOLDOWN ![code/__DEFINES/vehicles.dm 42](git.png)
cooldown between uses of the sound maker