Changed labels title for data-tooltip

and changed references to Agent's Handbook
This commit is contained in:
José Lozano
2025-07-15 07:53:50 +02:00
parent 2d2a2b9930
commit 241d5a9fe9
8 changed files with 83 additions and 84 deletions
+12 -12
View File
@@ -22,7 +22,7 @@
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP' }} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<label for="actor.system.health.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP' }} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.health.value" value="{{actor.system.health.value}}" data-dtype="Number"/>
<span> / </span>
@@ -35,7 +35,7 @@
{{!-- WP --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<label for="system.wp.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.wp.value" value="{{actor.system.wp.value}}" data-dtype="Number"/>
<span> / </span>
@@ -49,7 +49,7 @@
{{!-- Sanity --}}
<div class="resource-outer-grid-1col">
<label for="system.san.value" class="resource-label rollable"
data-rolltype="sanity" title="{{localize 'DG.Attributes.Tooltip.SAN'}}"
data-rolltype="sanity" data-tooltip="{{localize 'DG.Attributes.Tooltip.SAN'}}"
>{{localize 'DG.Attributes.SAN' }} <i class="fas fa-dice"></i></label>
<div class="resource-inner-grid-3col">
@@ -99,12 +99,12 @@
<div class="grid grid-3col">
{{#each actor.system.sortedSkills as |skill key|}}
<div class="flexrow flex-group-left flex-thin-border">
<label title="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }}
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label" data-key="{{skill.key}}" data-rolltype="skill" for="system.skills.{{skill.key}}.value"
{{#if skill.proficiency}}title="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}title="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
{{#if skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
>
<i class="fas fa-dice"></i>
</label>
@@ -160,18 +160,18 @@
<div>
<div class="first-aid-received-section resource">
<label class="bolded-label first-aid-label"
title="{{localize 'DG.Tooltip.FirstAidAttempted'}}"
data-tooltip="{{localize 'DG.Tooltip.FirstAidAttempted'}}"
>{{localize 'DG.Physical.FirstAidLabel'}}</label>
<input class="labeled-resource-checkbox" type="checkbox" name="system.physical.firstAidAttempted" {{checked actor.system.physical.firstAidAttempted}} data-dtype="Boolean" title="{{localize 'DG.Tooltip.FirstAidAttempted'}}" />
</div>
<div class="exhausted-section resource">
<label class="bolded-label exhaustion-label" title="{{localize 'DG.Tooltip.Exhaustion'}}">{{localize 'DG.Physical.Exhausted'}}</label>
<label class="bolded-label exhaustion-label" data-tooltip="{{localize 'DG.Tooltip.Exhaustion'}}">{{localize 'DG.Physical.Exhausted'}}</label>
<input class="labeled-resource-checkbox" type="checkbox" name="system.physical.exhausted" {{checked actor.system.physical.exhausted}} data-dtype="Boolean" title="{{localize 'DG.Tooltip.Exhaustion'}}" />
{{#if actor.system.physical.exhausted }}
<label class="bolded-label exhaustion-label" title="{{localize 'DG.Tooltip.Exhaustion'}}">{{localize 'DG.Physical.ExhaustionPenalty'}}</label>
<label class="bolded-label exhaustion-label" data-tooltip="{{localize 'DG.Tooltip.Exhaustion'}}">{{localize 'DG.Physical.ExhaustionPenalty'}}</label>
<input type="number" name="system.physical.exhaustedPenalty" value="{{actor.system.physical.exhaustedPenalty}}" data-dtype="Number" title="{{localize 'DG.Tooltip.Exhaustion'}}" min="-99" max="0" />
{{/if}}
@@ -192,7 +192,7 @@
</div>
<div class="">
<div class="breaking-point-grid-3col">
<label class="bolded-label" title="{{localize 'DG.Mental.Tooltip.BreakingPoint'}}">{{localize 'DG.Mental.BreakingPoint'}}</label>
<label class="bolded-label" data-tooltip="{{localize 'DG.Mental.Tooltip.BreakingPoint'}}">{{localize 'DG.Mental.BreakingPoint'}}</label>
<input class="centered-input-value" title="{{localize 'DG.Tooltip.BreakPoint'}}" type="text" name="system.sanity.currentBreakingPoint" value="{{actor.system.sanity.currentBreakingPoint}}" data-dtype="Number"/>
<a class="btn-tiny btn-reset-breaking-point" title="{{localize 'DG.Tooltip.BreakPointReset'}}">{{localize 'DG.Mental.Reset'}}</a>
</div>
@@ -207,7 +207,7 @@
<input class="labeled-resource-checkbox" type="checkbox" name="system.sanity.adaptations.violence.incident3" {{checked actor.system.sanity.adaptations.violence.incident3}} data-dtype="Boolean" />
<label class="adapted-label"
title="{{localize 'DG.Tooltip.AdaptedToViolence'}}"
data-tooltip="{{localize 'DG.Tooltip.AdaptedToViolence'}}"
>
{{#if actor.system.sanity.adaptations.violence.isAdapted}}
{{localize 'DG.Mental.AdaptedToViolence'}}
@@ -220,7 +220,7 @@
<input class="labeled-resource-checkbox" type="checkbox" name="system.sanity.adaptations.helplessness.incident3" {{checked actor.system.sanity.adaptations.helplessness.incident3}} data-dtype="Boolean" />
<label class="adapted-label"
title="{{localize 'DG.Tooltip.AdaptedToHelplessness'}}"
data-tooltip="{{localize 'DG.Tooltip.AdaptedToHelplessness'}}"
>
{{#if actor.system.sanity.adaptations.helplessness.isAdapted}}
{{localize 'DG.Mental.AdaptedToHelplessness'}}
+6 -6
View File
@@ -21,7 +21,7 @@
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<label for="actor.system.health.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.health.value" value="{{actor.system.health.value}}" data-dtype="Number"/>
<span> / </span>
@@ -34,7 +34,7 @@
{{!-- WP --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<label for="system.wp.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.wp.value" value="{{actor.system.wp.value}}" data-dtype="Number"/>
<span> / </span>
@@ -48,7 +48,7 @@
{{!-- Sanity --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value" class="resource-label rollable"
data-rolltype="sanity" title="{{localize 'DG.Attributes.Tooltip.SAN'}}"
data-rolltype="sanity" data-tooltip="{{localize 'DG.Attributes.Tooltip.SAN'}}"
>{{localize 'DG.Attributes.SAN' }} <i class="fas fa-dice"></i></label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.sanity.value" value="{{actor.system.sanity.value}}" data-dtype="Number" title="{{localize 'DG.Tooltip.CurrentSanityPartOne'}}{{actor.system.sanity.currentBreakingPoint}}{{localize 'DG.Tooltip.CurrentSanityPartTwo'}}" />
@@ -102,12 +102,12 @@
{{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
<div class="flexrow flex-group-left flex-thin-border">
<label title="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }}
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label" data-rolltype="skill" data-key="{{skill.key}}" for="system.skills.{{skill.key}}.value"
{{#if skill.proficiency}}title="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}title="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
{{#if skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
>
<i class="fas fa-dice"></i>
</label>
@@ -3,7 +3,7 @@
<div class="flex-group-center flex-mid-border">
<div class="">
<div class="physical-stats-outer-grid-3col">
<label class="rollable resource-label" data-rolltype="stat" data-key="{{key}}" title="{{localize (concat 'DG.Attributes.Tooltip.' key)}}" for="system.statistics.{{key}}.value">{{localize (concat 'DG.Attributes.' key)}}</i></label>
<label class="rollable resource-label" data-rolltype="stat" data-key="{{key}}" data-tooltip="{{localize (concat 'DG.Attributes.Tooltip.' key)}}" for="system.statistics.{{key}}.value">{{localize (concat 'DG.Attributes.' key)}}</i></label>
<input type="text" name="system.statistics.{{key}}.value" value="{{statistic.value}}" data-dtype="Number"/>
<span class="rollable" data-rolltype="stat" data-key="{{key}}" title="{{localize 'DG.Tooltip.x5AttributeLabel'}}">({{numberFormat statistic.x5 decimals=0 sign=false}}% <i class="fas fa-dice"></i>)</span>
</div >
@@ -13,12 +13,12 @@
<div class="item flexrow flex-group-left flex-thin-border">
<div class="flexrow">
<label title="{{localize (concat 'DG.TypeSkills.Tooltip.' skill.group)}}">
<label data-tooltip="{{localize (concat 'DG.TypeSkills.Tooltip.' skill.group)}}">
{{localize (concat 'DG.TypeSkills.' skill.group)}} ({{skill.label}})
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label" data-key="{{skill.key}}" data-rolltype="skill" data-roll="d100" data-target="{{skill.proficiency}}" data-label="{{skill.label}}"
{{#if skill.proficiency}}title="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}title="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
{{#if skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
>
<i class="fas fa-dice"></i>
</label>
@@ -40,12 +40,12 @@
<div class="item flexrow flex-group-left flex-thin-border special-training-box">
<div class="flexrow">
{{#if_not_eq (localize (concat 'DG.Attributes.' skill.key)) (concat "DG.Attributes." skill.key)}}
<label title="{{localize (concat 'DG.Attributes.Tooltip.' skill.key)}}">
<label data-tooltip="{{localize (concat 'DG.Attributes.Tooltip.' skill.key)}}">
{{skill.name}} ({{localize (concat 'DG.Attributes.' skill.key)}}, {{skill.targetNumber}}%)
</label>
{{else}}
{{#if_not_eq (localize (concat 'DG.Skills.' skill.key)) (concat "DG.Skills." skill.key)}}
<label title="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{skill.name}} ({{localize (concat 'DG.Skills.' skill.key)}}, {{skill.targetNumber}}%)
</label>
{{else}}
+6 -6
View File
@@ -21,7 +21,7 @@
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<label for="actor.system.health.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.health.value" value="{{actor.system.health.value}}" data-dtype="Number"/>
<span> / </span>
@@ -31,7 +31,7 @@
{{!-- WP --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<label for="system.wp.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.WP'}}">{{localize 'DG.Attributes.WP' }}</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.wp.value" value="{{actor.system.wp.value}}" data-dtype="Number"/>
<span> / </span>
@@ -41,7 +41,7 @@
{{!-- Sanity Damage --}}
<div class="resource-outer-grid-1col">
<label class="resource-label rollable" data-rolltype="sanity-damage" title="{{localize 'DG.Attributes.Tooltip.SAN'}}">{{localize 'DG.Attributes.SAN'}} <i class="fas fa-dice"></i></label>
<label class="resource-label rollable" data-rolltype="sanity-damage" data-tooltip="{{localize 'DG.Attributes.Tooltip.SAN'}}">{{localize 'DG.Attributes.SAN'}} <i class="fas fa-dice"></i></label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.sanity.successLoss" value="{{actor.system.sanity.successLoss}}" />
<span> / </span>
@@ -96,12 +96,12 @@
{{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
<div class="flexrow flex-group-left flex-thin-border">
<label title="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }}
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label" data-rolltype="skill" data-roll="d100" data-key="{{skill.key}}" for="system.skills.{{skill.key}}.value"
{{#if skill.proficiency}}title="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}title="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
{{#if skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.SkillLabel'}}"{{/if}}
{{#unless skill.proficiency}}data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"{{/unless}}
>
<i class="fas fa-dice"></i>
</label>
+1 -1
View File
@@ -22,7 +22,7 @@
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value" class="resource-label" title="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<label for="actor.system.health.value" class="resource-label" data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)</label>
<div class="resource-inner-grid-3col">
<input type="text" name="system.health.value" value="{{actor.system.health.value}}" data-dtype="Number"/>
<span> / </span>