blackmarket_item

Vars | |
availability_prob | Probability for this item to be available. Used by SSblackmarket on init. |
---|---|
available | Whether the item is visible and purchasable on the market |
category | The category this item belongs to, should be already declared in the market that this item is accessible in. |
desc | Description for the item entry used in the uplink. |
item | Path to or the item itself what this entry is for, this should be set even if you override spawn_item to spawn your item. |
markets | "/datum/blackmarket_market"s that this item should be in, used by SSblackmarket on init. |
name | Name for the item entry used in the uplink. |
pair_item | Should another item spawn alongside this one in the catalogue? |
price | Price for the item, if not set creates a price according to the *_min and *_max vars. |
price_max | Maximum price for the item if generated randomly. |
price_min | Minimum price for the item if generated randomly. |
spawn_weighting | If this item is affected by avalibility weight. For items that shouldnt appear on their own (paired items), should always appear, or items paticularly rare or powerful that we dont want showing up too often |
stock | How many of this type of item is available, if not set creates a price according to the *_min and *_max vars. |
stock_max | Maximum amount that there should be of this item in the market if generated randomly. |
stock_min | Minimum amount that there should be of this item in the market if generated randomly. This defaults to 1 as most items will have it as 1. |
weight | If this item should be more or less likely to spawn than usual. Positive is more likely, negative is less |
Procs | |
buy | Buys the item and makes SSblackmarket handle it. |
spawn_item | Used for spawning the wanted item, override if you need to do something special with the item. |
Var Details
availability_prob

Probability for this item to be available. Used by SSblackmarket on init.
available

Whether the item is visible and purchasable on the market
category

The category this item belongs to, should be already declared in the market that this item is accessible in.
desc

Description for the item entry used in the uplink.
item

Path to or the item itself what this entry is for, this should be set even if you override spawn_item to spawn your item.
markets

"/datum/blackmarket_market"s that this item should be in, used by SSblackmarket on init.
name

Name for the item entry used in the uplink.
pair_item

Should another item spawn alongside this one in the catalogue?
price

Price for the item, if not set creates a price according to the *_min and *_max vars.
price_max

Maximum price for the item if generated randomly.
price_min

Minimum price for the item if generated randomly.
spawn_weighting

If this item is affected by avalibility weight. For items that shouldnt appear on their own (paired items), should always appear, or items paticularly rare or powerful that we dont want showing up too often
stock

How many of this type of item is available, if not set creates a price according to the *_min and *_max vars.
stock_max

Maximum amount that there should be of this item in the market if generated randomly.
stock_min

Minimum amount that there should be of this item in the market if generated randomly. This defaults to 1 as most items will have it as 1.
weight

If this item should be more or less likely to spawn than usual. Positive is more likely, negative is less
Proc Details
buy
Buys the item and makes SSblackmarket handle it.
spawn_item
Used for spawning the wanted item, override if you need to do something special with the item.