supply_pack ![code/modules/cargo/packs/_packs.dm 1](git.png)
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. |
admin_spawned | Was this spawned through an admin proc? |
contains | A list of items that are spawned in the crate of the supply pack. |
contraband | Is this supply pack purchasable outside of the standard purchasing band? Contraband is available by multitooling the cargo purchasing board. |
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? |
dangerous | Should we message admins? |
desc | The description shown on the cargo purchasing UI. No desc by default. |
discountable | Can coupons target this pack? If so, how rarely? |
drop_pod_only | Only usable by the Bluespace Drop Pod via the express cargo console |
goody | Goodies can only be purchased by private accounts and can have coupons apply to them. They also come in a lockbox instead of a full crate, so the 700 min doesn't apply |
group | The group that the supply pack is sorted into within the cargo purchasing UI. |
hidden | Is this cargo supply pack visible to 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. |
special | Event/Station Goals/Admin enabled packs |
special_enabled | When a cargo pack can be unlocked by special events (as seen in special), this toggles if it's been enabled in the round yet (For example, after the station alert, we can now enable buying the station goal pack). |
Procs | |
generate_supply_packs | For generating supply packs at runtime. Returns a list of supply packs to use instead of this one. |
Var Details
access ![code/modules/cargo/packs/_packs.dm 13](git.png)
What access is required to open the crate when spawned?
access_any ![code/modules/cargo/packs/_packs.dm 17](git.png)
If someone with any of the following accesses in a list can open this cargo pack crate.
access_view ![code/modules/cargo/packs/_packs.dm 15](git.png)
Who can view this supply_pack and with what access.
admin_spawned ![code/modules/cargo/packs/_packs.dm 39](git.png)
Was this spawned through an admin proc?
contains ![code/modules/cargo/packs/_packs.dm 19](git.png)
A list of items that are spawned in the crate of the supply pack.
contraband ![code/modules/cargo/packs/_packs.dm 9](git.png)
Is this supply pack purchasable outside of the standard purchasing band? Contraband is available by multitooling the cargo purchasing board.
cost ![code/modules/cargo/packs/_packs.dm 11](git.png)
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 ![code/modules/cargo/packs/_packs.dm 21](git.png)
What is the name of the crate that is spawned with the crate's contents??
crate_type ![code/modules/cargo/packs/_packs.dm 27](git.png)
What typepath of crate do you spawn?
dangerous ![code/modules/cargo/packs/_packs.dm 29](git.png)
Should we message admins?
desc ![code/modules/cargo/packs/_packs.dm 25](git.png)
The description shown on the cargo purchasing UI. No desc by default.
discountable ![code/modules/cargo/packs/_packs.dm 43](git.png)
Can coupons target this pack? If so, how rarely?
drop_pod_only ![code/modules/cargo/packs/_packs.dm 35](git.png)
Only usable by the Bluespace Drop Pod via the express cargo console
goody ![code/modules/cargo/packs/_packs.dm 41](git.png)
Goodies can only be purchased by private accounts and can have coupons apply to them. They also come in a lockbox instead of a full crate, so the 700 min doesn't apply
group ![code/modules/cargo/packs/_packs.dm 5](git.png)
The group that the supply pack is sorted into within the cargo purchasing UI.
hidden ![code/modules/cargo/packs/_packs.dm 7](git.png)
Is this cargo supply pack visible to the cargo purchasing UI.
id ![code/modules/cargo/packs/_packs.dm 23](git.png)
When spawning a gas canistor, what kind of gas type are we spawning?
name ![code/modules/cargo/packs/_packs.dm 3](git.png)
The name of the supply pack, as listed on th cargo purchasing UI.
special ![code/modules/cargo/packs/_packs.dm 31](git.png)
Event/Station Goals/Admin enabled packs
special_enabled ![code/modules/cargo/packs/_packs.dm 33](git.png)
When a cargo pack can be unlocked by special events (as seen in special), this toggles if it's been enabled in the round yet (For example, after the station alert, we can now enable buying the station goal pack).
Proc Details
generate_supply_packs
For generating supply packs at runtime. Returns a list of supply packs to use instead of this one.