typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
17 lines (16 loc) • 476 B
TypeScript
export type TrackerKey = "tracker";
export interface GTracker {
acolor: string;
action: string;
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;
onclick: string;
/** The skin of the item. */
skin: TrackerKey;
special: boolean;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "tracker";
}