typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
19 lines (18 loc) • 603 B
TypeScript
import type { MonsterKey } from "../monsters/Monsters";
import type { QuestKey } from "./Quest";
export type ChrysalisKey = "chrysalis0" | "kitty1" | "puppy1";
export interface GChrysalis {
a: boolean;
explanation?: string;
/** Cost of the item in gold, if an NPC were to sell this item. */
g: number;
grade: number;
ignore: boolean;
monster: MonsterKey;
/** The full display name of an item. */
name: string;
/** The skin of the item. */
skin: QuestKey;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "chrysalis";
}