feat (#281): add tooltips to checkboxes in adaptation area

This commit is contained in:
Samuel Lopez
2026-01-19 15:52:09 +01:00
parent 5656195a4d
commit c68542b67d
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
### **Features:**
- [#281](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/281) - Add tooltips to checkboxes in adaptation area.
- [#211](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/211) - Move macros to System macros folder in compendium.
- [#283](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/283) - Added new actor sheet with left hand Sidebar RFC
- [#291](https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/291) - Moving Luck button from three dots to left hand panel
+2
View File
@@ -187,8 +187,10 @@
"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.Tooltip.Checkbox.Violence": "When you lose SAN due to violence and without going temporarily insane or hitting your breaking point, increase until adapted. 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.Tooltip.Checkbox.Helplessness": "When you lose SAN due to helplessness and without going temporarily insane or hitting your breaking point, increase until adapted. Agents Handbook Page 73.",
"DG.Mental.AdaptedToViolence": "Adapted to Violence",
"DG.Mental.AdaptedToHelplessness": "Adapted to Helplessness",
"DG.Mental.Motivations": "Motivation",
@@ -29,16 +29,19 @@
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.violence.incident1"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Violence'}}"
{{checked actor.system.sanity.adaptations.violence.incident1}}
data-dtype="Boolean" />
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.violence.incident2"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Violence'}}"
{{checked actor.system.sanity.adaptations.violence.incident2}}
data-dtype="Boolean" />
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.violence.incident3"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Violence'}}"
{{checked actor.system.sanity.adaptations.violence.incident3}}
data-dtype="Boolean" />
@@ -55,16 +58,19 @@
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.helplessness.incident1"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Helplessness'}}"
{{checked actor.system.sanity.adaptations.helplessness.incident1}}
data-dtype="Boolean" />
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.helplessness.incident2"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Helplessness'}}"
{{checked actor.system.sanity.adaptations.helplessness.incident2}}
data-dtype="Boolean" />
<input class="labeled-resource-checkbox"
type="checkbox"
name="system.sanity.adaptations.helplessness.incident3"
data-tooltip="{{localize 'DG.Mental.Tooltip.Checkbox.Helplessness'}}"
{{checked actor.system.sanity.adaptations.helplessness.incident3}}
data-dtype="Boolean" />