UNPKG

typed-adventureland

Version:
31 lines (30 loc) 991 B
export type BoosterKey = "goldbooster" | "luckbooster" | "xpbooster"; export interface GBooster { /** Contains information about what stats the item will gain with each compound level. Set if the item is compoundable. */ compound: { gold?: number; luck?: number; xp?: number; }; days: number; explanation: string; /** Cost of the item in gold, if an NPC were to sell this item. */ g: number; gain: string; gold?: number; /** The first number refers to what level the item begins being `high` grade, the second for `rare`. */ grades: [number, number, number, number]; legacy?: { gold?: number; luck?: number; }; luck?: number; /** The full display name of an item. */ name: string; /** The skin of the item. */ skin: BoosterKey; skin_a: string; /** The type of item, `shield`, `weapon`, `gloves`... */ type: "booster"; xp?: number; }