godot-inventory-system
Installation
SKILL.md
Inventory System
Slot management, stacking logic, and resource-based items define robust inventory systems.
Available Scripts
inventory_item_resource.gd
Base Resource for all inventory items, allowing for serialized .tres item databases.
item_slot_data.gd
Reactive data structure for a single inventory slot, broadcasting changes to the UI.
inventory_data_resource.gd
Centralized Resource for managing inventory arrays, stacking logic, and empty slot finding.
inventory_ui_controller.gd
Grid-based UI controller that maps InventoryData to visual slots using the "Reactive UI" pattern.