typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
16 lines (15 loc) • 582 B
TypeScript
export type DungeonKeyKey = "cryptkey" | "frozenkey" | "spiderkey" | "stonekey" | "tombkey";
export interface GDungeonKey {
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;
opens: string;
/** Indicates how many of this items you can stack. Set if the item is stackable. */
s: number;
/** The skin of the item. */
skin: DungeonKeyKey;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "dungeon_key";
}