Skip to content

Commit

Permalink
Support sending army war actions to chat
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosFdez committed Feb 18, 2025
1 parent 14bc740 commit d802866
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions static/lang/kingmaker-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"morale": "Morale"
},
"Scouting": "Scouting",
"SendToChat": "Send to Chat",
"Stats": "Stats",
"Strikes": {
"CurrentAmmo": "{current} / {max} Shots<br/>Restored at the end of a war encounter",
Expand Down
8 changes: 8 additions & 0 deletions static/templates/actors/army/sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@
<a data-action="toggle-basic-war-action-summary">{{action.name}}</a>
{{{actionGlyph action.actionCost}}}
</h4>
<div class="item-controls">
<a data-action="use-basic-war-action" data-tooltip="PF2E.Kingmaker.Army.SendToChat">
<i class="fa-solid fa-fw fa-message"></i>
</a>
</div>
<div class="item-summary" hidden></div>
</li>
{{/each}}
Expand Down Expand Up @@ -366,6 +371,9 @@
{{/if}}
{{#if @root.editable}}
<div class="item-controls">
<a data-action="item-to-chat" data-tooltip="PF2E.Kingmaker.Army.SendToChat">
<i class="fa-solid fa-fw fa-message"></i>
</a>
<a data-action="edit-item" data-tooltip="PF2E.EditItemTitle"><i class="fa-solid fa-fw fa-edit"></i></a>
{{#if locked}}
<i class="fa-solid fa-lock fa-fw" data-tooltip="{{localize "PF2E.Kingmaker.GrantedBy" granter=action.granter.name}}"></i>
Expand Down

0 comments on commit d802866

Please sign in to comment.