UNPKG

typed-adventureland

Version:
46 lines (45 loc) 1.77 kB
import type { ConditionKey } from "../conditions/Conditions"; import type { SetKey } from "../sets/Sets"; export type ElixirKey = "ale" | "blue" | "bunnyelixir" | "cake" | "candypop" | "eggnog" | "elixirdex0" | "elixirdex1" | "elixirdex2" | "elixirfires" | "elixirfzres" | "elixirint0" | "elixirint1" | "elixirint2" | "elixirluck" | "elixirpnres" | "elixirstr0" | "elixirstr1" | "elixirstr2" | "elixirvit0" | "elixirvit1" | "elixirvit2" | "espresso" | "greenbomb" | "gum" | "hotchocolate" | "pico" | "pumpkinspice" | "swirlipop" | "vblood" | "whiskey" | "wine" | "xshot"; export interface GElixir { a?: boolean; apiercing?: number; armor?: number; crit?: number; dex?: number; duration: number; /** Refers to how many items are needed to exchange (see .quest as well!) */ e?: number; eat?: boolean; evasion?: number; explanation?: string; firesistance?: number; fzresistance?: number; /** Cost of the item in gold, if an NPC were to sell this item. */ g: number; hp?: number; int?: number; lifesteal?: number; luck?: number; miss?: number; mp?: number; /** The full display name of an item. */ name: string; pnresistance?: number; reflection?: number; resistance?: number; rpiercing?: number; /** Indicates how many of this items you can stack. Set if the item is stackable. */ s: number; /** The set this item is part of `G.sets.wanderers`. */ set?: SetKey; /** The skin of the item. */ skin: ElixirKey; skin_a: ElixirKey; speed?: number; str?: number; /** The type of item, `shield`, `weapon`, `gloves`... */ type: "elixir"; vit?: number; withdrawal?: ConditionKey; }