gearSet.dataType
- .metadata244 B
- README.md954 B
- schema.yaml441 B
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).
| 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. |