typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
16 lines (15 loc) • 477 B
TypeScript
export type StoneKey = "stoneofgold" | "stoneofluck" | "stoneofxp";
export interface GStone {
days: number;
explanation: string;
/** Cost of the item in gold, if an NPC were to sell this item. */
g: number;
ignore: boolean;
/** The full display name of an item. */
name: string;
/** The skin of the item. */
skin: StoneKey;
skin_a: string;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "stone";
}