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.

66 lines
2.6 KiB

1 year ago
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
  6. class="tag-selector"
  7. data-tag-selector="basic"
  8. data-title="PF2E.AbilityBoost"
  9. data-config-types="abilities"
  10. data-property="system.boosts.{{idx}}"
  11. data-no-custom="true"
  12. ><i class="fa-solid fa-edit"></i></a>
  13. </label>
  14. <ul class="abc-traits-list">
  15. {{#each (lookup ../selectedBoosts idx) as |v k|}}
  16. <span class="tag-legacy {{k}}">{{localize v}}</span>
  17. {{/each}}
  18. </ul>
  19. </div>
  20. {{/each}}
  21. <div class="form-group form-group-trait">
  22. <label class="pf-title">
  23. {{localize "PF2E.TrainedSkillsLabel"}}
  24. <a class="tag-selector" data-tag-selector="basic" data-title="PF2E.TrainedSkillsLabel" data-config-types="skills" data-property="system.trainedSkills"><i class="fas fa-edit"></i></a>
  25. </label>
  26. <ul class="abc-traits-list">
  27. {{#each trainedSkills}}
  28. {{#if this.selected}}
  29. <span class="tag-legacy {{@key}}">{{localize this.label}}</span>
  30. {{/if}}
  31. {{/each}}
  32. </ul>
  33. </div>
  34. <div class="form-group">
  35. <label>{{localize "PF2E.Lore"}}</label>
  36. <input type="text" name="system.trainedLore" value="{{data.trainedLore}}" data-dtype="String" />
  37. </div>
  38. {{~#*inline "abcItems"~}}
  39. <ul class="item-refs">
  40. {{~#each items as |item i|}}
  41. <li data-index="{{i}}" data-item-uuid="{{item.uuid}}">
  42. <img src="{{item.img}}">
  43. <a class="name">{{item.name}}{{#if item.fromWorld}}<i class="fa-solid fa-globe" data-tooltip="PF2E.BackgroundSkillFeats"></i>{{/if}}</a>
  44. <input value="{{item.uuid}}" name="{{@partial-block}}items.{{i}}.uuid" type="hidden" data-dtype="String">
  45. <input value="{{item.name}}" name="{{@partial-block}}items.{{i}}.name" type="hidden" data-dtype="String">
  46. <a class="remove" data-action="remove"><i class="fa-solid fa-times"></i></a>
  47. {{#if item.items~}}
  48. {{#> abcItems item}}{{@partial-block}}items.{{i}}.{{/abcItems}}
  49. {{~/if}}
  50. </li>
  51. {{/each~}}
  52. </ul>
  53. {{~/inline~}}
  54. <div class="form-group stacked item-ref-group" data-valid-drops="skill">
  55. <label for="data.traits">
  56. {{localize "PF2E.BackgroundSkillFeats"}}
  57. </label>
  58. {{#> abcItems data}}data.{{/abcItems}}
  59. {{#unless data.items}}{{localize PF2E.DragDropFeats}}{{/unless}}
  60. </div>