Merge pull request #260 from deltagreen-foundryvtt/tobifroe/259/fix-hidden-sanity-setting
fix(#259): add hidden sanity agent template
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Release/Patch Notes
|
||||
|
||||
## Version 1.6.1 - ????-??-??
|
||||
|
||||
### **Bug Fixes:**
|
||||
|
||||
- [#259](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/259) - Fixed "Keep Sanity Private" setting in agent sheets.
|
||||
|
||||
## Version 1.6.0 - 2025-09-04
|
||||
|
||||
> Thanks to the following new contributors: [reyzor](https://github.com/reyzor1991), [lozanoje](https://github.com/lozanoje), [dairefinn](https://github.com/dairefinn), [MrTheBino](https://github.com/MrTheBino), & [vonv](https://github.com/vonv).
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
{{#if (keepSanityPrivate)}}
|
||||
<input class="centered"
|
||||
type="text"
|
||||
name="system.sanity.value"
|
||||
value="???"
|
||||
readonly
|
||||
data-dtype="Number" />
|
||||
<span>/</span>
|
||||
<div class="max-resource-value"
|
||||
data-tooltip="{{localize 'DG.Tooltip.MaximumSanity'}}">
|
||||
<div>???</div>
|
||||
</div>
|
||||
{{else}}
|
||||
<input class="centered
|
||||
{{#if actor.system.sanity.breakingPointHit }}
|
||||
breaking-point-hit{{/if }}"
|
||||
@@ -11,3 +24,4 @@
|
||||
data-tooltip="{{localize 'DG.Tooltip.MaximumSanity'}}">
|
||||
<div>{{numberFormat actor.system.sanity.max decimals=0 sign=false}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user