/tg/ Station 13 - Modules - TypesVar Details - Proc Details

contractor_item

Vars

costCost of the item in contract rep.
descDescription of the item datum
itemItem path to spawn, no item path means you need to override handle_purchase()
item_iconfontawesome icon to use inside the hub - https://fontawesome.com/icons
limitedAny number above 0 for how many times it can be bought in a round for a single traitor. -1 is unlimited.
nameName of the item datum

Procs

handle_purchaseSubtract cost, and spawn if it's an item.

Var Details

cost

Cost of the item in contract rep.

desc

Description of the item datum

item

Item path to spawn, no item path means you need to override handle_purchase()

item_icon

fontawesome icon to use inside the hub - https://fontawesome.com/icons

limited

Any number above 0 for how many times it can be bought in a round for a single traitor. -1 is unlimited.

name

Name of the item datum

Proc Details

handle_purchase

Subtract cost, and spawn if it's an item.