SPLURT Station 13 - Modules - TypesVar Details - Proc Details

vehicle

Vars

autogrant_actions_controllerAssoc list "[bitflag]" = list(typepaths)
autogrant_actions_passengerPlain list of typepaths
canmoveWhether the vehicle is currently able to move
default_driver_moveHandle driver movement instead of letting something else do it like riding datums.
emulate_door_bumpsWhen bumping a door try to make occupants bump them to open them.
enclosedIs the rider protected from bullets? assume no
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.
key_type_exactCan subtypes of this key work
max_driversMaximum amount of drivers
mouse_pointerDo we have a special mouse
occupant_actionsAssoc list mob = list(type = action datum assigned to mob)
occupantsmob = bitflags of their control level.
trailerThis vehicle will follow us when we move (like atrailer duh)

Procs

add_trailerTo add a trailer to the vehicle in a manner that allows safe qdels
generate_integrity_messageReturns a readable string of the vehicle's health for examining. Overridden by subtypes who want to be more verbose with their health messages.
remove_trailerTo remove a trailer from the vehicle in a manner that allows safe qdels

Var Details

autogrant_actions_controller

Assoc list "[bitflag]" = list(typepaths)

autogrant_actions_passenger

Plain list of typepaths

canmove

Whether the vehicle is currently able to move

default_driver_move

Handle driver movement instead of letting something else do it like riding datums.

emulate_door_bumps

When bumping a door try to make occupants bump them to open them.

enclosed

Is the rider protected from bullets? assume no

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.

key_type_exact

Can subtypes of this key work

max_drivers

Maximum amount of drivers

mouse_pointer

Do we have a special mouse

occupant_actions

Assoc list mob = list(type = action datum assigned to mob)

occupants

mob = bitflags of their control level.

trailer

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

Proc Details

add_trailer

To add a trailer to the vehicle in a manner that allows safe qdels

generate_integrity_message

Returns a readable string of the vehicle's health for examining. Overridden by subtypes who want to be more verbose with their health messages.

remove_trailer

To remove a trailer from the vehicle in a manner that allows safe qdels