UNPKG

typed-adventureland

Version:
19 lines (18 loc) 647 B
export type UpgradeScrollKey = "scroll0" | "scroll1" | "scroll2" | "scroll3" | "scroll4"; export interface GUpgradeScroll { a?: boolean; exclusive?: boolean; explanation: string; /** Cost of the item in gold, if an NPC were to sell this item. */ g: number; grade: number; markup?: number; /** The full display name of an item. */ name: string; /** Indicates how many of this items you can stack. Set if the item is stackable. */ s: number; /** The skin of the item. */ skin: UpgradeScrollKey; /** The type of item, `shield`, `weapon`, `gloves`... */ type: "uscroll"; }