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.

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