fix: add 'thirst' to MemoryEvent.need type union
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
shared/dist/types.d.ts
vendored
6
shared/dist/types.d.ts
vendored
@@ -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[];
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user