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.

80 lines
3.7 KiB

  1. <form>
  2. <div class="scroll-container">
  3. <ol class="skills-list">
  4. <li class="skill header">
  5. <div>{{localize "PF2E.SkillLabel"}}</div>
  6. <div>{{localize "PF2E.ModifierTitle"}}</div>
  7. </li>
  8. {{#each trainedSkills as |skill|}}
  9. {{#unless skill.isLore}}
  10. <li class="skill" data-item-id="{{skill.itemID}}">
  11. <label for="{{../actor.uuid}}-{{skill.itemID}}-modifier">{{skill.label}}</label>
  12. <input
  13. type="number"
  14. id="{{../actor.uuid}}-{{skill.itemID}}-modifier"
  15. value="{{#if skill.visible}}{{skill.base}}{{else}}0{{/if}}"
  16. placeholder="0"
  17. data-modifier
  18. />
  19. <div class="item-controls">
  20. <a class="item-control" data-action="edit-skill" data-tooltip="{{localize "PF2E.EditItemTitle"}}">
  21. <i class="fa-solid fa-edit"></i>
  22. </a>
  23. <a class="item-control" data-action="remove-skill" data-tooltip="{{localize "PF2E.NPC.Remove"}}">
  24. <i class="fa-solid fa-trash"></i>
  25. </a>
  26. </div>
  27. </li>
  28. {{/unless}}
  29. {{/each}}
  30. <li class="skill-selector">
  31. <select>
  32. {{#each untrainedSkills as |skill|}}
  33. <option value="{{skill.slug}}">{{skill.label}}</option>
  34. {{/each}}
  35. </select>
  36. <button type="button" data-action="add-skill">
  37. <i class="fa-solid fa-plus"></i> {{localize "PF2E.NPC.AddSkill"}}
  38. </button>
  39. </li>
  40. </ol>
  41. <ol class="skills-list">
  42. <li class="skill header lore">
  43. <div>{{localize "PF2E.Lore"}}</div>
  44. <div>{{localize "PF2E.ModifierTitle"}}</div>
  45. </li>
  46. {{#each trainedSkills as |skill|}}
  47. {{#if skill.isLore}}
  48. <li class="skill" data-item-id="{{skill.itemID}}">
  49. <label class="skill-name" for="{{../actor.uuid}}-{{skill.itemID}}-modifier">{{skill.label}}</label>
  50. <input
  51. type="number"
  52. id="{{../actor.uuid}}-{{skill.itemID}}-modifier"
  53. value="{{skill.base}}"
  54. placeholder="0"
  55. data-modifier
  56. />
  57. <div class="item-controls">
  58. <a class="item-control" data-action="edit-skill" data-tooltip="{{localize "PF2E.EditItemTitle"}}">
  59. <i class="fa-solid fa-edit"></i>
  60. </a>
  61. <a class="item-control" data-action="remove-skill" data-tooltip="{{localize "PF2E.NPC.Remove"}}">
  62. <i class="fa-solid fa-trash"></i>
  63. </a>
  64. </div>
  65. </li>
  66. {{/if}}
  67. {{/each}}
  68. <li class="lore-skill-creator">
  69. <input type="text" area-label="{{localize "Name"}}" placeholder="{{localize "PF2E.Actor.NPC.SkillsEditor.LorePlaceholder"}}" />
  70. <button type="button" data-action="add-lore">
  71. <i class="fa-solid fa-plus"></i> {{localize "PF2E.NPC.AddSkill"}}
  72. </button>
  73. </li>
  74. </ol>
  75. </div>
  76. </form>