gearSet.dataType
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 mod…
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).
| Field | Meaning |
|---|---|
id | Stable id; a piece names it in its set field. |
name, nameScifi | The set's name in each naming theme. |
color | The set colour on cards (default green). |
pieces | The gearUnique ids of its pieces, in tooltip order. |
bonuses | A list of { count, stat, value }: value of stat while count or more pieces are worn. |
Scoped to this part · feeds back into the world's score.