UNPKG

typed-adventureland

Version:
65 lines (64 loc) 2.08 kB
import type { SetKey } from "../sets/Sets"; export type OrbKey = "charmer" | "ftrinket" | "jacko" | "orba" | "orbg" | "orbofdex" | "orboffire" | "orboffrost" | "orbofint" | "orbofplague" | "orbofresolve" | "orbofsc" | "orbofstr" | "orbofvit" | "rabbitsfoot" | "talkingskull" | "test_orb" | "test2" | "tigerstone" | "vorb"; export interface GOrb { a?: boolean; ability?: string; armor?: number; attr0?: number; /** Contains information about what stats the item will gain with each compound level. Set if the item is compoundable. */ compound?: { armor?: number; attr0?: number; courage?: number; dex?: number; firesistance?: number; fzresistance?: number; int?: number; luck?: number; mp?: number; phresistance?: number; pnresistance?: number; rpiercing?: number; speed?: number; str?: number; vit?: number; xp?: number; }; courage?: number; critdamage?: number; cx?: { scale: number; }; dex?: number; edge?: number; event?: boolean; explanation?: string; firesistance?: number; for?: number; fzresistance?: number; /** Cost of the item in gold, if an NPC were to sell this item. */ g: number; /** The first number refers to what level the item begins being `high` grade, the second for `rare`. */ grades?: [number, number, number, number]; ignore?: boolean; int?: number; luck?: number; manasteal?: number; mp?: number; /** The full display name of an item. */ name: string; pcourage?: number; phresistance?: number; pnresistance?: number; rpiercing?: number; /** The set this item is part of `G.sets.wanderers`. */ set?: SetKey; /** The skin of the item. */ skin: string; speed?: number; str?: number; /** The type of item, `shield`, `weapon`, `gloves`... */ type: "orb"; vit?: number; xp?: number; }