🐛 fix Nisse stuck idle after stockpile deposit; rename Villager → Nisse in UI
This commit is contained in:
@@ -8,12 +8,18 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- Nisse no longer get stuck idle after depositing items at the stockpile
|
||||
- Working Nisse now reset to idle on game load (like walking ones), preventing stale AI state
|
||||
- Stale jobs with empty carry are now cleared after work completes, avoiding a false "haul to stockpile" loop
|
||||
- UI elements (stockpile panel, controls hint) now reposition correctly after window resize
|
||||
- Centered overlay panels (build menu, villager panel) close on resize so they reopen at the correct position
|
||||
- Mouse world coordinates now use `ptr.worldX`/`ptr.worldY` in BuildingSystem and FarmingSystem, fixing misalignment after resize or zoom
|
||||
|
||||
### Changed
|
||||
- Villagers are now called **Nisse** throughout the UI (panel, controls hint, stockpile display, context menu, spawn message)
|
||||
|
||||
### Added
|
||||
- Right-click context menu: suppresses browser default, shows Build and Folks actions in the game world
|
||||
- Right-click context menu: suppresses browser default, shows Build and Nisse actions in the game world
|
||||
- Initial project setup: Phaser 3 + TypeScript + Vite
|
||||
- Core scenes: `BootScene`, `GameScene`, `UIScene`
|
||||
- Systems: `BuildingSystem`, `CameraSystem`, `FarmingSystem`, `PlayerSystem`,
|
||||
|
||||
Reference in New Issue
Block a user