Skip to content

Commit

Permalink
Added binoculars icon for banked perception value in token HUD
Browse files Browse the repository at this point in the history
  • Loading branch information
Eligarf committed Jun 29, 2024
1 parent 392b5c4 commit cc67bdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# v4.3.2
* Added a small binoculars icon over the banked perception value in the token HUD
* Fix module.json warning
* Disambiguate version naming in tests

Expand Down
1 change: 1 addition & 0 deletions scripts/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ Hooks.on('renderTokenHUD', (tokenHUD, html, app) => {
let value = engine.getPerceptionValue(perceptionFlag);
const title = game.i18n.localize("stealthy.spot.description");
const inputBox = $(`
<i class="fa-solid fa-binoculars"></i>
<input ${editMode}id="ste_prc_inp_box" title="${title}" type="text" name="prc_inp_box" value="${value}">
</input>
`);
Expand Down

0 comments on commit cc67bdc

Please sign in to comment.