Commit Graph

15 Commits

Author SHA1 Message Date
291d911a50 fix: handle ITEM cursor index in restore_cursor and remove duplicate 2026-04-27 07:49:59 -07:00
67c91a37b0 fix: wire item_confirmed signal and set item cursor icon 2026-04-27 07:49:59 -07:00
b3bad1d0e6 fix: correct overlay node path in MainGame signal handlers 2026-04-27 07:49:58 -07:00
378bcdda47 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-27 07:49:58 -07:00
fb8798a4ae 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-27 07:47:45 -07:00
e8982ba4ef changes 2026-04-08 17:11:03 -07:00
6a64717c9d changes 2026-04-05 23:11:56 -07:00
7b5ce2e4a5 changes 2026-04-05 08:02:34 -07:00
7203c843ec progresS 2026-03-09 11:57:48 -07:00
a4cc5e8f5f progress 2026-03-04 11:07:13 -08:00
ae16ae01b2 Better screen 2024-07-10 23:59:07 -07:00
8b5841e861 Makes lots of new screens 2024-07-01 08:24:25 -07:00
559f479db4 Removing stray images, small cleanups. 2024-06-25 06:51:53 -07:00
dda5321ec8 Stuff 2024-06-10 16:53:55 -07:00
242d74b0a7 initial 2024-05-29 13:26:31 -07:00