shuttle ![code/datums/shuttles/_shuttle.dm 1](git.png)
Vars | |
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. |
Var Details
admin_notes ![code/datums/shuttles/_shuttle.dm 20](git.png)
Shuttle warnings and hazards to the admin who spawns the shuttle
credit_cost ![code/datums/shuttles/_shuttle.dm 22](git.png)
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 ![code/datums/shuttles/_shuttle.dm 14](git.png)
Information to display on communication console about the shuttle
emag_only ![code/datums/shuttles/_shuttle.dm 26](git.png)
Whether or not this shuttle is locked to emags only.
movement_force ![code/datums/shuttles/_shuttle.dm 28](git.png)
If set, overrides default movement_force on shuttle
occupancy_limit ![code/datums/shuttles/_shuttle.dm 16](git.png)
The recommended occupancy limit for the shuttle (count chairs, beds, and benches then round to 5)
port_id ![code/datums/shuttles/_shuttle.dm 10](git.png)
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 ![code/datums/shuttles/_shuttle.dm 18](git.png)
Description of the prerequisite that has to be achieved for the shuttle to be purchased
shuttle_id ![code/datums/shuttles/_shuttle.dm 12](git.png)
ID of the shuttle, make sure it matches port_id if necessary.
who_can_purchase ![code/datums/shuttles/_shuttle.dm 24](git.png)
What job accesses can buy this shuttle? If null, this shuttle cannot be bought.