shuttle
Vars | |
ambience_flight | Default shuttle audio ambience while flying |
---|---|
ambience_idle | Default shuttle audio ambience while not flying |
Procs | |
calculate_docking_port_information | Calculated and populates the information used for docking and some internal vars. This can also be used to calculate from shuttle_areas so that you can expand/shrink shuttles! |
get_sound_ambience | Requests the proper sound ambience to play in the shuttle based on its state |
initiate_docking | This is the main proc. It instantly moves our mobile port to stationary port new_dock . |
postregister | Actions to be taken after shuttle is loaded and has been moved to its final location |
preflight_check | Both lists are associative with a turf:bitflag structure. (new_turfs bitflag space unused currently) The bitflag contains the data for what inhabitants of that coordinate should be moved to the new location The bitflags can be found in __DEFINES/shuttles.dm |
update_ambience | Update the sound ambience of ALL shuttle passengers |
Var Details
ambience_flight
Default shuttle audio ambience while flying
ambience_idle
Default shuttle audio ambience while not flying
Proc Details
calculate_docking_port_information
Calculated and populates the information used for docking and some internal vars. This can also be used to calculate from shuttle_areas so that you can expand/shrink shuttles!
Arguments:
- loading_from - The template that the shuttle was loaded from, if not given we iterate shuttle_areas to calculate information instead
get_sound_ambience
Requests the proper sound ambience to play in the shuttle based on its state
initiate_docking
This is the main proc. It instantly moves our mobile port to stationary port new_dock
.
postregister
Actions to be taken after shuttle is loaded and has been moved to its final location
Arguments:
- replace - TRUE if this shuttle is replacing an existing one. FALSE by default.
preflight_check
Both lists are associative with a turf:bitflag structure. (new_turfs bitflag space unused currently) The bitflag contains the data for what inhabitants of that coordinate should be moved to the new location The bitflags can be found in __DEFINES/shuttles.dm
Hiding turfs if necessary
Unhiding turfs if necessary
update_ambience
Update the sound ambience of ALL shuttle passengers