|
|
- <div class="tab actions actions-pane" data-group="primary" data-tab="actions">
- <nav class="actions-nav sub-nav" data-group="actions-tabs">
- <a class="tab" data-tab="encounter" data-group="actions-tabs">{{localize "PF2E.TabActionsEncounterLabel"}}</a>
- <a class="tab" data-tab="exploration" data-group="actions-tabs">{{localize "PF2E.TabActionsExplorationLabel"}}</a>
- <a class="tab" data-tab="downtime" data-group="actions-tabs">{{localize "PF2E.TabActionsDowntimeLabel"}}</a>
- </nav>
-
- <div class="actions-container tab-content">
- <div class="actions-tabs-wrapper">
- <section class="actions-panels">
- <section class="actions-panel tab major" data-tab="encounter" data-group="actions-tabs">
- {{#if toggles}}{{> "systems/pf2e/templates/actors/partials/toggles.hbs" toggles=toggles}}{{/if}}
-
- <header data-tooltip-class="pf2e">
- {{localize "PF2E.Actor.Attacks"}}
- <button type="button" class="toggle-unready-strikes" data-tooltip="{{localize "PF2E.ToggleUnreadyStrikes"}}">
- <i class="fa-solid fa-tshirt"{{#if actor.flags.pf2e.showUnreadyStrikes}} style="color: rgba(0, 0, 0, 0.4);"{{/if}}></i>
- </button>
- </header>
-
- {{#if elementalBlasts}}
- <!-- ELEMENTAL BLASTS -->
- <ol class="actions-list directory-list elemental-blasts" data-elemental-blasts>
- {{#each elementalBlasts as |blast|}}
- {{> "systems/pf2e/templates/actors/character/partials/elemental-blast.hbs" action=blast}}
- {{/each}}
- </ol>
- {{/if}}
-
- <ol class="actions-list item-list directory-list strikes-list" data-strikes>
- {{#each data.actions as |strike ai|}}
- {{> "systems/pf2e/templates/actors/character/partials/strike.hbs" action=strike index=ai}}
- {{/each}}
- </ol>
-
- {{#each actions.encounter as |section sid|}}
- <header>
- {{section.label}}
- {{#if @root.options.editable}}
- <div class="controls">
- <button type="button" class="item-control item-create" data-type="action" data-action-type="{{sid}}">
- <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
- </button>
- <button type="button" class="item-control action-browse" data-type="action" data-action-type="{{sid}}">
- <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
- </button>
- </div>
- {{/if}}
- </header>
-
- <ol class="actions-list item-list directory-list">
- {{#each section.actions as |action|}}
- {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
- {{/each}}
- </ol>
- {{/each}}
- </section>
-
- <section class="actions-panel tab major" data-tab="exploration" data-group="actions-tabs">
- {{!# Active exploration activities are only shown if one exists}}
- {{#if actions.exploration.active}}
- <header>
- {{localize "PF2E.Actor.Character.ActiveHeader"}}
- {{#if @root.options.editable}}
- <div class="controls">
- <button type="button" class="item-control" data-action="clear-exploration">
- <i class="fa-solid fa-fw fa-times"></i>{{localize "PF2E.Actor.Character.Clear"}}
- </button>
- </div>
- {{/if}}
- </header>
-
- <ol class="actions-list item-list directory-list">
- {{#each actions.exploration.active as |action|}}
- {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
- {{/each}}
- </ol>
- {{/if}}
-
- <header>
- {{localize "PF2E.ActionsActionsHeader"}}
- {{#if @root.options.editable}}
- <div class="controls">
- <button type="button" class="item-control item-create" data-type="action" data-action-type="free" data-traits="exploration">
- <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
- </button>
- <button type="button" class="item-control action-browse" data-type="action" data-action-trait="exploration">
- <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
- </button>
- </div>
- {{/if}}
- </header>
-
- <ol class="actions-list item-list directory-list">
- {{#each actions.exploration.other as |action|}}
- {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
- {{/each}}
- </ol>
- </section>
-
- <section class="actions-panel tab major" data-tab="downtime" data-group="actions-tabs">
- <header>
- {{localize "PF2E.ActionsActionsHeader"}}
- {{#if @root.options.editable}}
- <div class="controls">
- <button type="button" class="item-control item-create" data-type="action" data-action-type="free" data-traits="downtime">
- <i class="fa-solid fa-fw fa-plus"></i>{{localize "PF2E.CreateActionTitle"}}
- </button>
- <button type="button" class="item-control action-browse" data-type="action" data-action-trait="downtime">
- <i class="fa-solid fa-fw fa-search"></i>{{localize "PF2E.BrowseLabel"}}
- </button>
- </div>
- {{/if}}
- </header>
-
- <ol class="actions-list item-list directory-list">
- {{#each actions.downtime as |action aid|}}
- {{> "systems/pf2e/templates/actors/partials/action.hbs" action=action}}
- {{/each}}
- </ol>
- </section>
- </section>
- </div>
- </div>
- </div>
|