Space Station 13 - Modules - TypesVar Details

input_data

Vars

desired_move_dirBitflags of the direction the client wishes to move. Updated instantaneously.
desired_move_dir_addBitflags of the buffered direction the client wishes to move. Reset on client/Move().
desired_move_dir_subBitflags of the buffered direction the client wishes not to move. Reset on client/Move().
key_combos_heldAssociative list of currently held key combos.
keys_heldAssociative list of currently held keys. Format: keys_held[key], associated value is world.time where key was pressed.
move_lockWhether the movement should be locked in place.

Var Details

desired_move_dir

Bitflags of the direction the client wishes to move. Updated instantaneously.

desired_move_dir_add

Bitflags of the buffered direction the client wishes to move. Reset on client/Move().

desired_move_dir_sub

Bitflags of the buffered direction the client wishes not to move. Reset on client/Move().

key_combos_held

Associative list of currently held key combos.

keys_held

Associative list of currently held keys. Format: keys_held[key], associated value is world.time where key was pressed.

move_lock

Whether the movement should be locked in place.