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.

90 lines
5.4 KiB

1 year ago
  1. <div class="tab proficiencies" data-group="primary" data-tab="proficiencies">
  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. <h1 class="skill-score rollable" title="{{skill.breakdown}}">{{numberFormat skill.value decimals=0 sign=true}}</h1>
  10. <h4 class="skill-name rollable">{{localize skill.label}}</h4>
  11. <div class="skill-prof button-group">
  12. <select class="skill-proficiency pf-rank adjust-stat-select" data-property="system.skills.{{key}}.rank" data-rank="{{skill.rank}}" data-dtype="Number">
  13. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  14. </select>
  15. <div class="hover-container">
  16. <h6 class="hover" data-tooltip-content="#{{@root.options.id}}-{{skill.slug}}-modifiers">{{localize "PF2E.ModifiersTitle"}}</h6>
  17. </div>
  18. </div>
  19. {{#with skill}}
  20. {{> "systems/pf2e/templates/actors/character/partials/modifiers-tooltip.hbs" abpEnabled=@root.abpEnabled title=label}}
  21. {{/with}}
  22. </li>
  23. {{/unless}}
  24. {{/each}}
  25. </ol>
  26. <!-- Lore Header -->
  27. <h3 class="header">
  28. {{localize "PF2E.LoreSkillsHeader"}}
  29. <div class="controls">
  30. <button type="button" class="item-control item-create" title="{{localize "PF2E.CreateSkillTitle"}}" data-type="lore">
  31. <i class="fas fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  32. </button>
  33. </div>
  34. </h3>
  35. <ol class="lores-list">
  36. <!-- Lore Skills -->
  37. {{#each data.skills as |skill idx|}}
  38. {{#if skill.lore}}
  39. <li class="skill item" data-skill="{{skill.slug}}" data-item-id="{{skill.itemID}}" data-item-type="lore">
  40. <h1 class="skill-score rollable" title="{{skill.breakdown}}">{{numberFormat skill.value decimals=0 sign=true}}</h1>
  41. <div class="skill-name lore-name-input item-name-input">
  42. <input data-item-id="{{skill.itemID}}" data-item-property="name" type="text" value="{{skill.label}}" style="color: white" />
  43. </div>
  44. <div class="skill-prof button-group skill-container">
  45. <select class="skill-proficiency pf-rank adjust-item-stat-select" data-item-property="system.proficient.value" title="{{skill.breakdown}}" data-rank="{{skill.rank}}" data-dtype="Number">
  46. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=skill.rank}}
  47. </select>
  48. {{#if ../editable}}
  49. <div class="item-controls">
  50. <a class="item-control item-delete skill-armor" title="{{localize "PF2E.DeleteItemTitle"}}"><i class="fas fa-fw fa-trash"></i></a>
  51. </div>
  52. {{/if}}
  53. </div>
  54. </li>
  55. {{/if}}
  56. {{/each}}
  57. </ol>
  58. <!-- Combat Proficiencies Header -->
  59. <h3 class="header attacks-defenses">
  60. {{localize "PF2E.MartialSkillsHeader"}}
  61. {{#if editable}}
  62. <div class="controls">
  63. <button type="button" class="item-control" data-action="add-attack-proficiency" title="{{localize "PF2E.AddCombatProficiency.Title"}}">
  64. <i class="fas fa-fw fa-plus"></i>{{localize "PF2E.AddShortLabel"}}
  65. </button>
  66. </div>
  67. {{/if}}
  68. </h3>
  69. <ol class="combat-list">
  70. <!-- Combat Proficiencies -->
  71. {{#each data.martial as |proficiency key|}}
  72. <li class="skill{{#if proficiency.custom}} custom{{/if}}" data-skill="{{key}}">
  73. {{#if (and proficiency.custom @root.editable)}}
  74. <a class="delete" data-action="remove-attack-proficiency"><i class="fa fa-fw fa-trash"></i></a>
  75. {{/if}}
  76. <h1 class="skill-score lore-score" title="{{proficiency.breakdown}}">{{numberFormat proficiency.value decimals=0 sign=true}}</h1>
  77. <h4 class="skill-name lore-name-input">{{proficiency.label}}</h4>
  78. <div class="skill-prof button-group skill-container">
  79. <select class="skill-proficiency pf-rank adjust-stat-select{{#if proficiency.immutable}} readonly{{/if}}" data-property="system.martial.{{key}}.rank" data-rank="{{proficiency.rank}}" data-dtype="Number">
  80. {{> "systems/pf2e/templates/actors/character/partials/proficiencylevels-dropdown.hbs" proflevel=proficiency.rank}}
  81. </select>
  82. </div>
  83. </li>
  84. {{/each}}
  85. </ol>
  86. </ol>
  87. </div>