UNPKG

typed-adventureland

Version:
20 lines (19 loc) 1.34 kB
export type MaterialKey = "ascale" | "bandages" | "bcandle" | "beewings" | "bfang" | "bfur" | "bronzeingot" | "bronzenugget" | "brownegg" | "btusk" | "bwing" | "carrot" | "cocoon" | "crabclaw" | "cscale" | "cshell" | "drapes" | "dstones" | "ectoplasm" | "electronics" | "emptyheart" | "essenceofether" | "essenceoffire" | "essenceoffrost" | "essenceofgreed" | "essenceoflife" | "essenceofnature" | "feather0" | "feather1" | "frogt" | "goldingot" | "goldnugget" | "gslime" | "ijx" | "ink" | "lotusf" | "lspores" | "mbones" | "networkcard" | "nheart" | "platinumingot" | "platinumnugget" | "pleather" | "pstem" | "rattail" | "rfangs" | "rfur" | "smush" | "snakefang" | "spidersilk" | "spores" | "sstinger" | "svenom" | "trinkets" | "tshell" | "watercore" | "whiteegg"; export interface GMaterial { action?: string; event?: boolean; 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; offering?: number; onclick?: string; /** Indicates how many of this items you can stack. Set if the item is stackable. */ s: number; /** The skin of the item. */ skin: MaterialKey; throw?: boolean; /** The type of item, `shield`, `weapon`, `gloves`... */ type: "material"; }