Commit Graph

10 Commits

Author SHA1 Message Date
2cdbafe3bd fix: wire item_confirmed signal and set item cursor icon 2026-04-26 22:35:07 -07:00
b87c574b76 fix: set Background to MOUSE_FILTER_PASS so clicks reach panel children 2026-04-26 22:29:51 -07:00
f291f4bc25 fix: restore show_overlay and hide_overlay bodies (edit merged them) 2026-04-26 22:28:40 -07:00
4fa09e6769 debug: add logging to inventory overlay and backpack for click debugging 2026-04-26 22:26:22 -07:00
d98f0bb349 fix: single-click selects item and closes overlay 2026-04-26 22:23:31 -07:00
07e73ef741 fix: add slot to grid before calling set_item so @onready nodes exist 2026-04-26 22:21:54 -07:00
61a9649ec9 fix: refresh inventory grid when overlay opens 2026-04-26 22:20:19 -07:00
82c5aa0bfa fix: connect Background gui_input to close overlay on outside click 2026-04-26 22:04:43 -07:00
652d1e5fdc fix: clicking outside inventory panel closes overlay 2026-04-26 21:54:11 -07:00
975b51a2b5 feat: implement InventoryBackpack FSM and InventoryOverlay
- InventoryBackpack: Control-based FSM with IDLE/OPEN/SELECTED/ACQUIRE/REMOVE
  states, Tween-based animations, guard condition checks, signal connections
  to InventoryManager for item_acquired/item_removed reactions
- InventoryOverlay: Full-screen overlay with fade-in/out, item grid via
  GridContainer, drag-and-drop item selection, combination via drag-to-slot,
  hover labels, right-click inspect
- InventorySlot: Individual slot with colored box placeholder, hover highlight,
  click/right-click/hover signals
2026-04-26 21:09:50 -07:00