Space Station 13 - Modules - TypesVar Details - Proc Details

mobile

Vars

alone_shuttleDoesn't throw runtimes if can't find the dock. Used by away shuttles(example ussp shuttle) which cannot get docks loaded in map.
callTimetime spent in transit (deciseconds)
ignitionTimetime spent "starting the engines". Also rate limits how often we try to reserve transit space if its ever full of transiting shuttles. DO NOT set under 3 seconds. We need to reserve space before we can launch the shuttle. Also it'll break launch sound(not by not playing. it'll be unsynced)
locked_moveforce lock shuttle moving
modecurrent shuttle state
port_directionrelative direction of the docking port from the front of the shuttle. Meaning, if port located at: front = NORTH, left side = WEST, right side = EAST, backside = SOUTH.
preferred_directionThe direction the shuttle prefers to travel in, ie what direction the animation will cause it to appear to be traveling in
rebuildablecan build new shuttle consoles for this one
rechargeTimetime recharging before ready to launch again
roundstart_moveid of port to send shuttle to at roundstart

Procs

dockthis is the main proc. It instantly moves our mobile port to stationary port new_dock it handles all the generic behaviour, such as sanity checks, closing doors on the shuttle, stunning mobs, etc

Var Details

alone_shuttle

Doesn't throw runtimes if can't find the dock. Used by away shuttles(example ussp shuttle) which cannot get docks loaded in map.

callTime

time spent in transit (deciseconds)

ignitionTime

time spent "starting the engines". Also rate limits how often we try to reserve transit space if its ever full of transiting shuttles. DO NOT set under 3 seconds. We need to reserve space before we can launch the shuttle. Also it'll break launch sound(not by not playing. it'll be unsynced)

locked_move

force lock shuttle moving

mode

current shuttle state

port_direction

relative direction of the docking port from the front of the shuttle. Meaning, if port located at: front = NORTH, left side = WEST, right side = EAST, backside = SOUTH.

preferred_direction

The direction the shuttle prefers to travel in, ie what direction the animation will cause it to appear to be traveling in

rebuildable

can build new shuttle consoles for this one

rechargeTime

time recharging before ready to launch again

roundstart_move

id of port to send shuttle to at roundstart

Proc Details

dock

this is the main proc. It instantly moves our mobile port to stationary port new_dock it handles all the generic behaviour, such as sanity checks, closing doors on the shuttle, stunning mobs, etc