feat: add spawn-npc event type and MAX_NPC_COUNT constant
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -58,3 +58,6 @@ export const PAUSING_DURATION = 15; // ticks (1.5s)
|
||||
export const EMOTING_DURATION = 20; // ticks (2s)
|
||||
export const SOCIAL_GLOBAL_COOLDOWN = 50; // ticks (5s)
|
||||
export const SOCIAL_PAIR_COOLDOWN = 300; // ticks (30s)
|
||||
|
||||
// Camera mode commands
|
||||
export const MAX_NPC_COUNT = 50;
|
||||
|
||||
@@ -117,4 +117,5 @@ export interface ServerEvents {
|
||||
// Client -> Server events
|
||||
export interface ClientEvents {
|
||||
'player-input': (data: PlayerInput) => void;
|
||||
'spawn-npc': (data: { x: number; y: number }) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user