From 1cb0570a49b2505ebcdbdf3cd99ca092812f8a26 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Mar 2026 20:46:43 +0000 Subject: [PATCH] feat: show thirst and productivity bars on NPC status tab Co-Authored-By: Claude Opus 4.6 --- client/src/ui/NpcInfoPanel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/ui/NpcInfoPanel.ts b/client/src/ui/NpcInfoPanel.ts index 5932afe..a121e99 100644 --- a/client/src/ui/NpcInfoPanel.ts +++ b/client/src/ui/NpcInfoPanel.ts @@ -513,9 +513,11 @@ export class NpcInfoPanel { this.updateInventory(entity.inventory); } - updateNeeds(needs: { hunger: number; energy: number }): void { + updateNeeds(needs: { hunger: number; thirst: number; energy: number; productivity: number }): void { this.setNeedBar('Hunger', needs.hunger); + this.setNeedBar('Thirst', needs.thirst); this.setNeedBar('Energy', needs.energy); + this.setNeedBar('Productivity', needs.productivity); } private updateInventory(inventory?: Record): void {