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

5e items

system: 5e · type: items

Поля

  • titleobjectобязательное
    At least one language must be non-empty
    • enstring
    • rustring
  • descriptionobject
    • enstring
    • rustring
  • typestringобязательное
    Одно из: gear, weapon, armor, shield, potion, scroll, wondrous, ring, rod, staff, wand, ammunition, tool, mount, vehicle, trade_good, treasure, trinket, coin, consumable, container, holy_symbol, arcane_focus, druidic_focus, poison
  • subtypestring
  • raritystring
    Одно из: common, uncommon, rare, veryrare, legendary, artifact
  • weightnumber
    min 0
  • valueinteger
    min 0
  • magicalboolean
  • attunementboolean
  • propertiesarray<string>
  • mechanicsarray<object>
    Mechanics in the portable nested shape; written through 5eMechanics.service
    Формат вложенных механик
    • typestringобязательное
      Одно из: ability, advantage, attack, bonus, proficiency, weapon, properties, resistances, resource, restore, save, spells
    • levelinteger
      min 1
    • configobjectобязательное
      Состав полей config зависит от значения type. Поля каждого типа перечислены на странице «Механики».
      Формат вложенных механик
  • sourcestring
    Optional free-text sourcebook key, not validated against the sources content type - see its search results for known keys

Пример

Файл с одной заполненной записью типа items:
[
  {
    "system": "5e",
    "type": "items",
    "data": [
      {
        "title": {},
        "type": "gear"
      }
    ]
  }
]