market_purchase ![code/modules/cargo/markets/market_item.dm 122](git.png)
Vars | |
entry | The entry being purchased. |
---|---|
item | Instance of the item being sent, used by the market telepad |
legallity | Is this item considered contraband? If illegal, applies the contraband trait to the item when spawned. |
method | Shipping method used to buy this item. |
uplink | The uplink where this purchase was done from. |
Procs | |
post_purchase_effects | Proc that applies secondary effects to objects that are spawned via a market. |
Var Details
entry ![code/modules/cargo/markets/market_item.dm 124](git.png)
The entry being purchased.
item ![code/modules/cargo/markets/market_item.dm 126](git.png)
Instance of the item being sent, used by the market telepad
legallity ![code/modules/cargo/markets/market_item.dm 134](git.png)
Is this item considered contraband? If illegal, applies the contraband trait to the item when spawned.
method ![code/modules/cargo/markets/market_item.dm 130](git.png)
Shipping method used to buy this item.
uplink ![code/modules/cargo/markets/market_item.dm 128](git.png)
The uplink where this purchase was done from.
Proc Details
post_purchase_effects
Proc that applies secondary effects to objects that are spawned via a market.
@param spawned_item - Reference to the atom being spawned. @param legal_status - Is this item considered legal? If illegal, will apply the contraband trait to the spawned item.