/tg/ Station 13 - Modules - TypesVar Details

vehicle

Vars

canmoveWhether the vehicle os currently able to move
inserted_keyThe inserted key, needed on some vehicles to start the engine
key_typeIf the driver needs a certain item in hand (or inserted, for vehicles) to drive this. For vehicles, this must be duplicated on their riding component subtype /datum/component/riding/var/keytype variable because only a few specific checks are handled here with this var, and the majority of it is on the riding component Eventually the remaining checks should be moved to the component and this var removed.
max_driversMaximum amount of drivers
max_occupantsMaximum amount of passengers plus drivers
trailerThis vehicle will follow us when we move (like atrailer duh)

Var Details

canmove

Whether the vehicle os currently able to move

inserted_key

The inserted key, needed on some vehicles to start the engine

key_type

If the driver needs a certain item in hand (or inserted, for vehicles) to drive this. For vehicles, this must be duplicated on their riding component subtype /datum/component/riding/var/keytype variable because only a few specific checks are handled here with this var, and the majority of it is on the riding component Eventually the remaining checks should be moved to the component and this var removed.

max_drivers

Maximum amount of drivers

max_occupants

Maximum amount of passengers plus drivers

trailer

This vehicle will follow us when we move (like atrailer duh)