Add clock item type with timezone/time-format and emit sound

This commit is contained in:
Jage9
2026-02-21 16:01:40 -05:00
parent b52f9b7862
commit b2c3f75ae3
13 changed files with 218 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ export const GRID_SIZE = 41;
export const HEARING_RADIUS = 15;
export const MOVE_COOLDOWN_MS = 200;
export type ItemType = 'radio_station' | 'dice' | 'wheel';
export type ItemType = 'radio_station' | 'dice' | 'wheel' | 'clock';
export type WorldItem = {
id: string;
@@ -15,7 +15,7 @@ export type WorldItem = {
updatedAt: number;
version: number;
capabilities: string[];
useSound?: string;
emitSound?: string;
params: Record<string, unknown>;
carrierId?: string | null;
};