Перейти к содержимому
Назад

Daggerheart card features

system: dh · type: features

Поля

  • titleobject
    • enstring
    • rustring
  • descriptionobject
    • enstring
    • rustring
  • typestring
  • tierinteger
  • 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
    • levelinteger
      Defaults to 1
    • configobjectобязательное
      Состав полей config зависит от значения type. Поля каждого типа перечислены на странице «Механики».
      Формат вложенных механик

Пример

Файл с одной заполненной записью типа features:
[
  {
    "system": "dh",
    "type": "features",
    "data": [
      {
        "mechanics": [
          {
            "type": "add",
            "config": {}
          }
        ]
      }
    ]
  }
]