byond - Modules - TypesVar Details - Proc Details

loadout_item

Vars

descItem desc
item_blacklistassoc list by slot of items blacklisted for this to be equipped
item_slotinventory slot it is intended to go into
item_typepathTypepath of the actual item this datum represents
item_whitelistassoc list by slot of items required for this to be equipped. Requires only 1 out of the list
jobs_supportedJob types that this perk is available to
loadout_item_flagsBehavior flags for loadout items
nameItem name
purchase_costCost to use this option
quantityThe amount of this available per mission. -1 for unlimited
req_descAddition desc for special reqs such as black/whitelist
ui_iconUI icon for this item
unlock_costCost to unlock this option

Procs

blacklist_checkChecks if a loadout has any blacklisted items
equip_mandatory_itemEquips a mandatory item when src is equipt for player convenience
item_checksAttempts to add an item to a loadout
on_holder_equipAny additional behavior when this datum is equipped to an outfit_holder
post_equipAny post equip things related to this item
role_post_equipA separate post equip proc for role specific code. Split for more flexible parent overriding
whitelist_checkchecks if a loadout has one or more whitelist items

Var Details

desc

Item desc

item_blacklist

assoc list by slot of items blacklisted for this to be equipped

item_slot

inventory slot it is intended to go into

item_typepath

Typepath of the actual item this datum represents

item_whitelist

assoc list by slot of items required for this to be equipped. Requires only 1 out of the list

jobs_supported

Job types that this perk is available to

loadout_item_flags

Behavior flags for loadout items

name

Item name

purchase_cost

Cost to use this option

quantity

The amount of this available per mission. -1 for unlimited

req_desc

Addition desc for special reqs such as black/whitelist

ui_icon

UI icon for this item

unlock_cost

Cost to unlock this option

Proc Details

blacklist_check

Checks if a loadout has any blacklisted items

equip_mandatory_item

Equips a mandatory item when src is equipt for player convenience

item_checks

Attempts to add an item to a loadout

on_holder_equip

Any additional behavior when this datum is equipped to an outfit_holder

post_equip

Any post equip things related to this item

role_post_equip

A separate post equip proc for role specific code. Split for more flexible parent overriding

whitelist_check

checks if a loadout has one or more whitelist items