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

Daggerheart domain cards

system: dh · type: cards

Поля

  • titleobject
    • enstring
    • rustring
  • descriptionobject
    • enstring
    • rustring
  • levelinteger
  • domain_idinteger
  • typestring
    Card type. "subclass" is not accepted: subclass tier cards (foundation/specialization/mastery) are created through dh-subclasses; on such a card type, subtype and title are set by its subclass and cannot be changed here (description, features, mechanics, img, stress can). "ancestry" and "community" are not accepted either: those cards are managed through dh-ancestries / dh-communities / dh-transformations. This content type covers domain cards only
  • subtypestring
  • stressinteger
  • 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
    • levelinteger
      Defaults to 1
    • configobjectобязательное
      Состав полей config зависит от значения type. Поля каждого типа перечислены на странице «Механики».
      Формат вложенных механик
  • featuresarray<object>
    Named abilities of this record. Each entry is either { "feature_id": <id> } for a feature YOU own, or an inline dh-features item (title, description, type, tier, mechanics) that creates a new feature owned by you. Put a mechanic in the entity's own `mechanics` when it is an unnamed effect of the entity itself (e.g. armor that adds +1 evasion, a potion that is a craft recipe). When the effect is a named ability with its own description text - something the player sees as a separate block (e.g. "Reliable", "Heavy") - create it as a feature (inline in `features`) and put the mechanics on that feature.
    Как привязываются фичи

Пример

Файл с одной заполненной записью типа cards:
[
  {
    "system": "dh",
    "type": "cards",
    "data": [
      {
        "type": "example type",
        "source": "example source",
        "img": "example img"
      }
    ]
  }
]