feat (#281): add tooltips to adaptation area

This commit is contained in:
Samuel Lopez
2025-10-17 10:12:20 +02:00
committed by samulopez
parent 68ccac806b
commit 42986bf559
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
- [#274](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/274) - Automated fail marking now works after dice so nice resolve roll.
- [#268](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/268) - Removed unnecessary tooltips.
- [#278](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/278) - Shows the tooltip only once for skills without proficiency.
- [#278](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/278) - It shows the tooltip only once for skills without proficiency.
- [#281](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/281) - Add tooltips to adaptation area.
## Version 1.6.1 - 2025-09-09
+2
View File
@@ -186,7 +186,9 @@
"DG.Mental.Reset": "Reset",
"DG.Mental.SanityLossIncidentsLabel": "Incidents of SAN Loss Without Going Insane",
"DG.Mental.Violence": "Violence",
"DG.Mental.Tooltip.Violence": "Adapting to Violence: After losing SAN to violence three times without going insane, you become hardened to it. You automatically succeed SAN rolls against violence, but permanently lose 1D6 CHA and that much from each Bond. Agents Handbook Page 73.",
"DG.Mental.Helplessness": "Helplessness",
"DG.Mental.Tooltip.Helplessness": "Adapting to Helplessness: After losing SAN to helplessness three times without going insane, you become hardened to it. You automatically succeed SAN rolls against helplessness, but permanently lose 1D6 POW. Agents handbook page 73.",
"DG.Mental.AdaptedToViolence": "Adapted to Violence",
"DG.Mental.AdaptedToHelplessness": "Adapted to Helplessness",
"DG.Mental.Motivations": "Motivation",
+6 -2
View File
@@ -23,7 +23,9 @@
<label class="bolded-label">{{localize 'DG.Mental.SanityLossIncidentsLabel'}}</label>
<div class="adaptation-grid-5col">
<label>{{localize 'DG.Mental.Violence'}}</label>
<label data-tooltip="{{localize 'DG.Mental.Tooltip.Violence'}}">
{{localize 'DG.Mental.Violence'}}
</label>
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.violence.incident1"
@@ -47,7 +49,9 @@
{{/if}}
</label>
<label>{{localize 'DG.Mental.Helplessness'}}</label>
<label data-tooltip="{{localize 'DG.Mental.Tooltip.Helplessness'}}">
{{localize 'DG.Mental.Helplessness'}}
</label>
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.helplessness.incident1"