Shuttle
Vars | |
admin_emergency_no_recall | Did admins force-prevent the recall of the shuttle? |
---|---|
arrivals | The mobile docking port of the arrivals shuttle. |
assoc_mobile | Now it's only for ID generation in /obj/docking_port/mobile/register() |
assoc_stationary | Now it's only for ID generation in /obj/docking_port/stationary/register() |
backup_shuttle | The mobile docking port of the backup emergency shuttle. |
beacon_list | A list of all the beacons that can be docked to. |
centcom_message | Remarks from CentCom on how well you checked the last order. |
chef_groceries | Queued supplies to be purchased for the chef. |
discovered_plants | Typepaths for unusual plants we've already sent CentCom, associated with their potencies. |
emergency | Emergency shuttle stuff The mobile docking port of the emergency shuttle. |
emergencyCallAmount | How many times was the escape shuttle called? |
emergency_call_time | Time taken for emergency shuttle to reach the station when called (in deciseconds). |
emergency_dock_time | Time taken for emergency shuttle to leave again once it has docked (in deciseconds). |
emergency_escape_time | Time taken for emergency shuttle to reach a safe distance after leaving station (in deciseconds). |
emergency_last_call_loc | Where was the emergency shuttle last called from? |
emergency_no_escape | Is the departure of the shuttle currently prevented? FALSE for no, any other number for yes (thanks shuttle code). |
emergency_no_recall | Do we prevent the recall of the shuttle? |
existing_shuttle | The existing shuttle associated with the selected shuttle map_template. |
has_purchase_shuttle_access | A list of job accesses that are able to purchase any shuttles. |
hidden_shuttle_turf_images | Only the images from the /datum/controller/subsystem/shuttle/hidden_shuttle_turfs list. |
hidden_shuttle_turfs | All turfs hidden from navigation computers associated with a list containing the image hiding them and the type of the turf they are pretending to be |
hostile_environments | Things blocking escape shuttle from leaving. |
mobile_docking_ports | A list of all the mobile docking ports. |
order_number | Order number given to next order. |
points | Number of trade-points we have (basically money). |
preview_reservation | The turf reservation for the current previewed shuttle. |
preview_shuttle | The docking port associated to the preview_template that's currently being previewed. |
preview_template | The shuttle map_template of the shuttle we want to preview. |
request_list | Wishlist items made by crew for cargo to purchase at their leisure. |
selected | The currently selected shuttle map_template in the shuttle manipulator's template viewer. |
shopping_list | Queued supply packs to be purchased. |
shuttle_insurance | If the event happens where the crew can purchase shuttle insurance, catastrophe can't run. |
shuttle_loading | Are we currently in the process of loading a shuttle? Useful to ensure we don't load more than one at once, to avoid weird inconsistencies and possible runtimes. |
shuttle_loan | The current shuttle loan event, if any. |
shuttle_purchase_requirements_met | For keeping track of ingame events that would unlock new shuttles, such as defeating a boss or discovering a secret item. |
stationary_docking_ports | A list of all the stationary docking ports. |
supermatter_cascade | Did the supermatter start a cascade event? |
supply | Supply shuttle stuff The current cargo shuttle's mobile docking port. |
supply_blocked | Is the cargo shuttle currently blocked from leaving? |
supply_packs | All of the possible supply packs that can be purchased by cargo. |
trade_blockade | Things blocking the cargo shuttle from leaving. |
transit_docking_ports | A list of all the transit docking ports. |
transit_request_failures | An associative list of the mobile docking ports that have failed a transit request, with the amount of times they've actually failed that transit request, up to MAX_TRANSIT_REQUEST_RETRIES |
transit_requesters | A list of all the mobile docking ports currently requesting a spot in hyperspace. |
transit_utilized | How many turfs our shuttles are currently utilizing in reservation space |
Procs | |
action_load | Loads a shuttle template and sends it to a given destination port, optionally replacing the existing shuttle |
canEvac | Check if we can call the evac shuttle. Returns TRUE if we can. Otherwise, returns a string detailing the problem. |
load_template | Loads a shuttle template into the transit Z level, usually referred to elsewhere in the code as a shuttle preview. Does not register the shuttle so it can't be used yet, that's handled in action_load() |
moveShuttle | Moves a shuttle to a new location |
transit_space_clearing | Gotta manage our space brother |
unload_preview | Removes the preview_shuttle from the transit Z-level |
Var Details
admin_emergency_no_recall
Did admins force-prevent the recall of the shuttle?
arrivals
The mobile docking port of the arrivals shuttle.
assoc_mobile
Now it's only for ID generation in /obj/docking_port/mobile/register()
assoc_stationary
Now it's only for ID generation in /obj/docking_port/stationary/register()
backup_shuttle
The mobile docking port of the backup emergency shuttle.
beacon_list
A list of all the beacons that can be docked to.
centcom_message
Remarks from CentCom on how well you checked the last order.
chef_groceries
Queued supplies to be purchased for the chef.
discovered_plants
Typepaths for unusual plants we've already sent CentCom, associated with their potencies.
emergency
Emergency shuttle stuff The mobile docking port of the emergency shuttle.
emergencyCallAmount
How many times was the escape shuttle called?
emergency_call_time
Time taken for emergency shuttle to reach the station when called (in deciseconds).
emergency_dock_time
Time taken for emergency shuttle to leave again once it has docked (in deciseconds).
emergency_escape_time
Time taken for emergency shuttle to reach a safe distance after leaving station (in deciseconds).
emergency_last_call_loc
Where was the emergency shuttle last called from?
emergency_no_escape
Is the departure of the shuttle currently prevented? FALSE for no, any other number for yes (thanks shuttle code).
emergency_no_recall
Do we prevent the recall of the shuttle?
existing_shuttle
The existing shuttle associated with the selected shuttle map_template.
has_purchase_shuttle_access
A list of job accesses that are able to purchase any shuttles.
hidden_shuttle_turf_images
Only the images from the /datum/controller/subsystem/shuttle/hidden_shuttle_turfs list.
hidden_shuttle_turfs
All turfs hidden from navigation computers associated with a list containing the image hiding them and the type of the turf they are pretending to be
hostile_environments
Things blocking escape shuttle from leaving.
mobile_docking_ports
A list of all the mobile docking ports.
order_number
Order number given to next order.
points
Number of trade-points we have (basically money).
preview_reservation
The turf reservation for the current previewed shuttle.
preview_shuttle
The docking port associated to the preview_template that's currently being previewed.
preview_template
The shuttle map_template of the shuttle we want to preview.
request_list
Wishlist items made by crew for cargo to purchase at their leisure.
selected
The currently selected shuttle map_template in the shuttle manipulator's template viewer.
shopping_list
Queued supply packs to be purchased.
shuttle_insurance
If the event happens where the crew can purchase shuttle insurance, catastrophe can't run.
shuttle_loading
Are we currently in the process of loading a shuttle? Useful to ensure we don't load more than one at once, to avoid weird inconsistencies and possible runtimes.
shuttle_loan
The current shuttle loan event, if any.
shuttle_purchase_requirements_met
For keeping track of ingame events that would unlock new shuttles, such as defeating a boss or discovering a secret item.
stationary_docking_ports
A list of all the stationary docking ports.
supermatter_cascade
Did the supermatter start a cascade event?
supply
Supply shuttle stuff The current cargo shuttle's mobile docking port.
supply_blocked
Is the cargo shuttle currently blocked from leaving?
supply_packs
All of the possible supply packs that can be purchased by cargo.
trade_blockade
Things blocking the cargo shuttle from leaving.
transit_docking_ports
A list of all the transit docking ports.
transit_request_failures
An associative list of the mobile docking ports that have failed a transit request, with the amount of times they've actually failed that transit request, up to MAX_TRANSIT_REQUEST_RETRIES
transit_requesters
A list of all the mobile docking ports currently requesting a spot in hyperspace.
transit_utilized
How many turfs our shuttles are currently utilizing in reservation space
Proc Details
action_load
Loads a shuttle template and sends it to a given destination port, optionally replacing the existing shuttle
Arguments:
- loading_template - The shuttle template to load
- destination_port - The station docking port to send the shuttle to once loaded
- replace - Whether to replace the shuttle or create a new one
canEvac
Check if we can call the evac shuttle. Returns TRUE if we can. Otherwise, returns a string detailing the problem.
load_template
Loads a shuttle template into the transit Z level, usually referred to elsewhere in the code as a shuttle preview. Does not register the shuttle so it can't be used yet, that's handled in action_load()
Arguments:
- loading_template - The shuttle template to load
moveShuttle
Moves a shuttle to a new location
Arguments:
- shuttle_id - The ID of the shuttle (mobile docking port) to move
- dock_id - The ID of the destination (stationary docking port) to move to
- timed - If true, have the shuttle follow normal spool-up, jump, dock process. If false, immediately move to the new location.
transit_space_clearing
Gotta manage our space brother
unload_preview
Removes the preview_shuttle from the transit Z-level