/datum/syndicate_buylist 
Vars | |
br_allowed | If the item can be created as loot in Battle Royale |
---|---|
can_buy | Bitflags for what uplinks can buy this item (see _std/defines/uplink.dm for flags) |
category | The category of the item, currently unused (somewhat used in the Nukeop Commander uplink) |
cost | The TC cost of the datum in a buylist. Set to 0 to make it unavailable |
desc | The extended description that will go in the "about" section of the item |
items | Typepaths of the items that will be spawned when the datum is purchased |
job | A list of job names that you want the item to be restricted to, e.g. list("Clown", "Captain") |
max_buy | The maximum amount a given uplink can buy this item |
name | Name of the buylist entry |
not_in_crates | If the item should show up in surplus crates or not |
objective | For items that only can be purchased when you have a specfic objective. Needs to be a type, e.g. /datum/objective/assassinate |
surplus_weight | How often should this show up in a surplus crate/spy bounty? |
telecrystal | Is this buylist entry for ejecting TC from an uplink? |
vr_allowed | If the item should be allowed to be purchased in the VR murderbox |
Procs | |
run_on_spawn | Runs on the purchase of the buylist datum |
Var Details
br_allowed 
If the item can be created as loot in Battle Royale
can_buy 
Bitflags for what uplinks can buy this item (see _std/defines/uplink.dm
for flags)
category 
The category of the item, currently unused (somewhat used in the Nukeop Commander uplink)
cost 
The TC cost of the datum in a buylist. Set to 0 to make it unavailable
desc 
The extended description that will go in the "about" section of the item
items 
Typepaths of the items that will be spawned when the datum is purchased
job 
A list of job names that you want the item to be restricted to, e.g. list("Clown", "Captain")
max_buy 
The maximum amount a given uplink can buy this item
name 
Name of the buylist entry
not_in_crates 
If the item should show up in surplus crates or not
objective 
For items that only can be purchased when you have a specfic objective. Needs to be a type, e.g. /datum/objective/assassinate
surplus_weight 
How often should this show up in a surplus crate/spy bounty?
telecrystal 
Is this buylist entry for ejecting TC from an uplink?
vr_allowed 
If the item should be allowed to be purchased in the VR murderbox
Proc Details
run_on_spawn
Runs on the purchase of the buylist datum
Arguments:
item
, the item you're expecting
owner
, the person who bought the item
in_surplus_crate
, is TRUE if the item is in a surplus crate, FALSE otherwise.
uplink
, the uplink that bought the item