export type RespawnStyle = 'shore' | 'barrel' | 'grave' | 'hero' | 'snow'; export declare const RESPAWN_STYLES: readonly RespawnStyle[]; export type RespawnPointId = 'hope-beach' | 'hope-town' | 'calverton' | 'capital' | 'millbrook'; /** Where a new character, and anyone whose saved place is unknown, wakes. Free, and the Gravekeepers will always send you back. */ export declare const DEFAULT_RESPAWN_POINT: RespawnPointId; export type RespawnKeeper = { /** The NPC's stable id. */ id: string; name: string; x: number; z: number; faceX: number; faceZ: number; /** How far the Gravekeeper wanders from the post (tiles). */ leash: number; }; export type RespawnPoint = { id: RespawnPointId; /** The place as the player reads it: "Hope Town". */ city: string; style: RespawnStyle; /** Coins to rest here. */ price: number; /** Where you wake (the server settles it onto the nearest standable tile). The beach's is chosen by the server (map.ts defeatRespawn). */ spawn: { x: number; z: number; } | null; /** The Gravekeeper who sets the place; the beach has none. */ keeper: RespawnKeeper | null; /** One line of the place for the dialog and the "you will wake" notice: where, in words. */ where: string; /** What the Gravekeeper says when spoken to. */ greet: string; }; export declare const RESPAWN_POINTS: readonly RespawnPoint[]; export declare function isRespawnPointId(id: unknown): id is RespawnPointId; /** A saved or client-sent value turned into a real place: anything unknown is the beach. */ export declare function normalizeRespawnPoint(raw: unknown): RespawnPointId; export declare function respawnPointById(id: unknown): RespawnPoint; /** The place a Gravekeeper (by name) sets, or undefined if the name is nobody's. */ export declare function respawnPointOfKeeperName(name: unknown): RespawnPoint | undefined; /** The NpcKind every Gravekeeper shares; the dialog and the post come from the name. */ export declare const GRAVEKEEPER_KIND = "gravekeeper"; /** The Gravekeeper's dialog actions (npc_action). 'speak' is the usual greeting. */ export declare const RESPAWN_SET_ACTION = "respawn-set"; export declare const RESPAWN_BEACH_ACTION = "respawn-beach"; export declare function isRespawnAction(action: unknown): action is typeof RESPAWN_SET_ACTION | typeof RESPAWN_BEACH_ACTION; /** The button for resting at a place: the price is on it ("Rest here (400 coins)"). */ export declare function respawnSetLabel(point: RespawnPoint): string; export declare const RESPAWN_BEACH_LABEL = "Send me back to the beach (free)"; export declare function respawnSetNotice(point: RespawnPoint): string; export declare function respawnAlreadyText(point: RespawnPoint): string; export declare function respawnShortText(point: RespawnPoint): string; export declare const RESPAWN_BUSY_TEXT = "Not in the middle of a fight. Finish it, then come and see me."; export declare function respawnSpeakSuffix(current: RespawnPoint): string; //# sourceMappingURL=respawnPoints.d.ts.map