supply_pack 
Vars | |
| access | What access is required to open the crate when spawned? |
|---|---|
| access_any | If someone with any of the following accesses in a list can open this cargo pack crate. |
| access_view | Who can view this supply_pack and with what access. |
| contains | A list of items that are spawned in the crate of the supply pack. |
| cost | Cost of the crate. DO NOT GO ANY LOWER THAN X1.4 the "CARGO_CRATE_VALUE" value if using regular crates, or infinite profit will be possible! |
| crate_name | What is the name of the crate that is spawned with the crate's contents?? |
| crate_type | What typepath of crate do you spawn? |
| desc | The description shown on the cargo purchasing UI. No desc by default. |
| discountable | Can coupons target this pack? If so, how rarely? |
| group | The group that the supply pack is sorted into within the cargo purchasing UI. |
| id | When spawning a gas canistor, what kind of gas type are we spawning? |
| name | The name of the supply pack, as listed on th cargo purchasing UI. |
| order_flags | Various properties for cargo order mostly used to determine which consoles can see it |
| special_pod | If this pack comes shipped in a specific pod when launched from the express console |
| test_ignored | Is this supply pack considered unpredictable for the purposes of testing unit testing? Examples include the stock market, or miner supply crates. If true, exempts from unit testing |
Procs | |
| generate | Proc that takes a given supply_pack, and attempts to create a crate containing the pack's contents as determined by fill() |
| generate_supply_packs | For generating supply packs at runtime. Returns a list of supply packs to use instead of this one. |
| get_contents_ui_data | Returns data used for cargo purchasing UI |
Var Details
access 
What access is required to open the crate when spawned?
access_any 
If someone with any of the following accesses in a list can open this cargo pack crate.
access_view 
Who can view this supply_pack and with what access.
contains 
A list of items that are spawned in the crate of the supply pack.
cost 
Cost of the crate. DO NOT GO ANY LOWER THAN X1.4 the "CARGO_CRATE_VALUE" value if using regular crates, or infinite profit will be possible!
crate_name 
What is the name of the crate that is spawned with the crate's contents??
crate_type 
What typepath of crate do you spawn?
desc 
The description shown on the cargo purchasing UI. No desc by default.
discountable 
Can coupons target this pack? If so, how rarely?
group 
The group that the supply pack is sorted into within the cargo purchasing UI.
id 
When spawning a gas canistor, what kind of gas type are we spawning?
name 
The name of the supply pack, as listed on th cargo purchasing UI.
order_flags 
Various properties for cargo order mostly used to determine which consoles can see it
special_pod 
If this pack comes shipped in a specific pod when launched from the express console
test_ignored 
Is this supply pack considered unpredictable for the purposes of testing unit testing? Examples include the stock market, or miner supply crates. If true, exempts from unit testing
Proc Details
generate
Proc that takes a given supply_pack, and attempts to create a crate containing the pack's contents as determined by fill()
@ atom/A: The location or turf that the pack is being generated onto. Cargo shuttle provides an empty turf, other generate()s call this either null or otherwise. @ datum/bank_account/paying_account: The account to associate the supply pack with when going and generating the crate. Only the paying account can open said secure crate/case.
generate_supply_packs
For generating supply packs at runtime. Returns a list of supply packs to use instead of this one.
get_contents_ui_data
Returns data used for cargo purchasing UI