fix: add 'thirst' to MemoryEvent.need type union

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-03-10 20:51:10 +00:00
parent 955dd61117
commit 9be78e3f8c
2 changed files with 2 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ export interface MemoryEvent {
detail: string;
oldTier?: string;
newTier?: string;
need?: 'hunger' | 'energy' | 'productivity';
need?: 'hunger' | 'thirst' | 'energy' | 'productivity';
oldGoal?: string;
newGoal?: string;
}
@@ -142,10 +142,6 @@ export interface WorldState {
worldHeight: number;
tileSize: number;
obstacles: Position[];
pointsOfInterest: {
type: 'food';
position: Position;
}[];
terrain: number[];
decorations: number[];
trunkDecorations: number[];

View File

@@ -25,7 +25,7 @@ export interface MemoryEvent {
detail: string;
oldTier?: string;
newTier?: string;
need?: 'hunger' | 'energy' | 'productivity';
need?: 'hunger' | 'thirst' | 'energy' | 'productivity';
oldGoal?: string;
newGoal?: string;
}