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

inventory_slot

Inventory slot datum (singleton) which holds data about an inventory screen element

Vars

icon_fullIcon state of the element when it has an item in it
icon_stateIcon state of the element with nothing in it/unassigned icon_full
inherit_styleShould the slot inherit HUD's ui_style?
nameName assigned to the screen element
screen_groupScreen group to which the element is assigned
screen_locLocation of the element
screen_typeTypepath of the screen element
slot_idSlot ID of the element

Procs

get_screen_slotReturns a screen object for this slot for a particular hud datum
get_slot_itemReturns the item held in this slot by hud's mymob
update_inventory_slotUpdate inventory slot visuals
update_slot_icon_contentsUpdates the slot icon and its contents

Var Details

icon_full

Icon state of the element when it has an item in it

icon_state

Icon state of the element with nothing in it/unassigned icon_full

inherit_style

Should the slot inherit HUD's ui_style?

name

Name assigned to the screen element

screen_group

Screen group to which the element is assigned

screen_loc

Location of the element

screen_type

Typepath of the screen element

slot_id

Slot ID of the element

Proc Details

get_screen_slot

Returns a screen object for this slot for a particular hud datum

get_slot_item

Returns the item held in this slot by hud's mymob

update_inventory_slot

Update inventory slot visuals

update_slot_icon_contents

Updates the slot icon and its contents