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.

93 lines
3.7 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. {{#each data.boosts as |boost idx|}}
  2. <div class="form-group form-group-trait">
  3. <label class="pf-title">
  4. {{localize "PF2E.AbilityBoost"}}
  5. <a class="tag-selector" data-tag-selector="basic" data-title="PF2E.AbilityBoost" data-config-types="abilities" data-property="system.boosts.{{idx}}" data-no-custom="true"><i class="fas fa-edit"></i></a>
  6. </label>
  7. <ul class="abc-traits-list">
  8. {{#each (lookup ../selectedBoosts idx) as |v k|}}
  9. <span class="tag-legacy {{k}}">{{localize v}}</span>
  10. {{/each}}
  11. </ul>
  12. </div>
  13. {{/each}}
  14. {{#each data.flaws as |flaw idx|}}
  15. <div class="form-group form-group-trait">
  16. <label class="pf-title">
  17. {{localize "PF2E.AbilityFlaw"}}
  18. <a class="tag-selector" data-tag-selector="basic" data-title="PF2E.AbilityFlaw" data-config-types="abilities" data-property="system.flaws.{{idx}}" data-no-custom="true"><i class="fas fa-edit"></i></a>
  19. </label>
  20. {{lookup selectedFlaws @idx}}
  21. <ul class="abc-traits-list">
  22. {{#each (lookup ../selectedFlaws idx) as |v k|}}
  23. <span class="tag-legacy {{k}}">{{localize v}}</span>
  24. {{/each}}
  25. </ul>
  26. </div>
  27. {{/each}}
  28. <div class="form-group form-group-trait">
  29. <label class="pf-title">
  30. {{localize "PF2E.Languages"}}
  31. <a class="tag-selector" data-tag-selector="basic" data-title="PF2E.Languages" data-config-types="languages" data-property="system.languages"><i class="fas fa-edit"></i></a>
  32. </label>
  33. <ul class="abc-traits-list">
  34. {{#each languages}}
  35. {{#if this.selected}}
  36. <span class="tag-legacy {{@key}}">
  37. {{localize this.label}}
  38. </span>
  39. {{/if}}
  40. {{/each}}
  41. </ul>
  42. </div>
  43. <div class="form-group additional-language">
  44. <label class="pf-title">
  45. {{localize "PF2E.LanguagesAdditional"}}
  46. <a class="tag-selector" data-tag-selector="basic" data-title="PF2E.LanguagesAdditional" data-config-types="languages" data-property="system.additionalLanguages"><i class="fas fa-edit"></i></a>
  47. </label>
  48. <input type="number" name="system.additionalLanguages.count" value="{{data.additionalLanguages.count}}" />
  49. <span>{{localize "PF2E.AdditionalLanguagePlusInt"}}</span>
  50. </div>
  51. <div class="form-group form-group-trait">
  52. <label class="pf-title" for="data.additionalLanguages">&nbsp;</label>
  53. <ul class="abc-traits-list">
  54. {{#each additionalLanguages}}
  55. {{#if this.selected}}
  56. <span class="tag-legacy {{@key}}">
  57. {{localize this.label}}
  58. </span>
  59. {{/if}}
  60. {{/each}}
  61. </ul>
  62. </div>
  63. {{~#*inline "abcItems"~}}
  64. <ul class="item-refs">
  65. {{~#each items as |item i|}}
  66. <li data-pack-id="{{item.pack}}" data-index="{{i}}" data-item-uuid="{{item.uuid}}">
  67. <img src="{{item.img}}">
  68. <a class="name">{{item.name}}{{#unless item.pack}}<i class="fa fa-globe" title="{{localize "PF2E.AncestryFeatures"}}"></i>{{/unless}}</a>
  69. <input value="{{item.uuid}}" name="{{@partial-block}}items.{{i}}.uuid" type="hidden" data-dtype="String">
  70. <input value="{{item.name}}" name="{{@partial-block}}items.{{i}}.name" type="hidden" data-dtype="String">
  71. <a class="remove" data-action="remove"><i class="fa fa-times"></i></a>
  72. {{#if item.items~}}
  73. {{#> abcItems item}}{{@partial-block}}items.{{i}}.{{/abcItems}}
  74. {{~/if}}
  75. </li>
  76. {{/each~}}
  77. </ul>
  78. {{~/inline~}}
  79. <div class="form-group stacked item-ref-group" data-valid-drops="ancestryfeature">
  80. <label for="data.traits">
  81. {{localize "PF2E.AncestryFeatures"}}
  82. </label>
  83. {{#> abcItems data}}data.{{/abcItems}}
  84. </div>