/tg/ Station 13 - Modules - TypesVar Details

shuttle

Vars

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.
emag_onlyWhether or not this shuttle is locked to emags only.
movement_forceIf set, overrides default movement_force on shuttle
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.
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

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.

emag_only

Whether or not this shuttle is locked to emags only.

movement_force

If set, overrides default movement_force on shuttle

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.

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.