supply_packs ![code/modules/supply/supply_pack.dm 1](git.png)
Vars | |
access | If the container is lockable, the access to require for it. |
---|---|
amount | The number of crates that get generated by this pack. |
announce_beacons | Particular beacons that we'll notify the relevant department when we reach |
are_you_sure_you_want_to_be_banned | If this variable is filled, this grants the user a special TGUI confirmation prompt about ordering this shuttle, before they can place the order. Similar to bag of holding. |
cmag_hidden | If TRUE, this pack is only visible on a cmagged supply console. |
containername | The name to give the container itself. |
containertype | The type of container that the contents will arrive in. |
contains | OBJ: What is inside the crate |
contains_special | STRING: What is inside the crate |
contraband | If TRUE, this pack is only visible on a hacked supply console. |
cost | The cost of this pack. |
department_restrictions | Determines which departments do not need QM approval to order this supply pack |
group | The pack group this should appear in. |
hidden | If TRUE, this pack is only visible on an emagged supply console. |
manifest | The manifest contents for this order. |
name | The name of this supply pack. |
order_type | Path of the type of order that should be generated from this order |
singleton | If true, this pack can only be ordered in units of 1. |
singleton_group_id | Identifier indicating the specific "set" of singletons that this belongs to. Only one item in this set can be in the shopping cart at once. |
special | A special pack that should not appear unless certain circumstances are fulfilled (event, station goals, admin packs) |
special_enabled | If this pack is special, whether it should be visible or not. |
ui_manifest | List of names for being done in TGUI |
Procs | |
can_order | Define a special condition as to whether or not this crate can currently be ordered. |
create_order | Create a supply order for this pack. |
on_order_confirm | Called right when an order for this pack is confirmed. |
Var Details
access ![code/modules/supply/supply_pack.dm 22](git.png)
If the container is lockable, the access to require for it.
amount ![code/modules/supply/supply_pack.dm 11](git.png)
The number of crates that get generated by this pack.
announce_beacons ![code/modules/supply/supply_pack.dm 43](git.png)
Particular beacons that we'll notify the relevant department when we reach
are_you_sure_you_want_to_be_banned ![code/modules/supply/supply_pack.dm 49](git.png)
If this variable is filled, this grants the user a special TGUI confirmation prompt about ordering this shuttle, before they can place the order. Similar to bag of holding.
cmag_hidden ![code/modules/supply/supply_pack.dm 28](git.png)
If TRUE, this pack is only visible on a cmagged supply console.
containername ![code/modules/supply/supply_pack.dm 20](git.png)
The name to give the container itself.
containertype ![code/modules/supply/supply_pack.dm 17](git.png)
The type of container that the contents will arrive in.
contains ![code/modules/supply/supply_pack.dm 5](git.png)
OBJ: What is inside the crate
contains_special ![code/modules/supply/supply_pack.dm 7](git.png)
STRING: What is inside the crate
contraband ![code/modules/supply/supply_pack.dm 26](git.png)
If TRUE, this pack is only visible on a hacked supply console.
cost ![code/modules/supply/supply_pack.dm 13](git.png)
The cost of this pack.
department_restrictions ![code/modules/supply/supply_pack.dm 41](git.png)
Determines which departments do not need QM approval to order this supply pack
group ![code/modules/supply/supply_pack.dm 39](git.png)
The pack group this should appear in.
hidden ![code/modules/supply/supply_pack.dm 24](git.png)
If TRUE, this pack is only visible on an emagged supply console.
manifest ![code/modules/supply/supply_pack.dm 9](git.png)
The manifest contents for this order.
name ![code/modules/supply/supply_pack.dm 3](git.png)
The name of this supply pack.
order_type ![code/modules/supply/supply_pack.dm 15](git.png)
Path of the type of order that should be generated from this order
singleton ![code/modules/supply/supply_pack.dm 34](git.png)
If true, this pack can only be ordered in units of 1.
singleton_group_id ![code/modules/supply/supply_pack.dm 37](git.png)
Identifier indicating the specific "set" of singletons that this belongs to. Only one item in this set can be in the shopping cart at once.
special ![code/modules/supply/supply_pack.dm 30](git.png)
A special pack that should not appear unless certain circumstances are fulfilled (event, station goals, admin packs)
special_enabled ![code/modules/supply/supply_pack.dm 32](git.png)
If this pack is special, whether it should be visible or not.
ui_manifest ![code/modules/supply/supply_pack.dm 45](git.png)
List of names for being done in TGUI
Proc Details
can_order
Define a special condition as to whether or not this crate can currently be ordered.
create_order
Create a supply order for this pack.
on_order_confirm
Called right when an order for this pack is confirmed.