/tg/ Station 13 - Modules - TypesVar Details

shuttle

Vars

admin_notesShuttle warnings and hazards to the admin who spawns the shuttle
credit_costHow much does this shuttle cost the cargo budget to purchase? Put in terms of CARGO_CRATE_VALUE to properly scale the cost with the current balance of cargo's income.
descriptionInformation to display on communication console about the shuttle
emag_onlyWhether or not this shuttle is locked to emags only.
movement_forceIf set, overrides default movement_force on shuttle
occupancy_limitThe recommended occupancy limit for the shuttle (count chairs, beds, and benches then round to 5)
port_idPort ID is the place this template should be docking at, set on '/obj/docking_port/stationary' Because getShuttle() compares port_id to shuttle_id to find an already existing shuttle, you should set shuttle_id to be the same as port_id if you want them to be replacable.
prerequisitesDescription of the prerequisite that has to be achieved for the shuttle to be purchased
shuttle_idID of the shuttle, make sure it matches port_id if necessary.
who_can_purchaseWhat job accesses can buy this shuttle? If null, this shuttle cannot be bought.

Var Details

admin_notes

Shuttle warnings and hazards to the admin who spawns the shuttle

credit_cost

How much does this shuttle cost the cargo budget to purchase? Put in terms of CARGO_CRATE_VALUE to properly scale the cost with the current balance of cargo's income.

description

Information to display on communication console about the shuttle

emag_only

Whether or not this shuttle is locked to emags only.

movement_force

If set, overrides default movement_force on shuttle

occupancy_limit

The recommended occupancy limit for the shuttle (count chairs, beds, and benches then round to 5)

port_id

Port ID is the place this template should be docking at, set on '/obj/docking_port/stationary' Because getShuttle() compares port_id to shuttle_id to find an already existing shuttle, you should set shuttle_id to be the same as port_id if you want them to be replacable.

prerequisites

Description of the prerequisite that has to be achieved for the shuttle to be purchased

shuttle_id

ID of the shuttle, make sure it matches port_id if necessary.

who_can_purchase

What job accesses can buy this shuttle? If null, this shuttle cannot be bought.