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.

50 lines
2.7 KiB

1 year ago
  1. <div class="sidebar_title">
  2. <h2>{{localize "PF2E.HitPointsHeader"}}</h2>
  3. <button type="button" class="modifiers_button hover" data-tooltip-content="#{{options.id}}-hp-modifiers">
  4. <i class="fas fa-eye"></i> {{localize "PF2E.ModifiersTitle"}}
  5. </button>
  6. </div>
  7. <div class="hitpoints">
  8. <div class="hp-big">
  9. <div class="container temp-hp">
  10. <label for="{{options.id}}-pc-hp-temp" class="sidebar_label">{{localize "PF2E.TempHitPointsShortLabel"}}</label>
  11. <div class="data-value" title="{{localize "PF2E.TempHPTitle"}}">
  12. <input name="system.attributes.hp.temp" id="{{options.id}}-pc-hp-temp" type="number" value="{{data.attributes.hp.temp}}" placeholder="0" />
  13. </div>
  14. </div>
  15. <div class="container current-hp">
  16. <label for="{{options.id}}-pc-hp" class="sidebar_label">{{localize "PF2E.CurrentHitPointsShortLabel"}}</label>
  17. <div class="data-value" title="{{localize "PF2E.CurrentHPTitle"}}">
  18. <input name="system.attributes.hp.value" id="{{options.id}}-pc-hp" type="number" value="{{data.attributes.hp.value}}" placeholder="10" />
  19. </div>
  20. </div>
  21. <div class="container max-hp">
  22. <span class="sidebar_label">{{localize "PF2E.MaxHitPointsShortLabel"}}</span>
  23. <div class="data-value">
  24. <h2>{{data.attributes.hp.max}}</h2>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="hp-small">
  29. <a class="rollable roll-icon{{#if (not data.attributes.dying.value)}} disabled{{/if}}" data-action="recovery-check" title="{{localize "PF2E.Check.Specific.Recovery"}}">
  30. {{> "systems/pf2e/templates/actors/character/icons/d20.hbs"}}
  31. </a>
  32. <a class="dots dying" title="{{localize "PF2E.condition.dying.summary"}}">
  33. <span class="sidebar_label">{{localize "PF2E.condition.dying.name"}}</span>
  34. {{> "systems/pf2e/templates/actors/partials/dying-pips.hbs"}}
  35. </a>
  36. <a class="dots wounded" title="{{localize "PF2E.condition.wounded.summary"}}">
  37. <span class="sidebar_label">{{localize "PF2E.condition.wounded.name"}}</span>
  38. <span class="pips">
  39. {{#times data.attributes.wounded.value}}<i class="fas fa-dot-circle"></i>{{/times}}
  40. {{#times dying.remainingWounded}}<i class="far fa-circle"></i>{{/times}}
  41. </span>
  42. </a>
  43. <a class="roll-icon rest" data-action="rest" title="{{localize "PF2E.Actor.Character.Rest.Label"}}">
  44. <i class="fas fa-bed"></i>
  45. </a>
  46. </div>
  47. </div>
  48. {{#with data.attributes.hp}}
  49. {{> "systems/pf2e/templates/actors/character/partials/modifiers-tooltip.hbs" title="PF2E.HitPointsHeader"}}
  50. {{/with}}