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.

125 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. <div class="tab actions actions-pane" data-group="primary" data-tab="actions">
  2. <nav class="actions-nav sub-nav" data-group="actions-tabs">
  3. <a class="tab" data-tab="encounter" data-group="actions-tabs">{{localize "PF2E.TabActionsEncounterLabel"}}</a>
  4. <a class="tab" data-tab="exploration" data-group="actions-tabs">{{localize "PF2E.TabActionsExplorationLabel"}}</a>
  5. <a class="tab" data-tab="downtime" data-group="actions-tabs">{{localize "PF2E.TabActionsDowntimeLabel"}}</a>
  6. </nav>
  7. <div class="actions-container tab-content">
  8. <div class="actions-tabs-wrapper">
  9. <section class="actions-panels">
  10. <div class="actions-panel tab" data-tab="encounter" data-group="actions-tabs">
  11. {{#if toggles}}{{> "systems/pf2e/templates/actors/partials/toggles.hbs" toggles=toggles}}{{/if}}
  12. <h3 class="header">
  13. {{localize "PF2E.Actor.Attacks"}}
  14. <button type="button" class="toggle-unready-strikes" title="{{localize "PF2E.ToggleUnreadyStrikes"}}">
  15. <i class="fa-solid fa-tshirt"{{#if actor.flags.pf2e.showUnreadyStrikes}} style="color: rgba(0, 0, 0, 0.4);"{{/if}}></i>
  16. </button>
  17. </h3>
  18. {{#if elementalBlasts}}
  19. <!-- ELEMENTAL BLASTS -->
  20. <ol class="actions-list directory-list elemental-blasts">
  21. {{#each elementalBlasts as |blast|}}
  22. {{> "systems/pf2e/templates/actors/character/partials/elemental-blast.hbs" action=blast}}
  23. {{/each}}
  24. </ol>
  25. {{/if}}
  26. <ol class="actions-list item-list directory-list strikes-list">
  27. {{#each data.actions as |strike ai|}}
  28. {{> "systems/pf2e/templates/actors/character/partials/strike.hbs" action=strike index=ai}}
  29. {{/each}}
  30. </ol>
  31. {{#each actions.encounter as |section sid|}}
  32. <h3 class="header">
  33. {{section.label}}
  34. {{#if @root.options.editable}}
  35. <div class="controls">
  36. <button type="button" class="item-control item-create" data-type="action" data-action-type="{{sid}}">
  37. <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
  38. </button>
  39. <button type="button" class="item-control action-browse" data-type="action" data-action-type="{{sid}}">
  40. <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
  41. </button>
  42. </div>
  43. {{/if}}
  44. </h3>
  45. <ol class="actions-list item-list directory-list">
  46. {{#each section.actions as |action|}}
  47. {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
  48. {{/each}}
  49. </ol>
  50. {{/each}}
  51. </div>
  52. <div class="actions-panel tab" data-tab="exploration" data-group="actions-tabs">
  53. {{!# Active exploration activities are only shown if one exists}}
  54. {{#if actions.exploration.active}}
  55. <h3 class="header">
  56. {{localize "PF2E.Actor.Character.ActiveHeader"}}
  57. {{#if @root.options.editable}}
  58. <div class="controls">
  59. <button type="button" class="item-control" data-action="clear-exploration">
  60. <i class="fa-solid fa-fw fa-times"></i>{{localize "PF2E.Actor.Character.Clear"}}
  61. </button>
  62. </div>
  63. {{/if}}
  64. </h3>
  65. <ol class="actions-list item-list directory-list">
  66. {{#each actions.exploration.active as |action|}}
  67. {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
  68. {{/each}}
  69. </ol>
  70. {{/if}}
  71. <h3 class="header">
  72. {{localize "PF2E.ActionsActionsHeader"}}
  73. {{#if @root.options.editable}}
  74. <div class="controls">
  75. <button type="button" class="item-control item-create" data-type="action" data-action-type="free" data-traits="exploration">
  76. <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
  77. </button>
  78. <button type="button" class="item-control action-browse" data-type="action" data-action-trait="exploration">
  79. <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
  80. </button>
  81. </div>
  82. {{/if}}
  83. </h3>
  84. <ol class="actions-list item-list directory-list">
  85. {{#each actions.exploration.other as |action|}}
  86. {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
  87. {{/each}}
  88. </ol>
  89. </div>
  90. <div class="actions-panel tab" data-tab="downtime" data-group="actions-tabs">
  91. <h3 class="header">
  92. {{localize "PF2E.ActionsActionsHeader"}}
  93. {{#if @root.options.editable}}
  94. <div class="controls">
  95. <button type="button" class="item-control item-create" data-type="action" data-action-type="free" data-traits="downtime">
  96. <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
  97. </button>
  98. <button type="button" class="item-control action-browse" data-type="action" data-action-trait="downtime">
  99. <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
  100. </button>
  101. </div>
  102. {{/if}}
  103. </h3>
  104. <ol class="actions-list item-list directory-list">
  105. {{#each actions.downtime as |action aid|}}
  106. {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
  107. {{/each}}
  108. </ol>
  109. </div>
  110. </section>
  111. </div>
  112. </div>
  113. </div>