Shiptest 13 - Modules - TypesVar Details - Proc Details

shuttle

Vars

jump_completion_timeTime taken for a bluespace jump to complete after it initiates (in deciseconds)
jump_modeCurrent state of the jump
jump_request_timeTime taken for bluespace jump to begin after it is requested (in deciseconds)
jump_timerTimer ID of the timer used for telling which stage of an endround "jump" the ships are in
lockdownStops ALL shuttles from being able to move
mobileList of all instantiated /obj/item/docking_port/mobile in existence
ordernumOrder number given to next cargo order
stationaryList of all instantiated /obj/item/docking_port/stationary in existence
supplyBlockedWhether express consoles are blocked from ordering anything or not
supply_packsList of all singleton supply pack instances
transitList of all instantiated /obj/item/docking_port/stationary/transit in existence
transit_request_failuresAssoc list of an object that has attempted transit to the amount of times it has failed to do so
transit_requestersList of all shuttles queued for transit

Procs

action_loadThis proc loads a shuttle from a specified template. If no destination port is specified, the shuttle will be spawned at a generated transit doc. Doing this is how most ships are loaded.
cancel_jumpCancels a currently requested bluespace jump. Can only be done after the jump has been requested but before the jump has actually begun.
initiate_jumpInitiates a bluespace jump, ending the round after a delay of jump_completion_time deciseconds. This cannot be interrupted by conventional means.
load_templateThis proc is THE proc that loads a shuttle from a specified template. Anything else should go through this in order to spawn a new shuttle.
replace_shuttleThis proc replaces the given shuttle with a fresh new one spawned from a template. spawned at a generated transit doc. Doing this is how most ships are loaded.
request_jumpRequests a bluespace jump, which, after jump_request_time deciseconds, will initiate a bluespace jump.

Var Details

jump_completion_time

Time taken for a bluespace jump to complete after it initiates (in deciseconds)

jump_mode

Current state of the jump

jump_request_time

Time taken for bluespace jump to begin after it is requested (in deciseconds)

jump_timer

Timer ID of the timer used for telling which stage of an endround "jump" the ships are in

lockdown

Stops ALL shuttles from being able to move

mobile

List of all instantiated /obj/item/docking_port/mobile in existence

ordernum

Order number given to next cargo order

stationary

List of all instantiated /obj/item/docking_port/stationary in existence

supplyBlocked

Whether express consoles are blocked from ordering anything or not

supply_packs

List of all singleton supply pack instances

transit

List of all instantiated /obj/item/docking_port/stationary/transit in existence

transit_request_failures

Assoc list of an object that has attempted transit to the amount of times it has failed to do so

transit_requesters

List of all shuttles queued for transit

Proc Details

action_load

This proc loads a shuttle from a specified template. If no destination port is specified, the shuttle will be spawned at a generated transit doc. Doing this is how most ships are loaded.

cancel_jump

Cancels a currently requested bluespace jump. Can only be done after the jump has been requested but before the jump has actually begun.

initiate_jump

Initiates a bluespace jump, ending the round after a delay of jump_completion_time deciseconds. This cannot be interrupted by conventional means.

load_template

This proc is THE proc that loads a shuttle from a specified template. Anything else should go through this in order to spawn a new shuttle.

replace_shuttle

This proc replaces the given shuttle with a fresh new one spawned from a template. spawned at a generated transit doc. Doing this is how most ships are loaded.

Hopefully this doesn't need to be used, it's a last resort for admin-coders at best, but I wanted to preserve the functionality of old action_load() in case it was needed.

request_jump

Requests a bluespace jump, which, after jump_request_time deciseconds, will initiate a bluespace jump.