Skip to content

ShopItem

ShopItem = object

readonly category: string


readonly coins: boolean

cost is in ACs rather than gold.


readonly cost: number


readonly description: string


readonly faction: { id: number; name: string; rep: number; } | null

Reputation needed with a faction, in the same units as Faction.rep.


readonly itemId: number


readonly level: number


readonly maxStack: number


readonly member: boolean


readonly name: string


readonly quantity: number

How many one purchase gives.


readonly requirements: readonly ItemCount[]

Items a merge shop takes for each purchase.


readonly shopItemId: number