9fc5a16ecd
fix: handle ITEM cursor index in restore_cursor and remove duplicate
2026-04-26 22:37:31 -07:00
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
3393db5020
fix: set Frame mouse_filter to PASS so clicks reach inventory slots
2026-04-26 22:25:36 -07:00
221b1e2fd6
fix: set ItemBox mouse_filter to PASS so clicks reach InventorySlot
2026-04-26 22:24:25 -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
fad90a73e9
feat: add example splash item for inventory testing
2026-04-26 22:18:43 -07:00
1cc74d4e59
fix: backpack icon returns to home position when overlay closes
2026-04-26 22:16:47 -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
79f152f161
fix: correct overlay node path in MainGame signal handlers
2026-04-26 21:53:33 -07:00
88b4ce3e14
fix: wire backpack signals to root Node2D instead of HUD CanvasLayer
2026-04-26 21:52:51 -07:00
09b96360f8
fix: wire backpack signals and simplify positioning
...
- Connect overlay_show_requested/overlay_hide_requested signals in Game.tscn
to new handlers in MainGame.gd that call show_overlay()/hide_overlay()
- Simplify backpack to fixed 70x70 position at top-left (layout_mode=0)
- Remove broken anchor overrides from Game.tscn that were anchoring to bottom
2026-04-26 21:51:16 -07:00
374710ce61
fix: bind callbacks before passing to tween_callback, tighten backpack hitbox
...
- Godot 4's CallbackTweener doesn't have .bind() — move .bind() call
inside tween_callback() for 3 callback sites
- Shrink InventoryBackpack Control to 60x60 (offset_right -70) so click
area matches the visible BackpackIcon square
2026-04-26 21:46:55 -07:00
dd4bd87f90
fix: make inventory backpack visible by instancing in Game.tscn and fixing Tween API
...
- Add InventoryBackpack under HUD CanvasLayer (layer 5) in Game.tscn
- Add InventoryOverlay under InventoryOverlayLayer CanvasLayer (layer 10)
- Fix Tween.TRANS_SINE_IN -> .set_trans(TRANS_SINE).set_ease(EASE_IN) in
InventoryBackpack.gd (Godot 4.6 split transition and easing APIs)
2026-04-26 21:46:03 -07:00
56710afc12
chore: update opencode package-lock.json
2026-04-26 21:22:13 -07:00
2f91563096
feat: add untracked inventory files from previous session
...
- ItemDefinition.gd: Resource class with id, name, combination_category
- ItemDefinition.gd.uid: UID cache file
- InventoryManager.gd.uid: UID cache file (script was committed, UID was not)
- inventory-prd.md: Original product requirements document (791 lines)
- docs/plans/2026-04-26-001-feat-inventory-backpack-system-plan.md:
Implementation plan with 6 units and 5 user-directed edits
2026-04-26 21:22:07 -07:00
35c2887011
fix: remove class_name from InventoryManager to avoid autoload name conflict
2026-04-26 21:20:24 -07:00
5b2670f08c
feat: register InventoryManager as AutoLoad singleton
2026-04-26 21:10:47 -07:00
8661fbad15
feat: integrate inventory with cursor system, scene input, and GameScript
...
- ActionState: add ITEM action (value 4) to enum and get_action_name()
- MainGame: right-click cycles through all 5 actions including ITEM;
skips ITEM if nothing selected; clears selection when cycling away
- Scene: guard _unhandled_input() against active inventory overlay;
handle ITEM action for world-wide item use; add give_item(),
remove_item(), strip_items() helper methods
- SetPiece: handle ITEM action by calling scene's _use_item_on_setpiece()
- GameScript: add GiveItem and GiveItemDeferred script step classes
for item acquisition during cutscenes
2026-04-26 21:10:39 -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
1465104b98
merged
2026-04-22 23:04:44 -07:00
5ae9ff1f17
changes
2026-04-22 22:38:53 -07:00
0ec2f52172
interior
2026-04-18 12:32:13 -07:00
18bfeb9bcc
cleans up connections
2026-04-18 12:03:51 -07:00
5f144fb5d7
transition work
2026-04-09 10:32:30 -07:00
5e9fb9251e
line endings
2026-04-08 17:12:23 -07:00
e8982ba4ef
changes
2026-04-08 17:11:03 -07:00
5613ae1d8c
deleting bad
2026-04-08 15:26:56 -07:00
c0db909092
removing problematic files
2026-04-08 15:26:26 -07:00
078caadd0c
Remove .lfsconfig - using per-remote LFS config instead
2026-04-07 17:21:42 -07:00
baf18dcb5f
changes
2026-04-07 10:50:55 -07:00
6a64717c9d
changes
2026-04-05 23:11:56 -07:00
351af5ad47
Update room backgrounds to high-res caption images and fix scaling
2026-04-05 08:22:25 -07:00
7b5ce2e4a5
changes
2026-04-05 08:02:34 -07:00
13519580c7
update kq4_084_cottage_front to extend Scene
2026-04-05 00:49:43 -07:00
8a4fc4e81b
update kq4_083_castle_dungeon_cell to extend Scene
2026-04-05 00:49:16 -07:00
a61c6777a0
update kq4_082_lolottes_tower_bedroom to extend Scene
2026-04-05 00:48:49 -07:00
062d18bde1
update kq4_081_edgars_tower_bedroom to extend Scene
2026-04-05 00:48:27 -07:00
37b41caf7a
update kq4_079_mountain_path_to_dark_castle to extend Scene
2026-04-04 22:09:52 -07:00
191ae85723
update kq4_078_swamp_island to extend Scene
2026-04-04 22:09:23 -07:00
c7e69321ca
update kq4_077_swamp to extend Scene
2026-04-04 22:08:55 -07:00
e0ac4a4a55
update kq4_076_dark_chasm to extend Scene
2026-04-04 22:08:25 -07:00
158ae4f531
update kq4_075_troll_cave_passage to extend Scene
2026-04-04 22:07:53 -07:00
c55861349b
update kq4_074_troll_cave to extend Scene
2026-04-04 22:07:18 -07:00
12b3246c6e
update kq4_073_cave_exit to extend Scene
2026-04-04 22:06:50 -07:00