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.

123 lines
7.1 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 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="tab proficiencies" data-group="primary" data-tab="proficiencies" data-tooltip-class="pf2e">
  2. <h3 class="header">{{localize "PF2E.CoreSkillsHeader"}}</h3>
  3. <ol class="overflow-list proficiencies-pane stroke-header">
  4. <ol class="skills-list">
  5. <!-- Core Skills -->
  6. {{#each data.skills as |skill key|}}
  7. {{#unless skill.lore}}
  8. <li class="skill" data-skill="{{skill.slug}}">
  9. <a class="skill-name rollable" data-tooltip="{{skill.breakdown}}">
  10. <span class="skill-score">{{numberFormat skill.value decimals=0 sign=true}}</span>
  11. <h4>{{localize skill.label}}</h4>
  12. </a>
  13. <div class="skill-prof button-group">
  14. <select class="skill-proficiency pf-rank adjust-stat-select" data-property="system.skills.{{key}}.rank" data-rank="{{skill.rank}}" data-dtype="Number">
  15. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  16. </select>
  17. <div class="hover-container">
  18. <h6 class="hover" data-tooltip-content="#{{@root.options.id}}-{{skill.slug}}-modifiers">{{localize "PF2E.ModifiersTitle"}}</h6>
  19. </div>
  20. </div>
  21. {{#with skill}}
  22. {{> "systems/pf2e/templates/actors/partials/modifiers-tooltip.hbs" abpEnabled=@root.abpEnabled title=label}}
  23. {{/with}}
  24. </li>
  25. {{/unless}}
  26. {{/each}}
  27. </ol>
  28. <!-- Lore Header -->
  29. <h3 class="header">
  30. {{localize "PF2E.LoreSkillsHeader"}}
  31. <div class="controls">
  32. <button type="button" class="item-control item-create" data-tooltip="PF2E.CreateSkillTitle" data-type="lore">
  33. <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  34. </button>
  35. </div>
  36. </h3>
  37. <ol class="lores-list">
  38. <!-- Lore Skills -->
  39. {{#each data.skills as |skill idx|}}
  40. {{#if skill.lore}}
  41. <li class="skill item" data-skill="{{skill.slug}}" data-item-id="{{skill.itemID}}" data-item-type="lore">
  42. <a class="skill-score rollable" data-tooltip="{{skill.breakdown}}">{{numberFormat skill.value decimals=0 sign=true}}</a>
  43. <div class="skill-name lore-name-input item-name-input">
  44. <input data-item-id="{{skill.itemID}}" data-item-property="name" type="text" value="{{skill.label}}" />
  45. </div>
  46. <div class="skill-prof button-group skill-container">
  47. <select class="skill-proficiency pf-rank adjust-item-stat-select" data-item-property="system.proficient.value" data-tooltip="{{skill.breakdown}}" data-rank="{{skill.rank}}" data-dtype="Number">
  48. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  49. </select>
  50. {{#if ../editable}}
  51. <div class="item-controls">
  52. <a class="item-control item-delete skill-armor" data-tooltip="PF2E.DeleteItemTitle"><i class="fa-solid fa-fw fa-trash"></i></a>
  53. </div>
  54. {{/if}}
  55. </div>
  56. </li>
  57. {{/if}}
  58. {{/each}}
  59. </ol>
  60. <!-- Attacks -->
  61. <h3 class="header attacks-defenses">
  62. {{localize "PF2E.Actor.Character.Proficiency.Attack.Title"}}
  63. {{#if editable}}
  64. <div class="controls">
  65. <button type="button" class="item-control" data-action="add-attack-proficiency" data-tooltip="PF2E.AddCombatProficiency.Title">
  66. <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  67. </button>
  68. </div>
  69. {{/if}}
  70. </h3>
  71. <ol class="combat-list">
  72. {{#each martialProficiencies.attacks as |proficiency key|}}
  73. <li class="skill{{#if proficiency.custom}} custom{{/if}}" data-slug="{{key}}">
  74. {{#if (and proficiency.custom @root.editable)}}
  75. <a class="delete" data-action="remove-attack-proficiency"><i class="fa-solid fa-fw fa-trash"></i></a>
  76. {{/if}}
  77. <span class="skill-score lore-score" data-tooltip="{{proficiency.breakdown}}">{{numberFormat proficiency.value decimals=0 sign=true}}</span>
  78. <h4 class="skill-name lore-name-input">{{localize proficiency.label}}</h4>
  79. <div class="skill-prof button-group skill-container">
  80. <select
  81. class="skill-proficiency pf-rank adjust-stat-select{{#if proficiency.immutable}} readonly{{/if}}"
  82. data-property="system.proficiencies.attacks.{{key}}.rank"
  83. data-rank="{{proficiency.rank}}"
  84. data-dtype="Number"
  85. >
  86. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=proficiency.rank}}
  87. </select>
  88. </div>
  89. </li>
  90. {{/each}}
  91. </ol>
  92. <!-- Defenses -->
  93. <h3 class="header attacks-defenses">
  94. {{localize "PF2E.Actor.Character.Proficiency.Defense.Title"}}
  95. </h3>
  96. <ol class="combat-list">
  97. {{#each martialProficiencies.defenses as |proficiency key|}}
  98. <li class="skill{{#if proficiency.custom}} custom{{/if}}" data-slug="{{key}}">
  99. {{#if (and proficiency.custom @root.editable)}}
  100. <a class="delete" data-action="remove-attack-proficiency"><i class="fa-solid fa-fw fa-trash"></i></a>
  101. {{/if}}
  102. <span class="skill-score lore-score" data-tooltip="{{proficiency.breakdown}}">{{numberFormat proficiency.value decimals=0 sign=true}}</span>
  103. <h4 class="skill-name lore-name-input">{{localize proficiency.label}}</h4>
  104. <div class="skill-prof button-group skill-container">
  105. <select
  106. class="skill-proficiency pf-rank adjust-stat-select{{#if proficiency.immutable}} readonly{{/if}}"
  107. data-property="system.proficiencies.defenses.{{key}}.rank"
  108. data-rank="{{proficiency.rank}}"
  109. data-dtype="Number"
  110. >
  111. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=proficiency.rank}}
  112. </select>
  113. </div>
  114. </li>
  115. {{/each}}
  116. </ol>
  117. </ol>
  118. </div>