typed-adventureland
Version:
Strong TypeScript declarations for the game AdventureLand
18 lines (17 loc) • 932 B
TypeScript
export type StatScrollKey = "apiercingscroll" | "armorscroll" | "critscroll" | "dexscroll" | "dreturnscroll" | "evasionscroll" | "forscroll" | "frequencyscroll" | "goldscroll" | "intscroll" | "lifestealscroll" | "luckscroll" | "manastealscroll" | "mpcostscroll" | "outputscroll" | "reflectionscroll" | "resistancescroll" | "rpiercingscroll" | "speedscroll" | "strscroll" | "vitscroll" | "xpscroll";
export interface GStatScroll {
evasion?: number;
explanation: string;
/** Cost of the item in gold, if an NPC were to sell this item. */
g: number;
multiplier?: 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: StatScrollKey;
stat: string;
/** The type of item, `shield`, `weapon`, `gloves`... */
type: "pscroll";
}