shuttle
Vars | |
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 |
Procs | |
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 |
send_shuttle | Attempts 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
Arguments:
- user - The mob trying to initiate the launch
send_shuttle
Attempts to send the linked shuttle to dest_id, checking various sanity checks to see if it can move or not
Arguments:
- dest_id - The ID of the stationary docking port to send the shuttle to
- user - The mob that used the console