🐛 Fix resize, Nisse idle bug + rename Villager → Nisse #4

Merged
tekki merged 4 commits from feature/resize-fix into master 2026-03-20 18:58:42 +00:00
Collaborator

Closes #3
Closes #8

Resize fix (#3)

  • Stockpile panel (top-right) repositions correctly with all child elements
  • Controls hint text (bottom-left) repositions correctly
  • Build menu, villager panel and context menu close on resize so they reopen centered
  • ptr.worldX/ptr.worldY in BuildingSystem and FarmingSystem — fixes mouse coords after resize or zoom

Nisse idle bug + tile fix (#8)

  • FOREST/ROCK tile is cleared to DARK_GRASS/GRASS after a Nisse harvests — opens paths to deeper resources (this was the root cause of Nisse stopping after 2 trees)
  • working state now resets to idle on game load (like walking)
  • Stale jobs with empty carry are cleared after work completes
  • idleScanTimer reset to 0 after stockpile deposit

Rename Villager → Nisse (#8)

  • All user-visible labels updated: panel title, controls hint, stockpile display, context menu button, spawn message
Closes #3 Closes #8 ## Resize fix (#3) - Stockpile panel (top-right) repositions correctly with all child elements - Controls hint text (bottom-left) repositions correctly - Build menu, villager panel and context menu close on resize so they reopen centered - `ptr.worldX`/`ptr.worldY` in BuildingSystem and FarmingSystem — fixes mouse coords after resize or zoom ## Nisse idle bug + tile fix (#8) - `FOREST`/`ROCK` tile is cleared to `DARK_GRASS`/`GRASS` after a Nisse harvests — opens paths to deeper resources (this was the root cause of Nisse stopping after 2 trees) - `working` state now resets to `idle` on game load (like `walking`) - Stale jobs with empty carry are cleared after work completes - `idleScanTimer` reset to 0 after stockpile deposit ## Rename Villager → Nisse (#8) - All user-visible labels updated: panel title, controls hint, stockpile display, context menu button, spawn message
claude added 1 commit 2026-03-20 12:20:36 +00:00
claude added 1 commit 2026-03-20 17:07:41 +00:00
claude changed title from 🐛 Fix UI repositioning and mouse coords after resize to 🐛 Fix resize, Nisse idle bug + rename Villager → Nisse 2026-03-20 17:07:58 +00:00
claude added 1 commit 2026-03-20 17:39:30 +00:00
claude added 1 commit 2026-03-20 18:55:17 +00:00
tekki approved these changes 2026-03-20 18:58:20 +00:00
tekki merged commit 2c949cc19e into master 2026-03-20 18:58:42 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tekki/nissefolk#4
No description provided.