Log inGet started
Package

gearStatsKit.package

This package holds more than this page lists. See all of its files in its world.

README.md

gearUnique (dataType contract)

A fixed-stat item: a named unique ("Doomwhisper") or a piece of an item set. Its stats never roll: every copy carries exactly the lines in stats, at the item level in level. Its item id is gu-<id>, and like a rolled id it rebuilds the same item on every engine. Every .data asset bound to gearStatsKit.gearUnique anywhere in a world is found by itself (or Gear.defineUnique(raw) from code). Loot tables drop uniques on legendary rolls (uniqueChance) and set pieces on epic or legendary rolls (setChance) from tier minTier up.

FieldMeaning
idStable id (letters, digits, _). The item id is gu-<id>.
name, nameScifiThe item's name in each naming theme.
baseThe gearStatsKit base it is made on (sword, ring, ...): slot, kind, icon and model come from it.
rarityIts rarity colour (default legendary).
levelIts fixed item level.
setThe id of the gearSet it belongs to, or empty for a unique.
minTierThe lowest loot tier (1 to 4) that can drop it.
weightHow often it is picked among the uniques a drop allows.
flavorA line of flavour text for the tooltip.
statsThe fixed lines: a list of { stat, value } (any gearStatsKit stat).