typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
15 lines (14 loc) • 450 B
TypeScript
export type ComputerKey = "computer" | "supercomputer";
export interface GComputer {
explanation: string;
/** Cost of the item in gold, if an NPC were to sell this item. */
g: number;
/** The full display name of an item. */
name: string;
/** The skin of the item. */
skin: string;
special: boolean;
stand: string;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "computer";
}