All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
5.2 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <fieldset class="basics">
  2. {{!-- Category --}}
  3. <div class="form-group">
  4. <label for="{{fieldIdPrefix}}category">{{localize "PF2E.Category"}}</label>
  5. <select name="system.category" id="{{fieldIdPrefix}}category">
  6. {{#select data.category}}
  7. <option value="deity">{{localize "TYPES.Item.deity"}}</option>
  8. <option value="pantheon">{{localize "PF2E.Item.Deity.Category.Pantheon"}}</option>
  9. <option value="philosophy">{{localize "PF2E.Item.Deity.Category.Philosophy"}}</option>
  10. {{/select}}
  11. </select>
  12. <p class="hint">{{localize "PF2E.Item.Deity.Category.Hint"}}</p>
  13. </div>
  14. {{!-- Divine Sanctification --}}
  15. {{#unless (eq item.category "philosophy")}}
  16. <div class="form-group">
  17. <label for="{{fieldIdPrefix}}sanctification">{{localize "PF2E.Item.Deity.Sanctification.Label"}}</label>
  18. <select name="system.sanctification" id="{{fieldIdPrefix}}sanctification" data-dtype="JSON">
  19. {{#select (json data.sanctification)}}
  20. {{#each sanctifications as |sanctification|}}
  21. <option value="{{json sanctification.value}}">{{localize sanctification.label}}</option>
  22. {{/each}}
  23. {{/select}}
  24. </select>
  25. </div>
  26. {{!-- Divine Attribute --}}
  27. <div class="form-group form-group-trait">
  28. <label>{{localize "PF2E.Item.Deity.DivineAttribute.Label"}}</label>
  29. <input type="text" name="system.attribute" value="{{json data.attribute}}" class="pf2e-tagify" data-dtype="JSON" />
  30. <p class="hint">{{localize "PF2E.Item.Deity.DivineAttribute.Hint"}}</p>
  31. </div>
  32. {{!-- Divine Skill --}}
  33. <div class="form-group">
  34. <label for="{{fieldIdPrefix}}skill">{{localize "PF2E.Item.Deity.DivineSkill"}}</label>
  35. <select name="system.skill" id="{{fieldIdPrefix}}skill">
  36. {{#select data.skill}}
  37. <option value=""></option>
  38. {{#each skills as |label key|}}
  39. <option value="{{key}}">{{localize label}}</option>
  40. {{/each}}
  41. {{/select}}
  42. </select>
  43. </div>
  44. {{!-- Favored Weapon --}}
  45. <div class="form-group">
  46. <label>{{localize "PF2E.Item.Deity.FavoredWeapons.Label"}}</label>
  47. <input name="system.weapons" value="{{json data.weapons}}" class="pf2e-tagify" data-dtype="JSON" />
  48. <p class="hint">{{localize "PF2E.Item.Deity.FavoredWeapons.Hint"}}</p>
  49. </div>
  50. {{/unless}}
  51. {{> "systems/pf2e/templates/items/partials/other-tags.hbs"}}
  52. </fieldset>
  53. {{#unless (eq item.category "philosophy")}}
  54. <fieldset>
  55. <legend>Spellcasting</legend>
  56. {{!-- Primary Domains --}}
  57. <div class="form-group">
  58. <label>{{localize "PF2E.Item.Deity.Domains.Primary"}}</label>
  59. <div class="form-fields">
  60. <input name="system.domains.primary" class="pf2e-tagify" value="{{json data.domains.primary}}" data-dtype="JSON" />
  61. </div>
  62. </div>
  63. {{!-- Alternate Domains --}}
  64. <div class="form-group">
  65. <label>{{localize "PF2E.Item.Deity.Domains.Alternate.Label"}}</label>
  66. <div class="form-fields">
  67. <input name="system.domains.alternate" class="pf2e-tagify" value="{{json data.domains.alternate}}" data-dtype="JSON" />
  68. </div>
  69. <p class="hint">{{localize "PF2E.Item.Deity.Domains.Alternate.Hint"}}</p>
  70. </div>
  71. {{!-- Divine Font --}}
  72. <div class="form-group fonts">
  73. <label>{{localize "PF2E.Item.Deity.DivineFont.Label"}}</label>
  74. <div class="form-fields">
  75. {{#each divineFonts as |font|}}
  76. <label for="{{fieldIdPrefix}}font-{{font-value}}">{{font.label}}</label>
  77. <input
  78. type="checkbox"
  79. name="system.font"
  80. id="{{fieldIdPrefix}}font-{{font-value}}"
  81. value="{{font.value}}"
  82. data-dtype="String"
  83. {{checked font.selected}}
  84. />
  85. {{/each}}
  86. </div>
  87. </div>
  88. {{!-- Cleric Spells --}}
  89. <div class="form-group item-ref-group cleric-spells">
  90. <label>{{localize "PF2E.Item.Deity.ClericSpells.Label"}}</label>
  91. <ul class="item-refs{{#if (eq spells.length 0)}} empty{{/if}}">
  92. {{#each spells as |spell|}}
  93. <li data-uuid="{{spell.uuid}}">
  94. <img class="icon" src="{{spell.img}}" />
  95. <a class="name" data-action="view-spell">{{spell.name}}</a>
  96. <input type="number" class="level" value="{{spell.level}}" data-level="{{spell.level}}" data-action="update-spell-level" />
  97. {{#if @root.options.editable}}<a class="remove" data-action="remove-spell"><i class="fa-solid fa-times"></i></a>{{/if}}
  98. </li>
  99. {{/each}}
  100. </ul>
  101. <p class="hint">{{localize "PF2E.Item.Deity.ClericSpells.Hint"}}</p>
  102. </div>
  103. </fieldset>
  104. {{/unless}}