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.

62 lines
3.6 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <section class="tab pfs" data-group="primary" data-tab="pfs">
  2. <section class="organized-play">
  3. <label class="player-number details-label" for="{{options.id}}-pfs-player-number">{{localize "PF2E.PFS.OrganizedPlayNumber"}}</label>
  4. <label class="character-number details-label" for="{{options.id}}-pfs-character-number">{{localize "PF2E.PFS.CharacterNumber"}}</label>
  5. <input type="number" class="player-number details-input" id="{{options.id}}-pfs-player-number" name="system.pfs.playerNumber" value="{{data.pfs.playerNumber}}" min="10000" max="99999" placeholder="10000" />
  6. <span class="dash">&ndash;</span>
  7. <input type="number" class="character-number details-input" id="{{options.id}}-pfs-character-number" name="system.pfs.characterNumber" value="{{data.pfs.characterNumber}}" min="2001" max="9999" placeholder="2001" />
  8. </section>
  9. <section class="level-bump">
  10. <label class="details-label" for="{{options.id}}-pfs-level-bump">{{localize "PF2E.PFS.LevelBump"}}</label>
  11. <div class="toggle{{#if data.pfs.levelBump}} enabled{{/if}}">
  12. <input class="details-input" id="{{options.id}}-pfs-level-bump" name="system.pfs.levelBump" type="checkbox" {{checked data.pfs.levelBump}} />
  13. <label for="{{options.id}}-pfs-level-bump"></label>
  14. </div>
  15. </section>
  16. <section class="faction">
  17. <label class="details-label" for="{{options.id}}-pfs-current-faction">{{localize "PF2E.PFS.CurrentFaction"}}</label>
  18. <select id="{{options.id}}-pfs-current-faction" name="system.pfs.currentFaction">
  19. {{#select data.pfs.currentFaction}}
  20. {{#each pfsFactions as |label key|}}
  21. <option value="{{key}}">{{localize label}}</option>
  22. {{/each}}
  23. {{/select}}
  24. </select>
  25. </section>
  26. <section class="reputations">
  27. <span class="details-label">{{localize "PF2E.PFS.Reputation"}}</span>
  28. {{#each data.pfs.reputation as |rep faction|}}
  29. <div class="reputation">
  30. <label for="{{@root.options.id}}-pfs-rep-{{faction}}">{{localize (concat "PF2E.PFS.Factions." faction)}}:</label>
  31. <input type="number" class="details-input small-input" id="{{@root.options.id}}-pfs-rep-{{faction}}" name="system.pfs.reputation.{{faction}}" value="{{rep}}" placeholder="0" />
  32. </div>
  33. {{/each}}
  34. </div>
  35. </section>
  36. <h3 class="header">
  37. {{localize "PF2E.FeatPFSBoonHeader"}}
  38. <button type="button" class="item-control feat-browse" data-type="feat"><i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}</button>
  39. </h3>
  40. <ol class="actions-list directory-list">
  41. {{#each actor.pfsBoons as |feat|}}
  42. <li class="item feat-item" data-item-id="{{feat.id}}">
  43. <div class="item-name rollable">
  44. <div class="item-image framed" alt="{{feat.name}}">
  45. <img src="{{feat.img}}"/>
  46. <i class="fa-solid fa-comment-alt"></i>
  47. </div>
  48. <h4>{{feat.name}}</h4>
  49. </div>
  50. {{#if @root.options.editable}}
  51. <div class="item-controls">
  52. <a class="item-control item-edit" data-tooltip="PF2E.EditItemTitle"><i class="fa-solid fa-fw fa-edit"></i></a>
  53. <a class="item-control item-delete" data-tooltip="PF2E.DeleteItemTitle"><i class="fa-solid fa-fw fa-trash"></i></a>
  54. </div>
  55. {{/if}}
  56. </li>
  57. {{/each}}
  58. </ol>
  59. </section>