Log inGet started
Package

gearStatsKit.package

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

README.md

gearSet (dataType contract)

An item set: a list of gearUnique pieces and the bonuses for wearing several of them at once. Each bonus line has a count: it is on while at least that many different pieces of the set are equipped, and off the moment a piece comes off. Bonuses are applied as abilitiesKit modifiers together with the items' own stats, and the tooltip of a set piece lists every piece (worn ones lit) and every bonus (inactive ones greyed). Every .data asset bound to gearStatsKit.gearSet is found by itself (or Gear.defineSet(raw) from code).

FieldMeaning
idStable id; a piece names it in its set field.
name, nameScifiThe set's name in each naming theme.
colorThe set colour on cards (default green).
piecesThe gearUnique ids of its pieces, in tooltip order.
bonusesA list of { count, stat, value }: value of stat while count or more pieces are worn.