Назад
Daggerheart items
system: dh · type: items
Поля
- titleobjectобязательноеAt least one language must be non-empty
- enstring
- rustring
- descriptionobject
- enstring
- rustring
- typestringItem category, e.g. "consumable"
- subtypestring
- rarearray<integer>Loot-list membership flags, one per rarity in order [common, uncommon, rare, legendary] (tiers 1-4). Use 1 = the item is in that rarity's loot list, 0 = not. [0,0,0,0] = in no list (trinket, hand-out only). See guide://dh-equipment
- optionsobject
- isStartItemboolean
- startingGroupinteger
- sourcestring
- imgstring
- mechanicsarray<object>Mechanics of this record itself. Types: add, set, res, craft, dice, pool, text, entity, list. On update, the array replaces all of the record's own mechanics ([] removes them); omit it to keep them. Mechanics work only while the card is in the loadout; add/set/dice with config.vault = true also work while a card sits in the vault.Формат вложенных механик
- typestringобязательноеОдно из: add, set, res, craft, dice, pool, text, entity, list
- levelintegerDefaults to 1
- configobjectобязательноеСостав полей config зависит от значения type. Поля каждого типа перечислены на странице «Механики».Формат вложенных механик
Пример
Файл с одной заполненной записью типа items:
[
{
"system": "dh",
"type": "items",
"data": [
{
"title": {}
}
]
}
]