Click on Nisse to open info panel with work log #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
A left-click on a Nisse sprite opens a small floating panel showing details about that Nisse and a scrollable log of their recent activity.
Info panel content
Work log entries (examples)
Chopped a tree (+2 wood)Delivered wood to stockpileWalking to tree at (12, 34)Sleeping (energy: 18 → 100)No jobs available — waitingOpen questions
Notes
setInteractive()inVillagerSystemUIScene(or a new overlay), consistent with existing overlay styleVillagerSystemruntime data (VillagerRuntime)How many log entries to keep per Nisse? (suggestion: 20)
-> Yes.
Panel position: at click position, or fixed corner?
-> Fixed, top left.
Close behaviour: click outside / ESC / X button?
-> Implement all for now.
Should multiple panels be openable at once, or only one at a time?
-> Just one. If clicked on an other Nisse his data should show up.