Inherits: Control
Inherited by: CtrlInventoryStacked
A UI control representing a basic Inventory
. Displays a list of items in the inventory.
inventory_path: NodePath
- Path to anInventory
node.default_item_icon: Texture
- The default icon that will be used for items with noimage
property.inventory: Inventory
- TheInventory
node linked to this control.
get_selected_inventory_item() -> InventoryItem
- Returns the currently selected item.select_inventory_item(item: InventoryItem) -> void
- Selects the given item.deselect_inventory_item() -> void
- Deselects the selected item.
inventory_item_activated(InventoryItem)
- Emitted when anInventoryItem
is activated (i.e. double clicked).