byond - Modules - TypesVar Details - Proc Details

shuttle

Vars

ambience_flightDefault shuttle audio ambience while flying
ambience_idleDefault shuttle audio ambience while not flying

Procs

calculate_docking_port_informationCalculated 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_ambienceRequests the proper sound ambience to play in the shuttle based on its state
initiate_dockingThis is the main proc. It instantly moves our mobile port to stationary port new_dock.
postregisterActions to be taken after shuttle is loaded and has been moved to its final location
preflight_checkBoth 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_ambienceUpdate 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:

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:

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