inventory_slot 
Inventory slot datum (singleton) which holds data about an inventory screen element
Vars | |
| 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 |
Procs | |
| 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 |
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