Yogstation 13 - Modules - TypesVar Details - Proc Details

shuttle console

Vars

admin_controlledVariable dictating if the attached shuttle requires authorization from the admin staff to move
destinationID of the currently selected destination of the attached shuttle
dumb_rev_headsList of head revs who have already clicked through the warning about not using the console
lockedIf the console controls are locked
no_destination_swapVariable dictating if the attached shuttle is forbidden to change destinations mid-flight
possible_destinationsPossible destinations of the attached shuttle
request_cooldownAuthorization request cooldown to prevent request spam to admin staff
shuttleIdID of the attached shuttle

Procs

get_valid_destinationsReturns a list of currently valid destinations for this shuttle console, taking into account its list of allowed destinations, their current state, and the shuttle's current location
launch_checkChecks if we are allowed to launch the shuttle, for special cases
send_shuttleAttempts to send the linked shuttle to dest_id, checking various sanity checks to see if it can move or not

Var Details

admin_controlled

Variable dictating if the attached shuttle requires authorization from the admin staff to move

destination

ID of the currently selected destination of the attached shuttle

dumb_rev_heads

List of head revs who have already clicked through the warning about not using the console

locked

If the console controls are locked

no_destination_swap

Variable dictating if the attached shuttle is forbidden to change destinations mid-flight

possible_destinations

Possible destinations of the attached shuttle

request_cooldown

Authorization request cooldown to prevent request spam to admin staff

shuttleId

ID of the attached shuttle

Proc Details

get_valid_destinations

Returns a list of currently valid destinations for this shuttle console, taking into account its list of allowed destinations, their current state, and the shuttle's current location

launch_check

Checks if we are allowed to launch the shuttle, for special cases

Arguments:

send_shuttle

Attempts to send the linked shuttle to dest_id, checking various sanity checks to see if it can move or not

Arguments: