mobile ![code/modules/shuttle/shuttle.dm 334](git.png)
Vars | |
callTime | time spent in transit (deciseconds). Should not be lower then 10 seconds without editing the animation of the hyperspace ripples. |
---|---|
can_move_docking_ports | if this shuttle can move docking ports other than the one it is docked at |
ignitionTime | time spent "starting the engines". Also rate limits how often we try to reserve transit space if its ever full of transiting shuttles. |
mode | current shuttle mode |
movement_force | Whether or not you want your ship to knock people down, and also whether it will throw them several tiles upon launching. |
parallax_speed | parallax speed in seconds per loop |
port_direction | relative direction of the docking port from the front of the shuttle. NORTH is towards front, EAST would be starboard side, WEST port, etc. |
prearrivalTime | time spent after transit 'landing' before actually arriving |
preferred_direction | The direction the shuttle prefers to travel in, ie what direction the animation will cause it to appear to be traveling in |
rechargeTime | time spent after arrival before being able to begin ignition |
timer | used as a timer (if you want time left to complete move, use timeLeft proc) |
Procs | |
get_status_text_tgui | Gets shuttle location status in a form of string for tgui interfaces |
initiate_docking | This is the main proc. It instantly moves our mobile port to stationary port new_dock . |
Var Details
callTime ![code/modules/shuttle/shuttle.dm 348](git.png)
time spent in transit (deciseconds). Should not be lower then 10 seconds without editing the animation of the hyperspace ripples.
can_move_docking_ports ![code/modules/shuttle/shuttle.dm 377](git.png)
if this shuttle can move docking ports other than the one it is docked at
ignitionTime ![code/modules/shuttle/shuttle.dm 350](git.png)
time spent "starting the engines". Also rate limits how often we try to reserve transit space if its ever full of transiting shuttles.
mode ![code/modules/shuttle/shuttle.dm 346](git.png)
current shuttle mode
movement_force ![code/modules/shuttle/shuttle.dm 369](git.png)
Whether or not you want your ship to knock people down, and also whether it will throw them several tiles upon launching.
parallax_speed ![code/modules/shuttle/shuttle.dm 381](git.png)
parallax speed in seconds per loop
port_direction ![code/modules/shuttle/shuttle.dm 359](git.png)
relative direction of the docking port from the front of the shuttle. NORTH is towards front, EAST would be starboard side, WEST port, etc.
prearrivalTime ![code/modules/shuttle/shuttle.dm 354](git.png)
time spent after transit 'landing' before actually arriving
preferred_direction ![code/modules/shuttle/shuttle.dm 357](git.png)
The direction the shuttle prefers to travel in, ie what direction the animation will cause it to appear to be traveling in
rechargeTime ![code/modules/shuttle/shuttle.dm 352](git.png)
time spent after arrival before being able to begin ignition
timer ![code/modules/shuttle/shuttle.dm 343](git.png)
used as a timer (if you want time left to complete move, use timeLeft proc)
Proc Details
get_status_text_tgui
Gets shuttle location status in a form of string for tgui interfaces
initiate_docking
This is the main proc. It instantly moves our mobile port to stationary port new_dock
.