diff --git a/templates/actor/actor-sheet.html b/templates/actor/actor-sheet.html index d4694ab..08dd841 100644 --- a/templates/actor/actor-sheet.html +++ b/templates/actor/actor-sheet.html @@ -13,7 +13,7 @@

-

+

@@ -22,51 +22,51 @@ {{!-- HP --}}
- +
- + / - +
-
{{numberFormat actor.data.data.health.max decimals=0 sign=false}}
+
{{numberFormat actor.system.health.max decimals=0 sign=false}}
{{!-- WP --}}
- +
- + / - +
-
{{numberFormat actor.data.data.wp.max decimals=0 sign=false}}
+
{{numberFormat actor.system.wp.max decimals=0 sign=false}}
{{!-- Sanity --}}
-
{{#if (keepSanityPrivate)}} - + /
-
{{numberFormat actor.data.data.sanity.max decimals=0 sign=false}}
+
{{numberFormat actor.system.sanity.max decimals=0 sign=false}}
{{/if}} {{#unless (keepSanityPrivate)}} - + /
-
{{numberFormat actor.data.data.sanity.max decimals=0 sign=false}}
+
{{numberFormat actor.system.sanity.max decimals=0 sign=false}}
{{/unless}} @@ -94,10 +94,10 @@
- {{#each actor.data.data.skills as |skill key|}} + {{#each actor.system.skills as |skill key|}}
-
- {{#each actor.data.data.typedSkills as |skill key|}} + {{#each actor.system.typedSkills as |skill key|}}
- - + +
@@ -161,16 +161,16 @@ {{!-- Physical Statistics like STR, CON, etc. --}}
- {{#each actor.data.data.statistics as |statistic key|}} + {{#each actor.system.statistics as |statistic key|}}
- - + + ({{numberFormat statistic.x5 decimals=0 sign=false}}%)
- +
@@ -181,13 +181,13 @@ - +
- + - +
@@ -197,7 +197,7 @@
- + {{localize 'DG.Mental.Reset'}}
@@ -206,27 +206,27 @@
- - - + + + - - - + + + @@ -251,15 +251,15 @@
  • {{item.name}}

    - {{#if item.data.data.crossedOut}} -

    {{item.data.data.disorder}}

    + {{#if item.system.crossedOut}} +

    {{item.system.disorder}}

    {{/if}}
    @@ -305,32 +305,32 @@ class="item-name rollable" data-roll="d100" data-rolltype="weaponskill" - data-target="{{item.data.data.skill}}" - data-label="{{localizeWeaponSkill item.data.data.skill}}" - title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.data.data.skill}})" + data-target="{{item.system.skill}}" + data-label="{{localizeWeaponSkill item.system.skill}}" + title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.system.skill}})" > {{item.name}} - {{#unless item.data.data.isLethal}} + {{#unless item.system.isLethal}} - {{toUpperCase item.data.data.damage}}{{#if_eq item.data.data.skill 'unarmed_combat'}}{{actor.data.data.statistics.str.meleeDamageBonusFormula}}{{/if_eq}}{{#if_eq item.data.data.skill 'melee_weapons'}}{{actor.data.data.statistics.str.meleeDamageBonusFormula}}{{/if_eq}} + {{toUpperCase item.system.damage}}{{#if_eq item.system.skill 'unarmed_combat'}}{{actor.system.statistics.str.meleeDamageBonusFormula}}{{/if_eq}}{{#if_eq item.system.skill 'melee_weapons'}}{{actor.system.statistics.str.meleeDamageBonusFormula}}{{/if_eq}} {{/unless}} - {{#if item.data.data.isLethal}} - {{formatLethality item.data.data.lethality}} + >{{formatLethality item.system.lethality}} {{/if}} - {{item.data.data.armorPiercing}} + {{item.system.armorPiercing}}
    @@ -366,10 +366,10 @@
  • {{item.name}}

    - {{item.data.data.protection}} + {{item.system.protection}} - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} @@ -415,7 +415,7 @@ - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} @@ -463,8 +463,8 @@
  • {{item.name}}

    - {{item.data.data.relationship}} - {{item.data.data.score}} + {{item.system.relationship}} + {{item.system.score}}
    diff --git a/templates/actor/cv-partial.html b/templates/actor/cv-partial.html index aeeec1c..148b02a 100644 --- a/templates/actor/cv-partial.html +++ b/templates/actor/cv-partial.html @@ -1,24 +1,24 @@
    {{localize 'DG.CV.Sex'}} - + {{localize 'DG.CV.AgeAndDoB'}} - +
    {{localize 'DG.CV.Employer'}} - + {{localize 'DG.CV.Nationality'}} - +
    {{localize 'DG.CV.Education'}} - +
    {{#if (playerHasGamemasterPrivileges)}} @@ -27,20 +27,20 @@ {{localize 'DG.ImpossibleLanscapes.IHaveSeenThe'}} {{localize 'DG.ImpossibleLanscapes.YellowSign'}} - + {{localize 'DG.ImpossibleLanscapes.CorruptionFirstHalf'}} {{localize 'DG.ImpossibleLanscapes.CorruptionSecondHalf'}} - +
    {{localize 'DG.ImpossibleLanscapes.Gift'}} - + {{localize 'DG.ImpossibleLanscapes.Insight'}} - +
    {{/if}} @@ -50,5 +50,5 @@
  • - {{editor content=actor.data.data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}} + {{editor actor.system.physicalDescription target="system.physicalDescription" button=true owner=owner editable=editable}}
    \ No newline at end of file diff --git a/templates/actor/limited-sheet.html b/templates/actor/limited-sheet.html index 65af6a2..8126f1b 100644 --- a/templates/actor/limited-sheet.html +++ b/templates/actor/limited-sheet.html @@ -13,7 +13,7 @@

    -

    +

    diff --git a/templates/actor/npc-sheet.html b/templates/actor/npc-sheet.html index 02805df..aa0da74 100644 --- a/templates/actor/npc-sheet.html +++ b/templates/actor/npc-sheet.html @@ -13,7 +13,7 @@

    -

    +

    @@ -22,33 +22,33 @@ {{!-- HP --}}
    - +
    - + / - +
    {{!-- WP --}}
    - +
    - + / - +
    {{!-- Sanity --}}
    -
    - + {{localize 'DG.NPCSheet.BreakPointAbbreviation'}}: - +
    @@ -58,15 +58,15 @@ {{!-- Physical Statistics like STR, CON, etc. --}}
    - {{#each actor.data.data.statistics as |statistic key|}} + {{#each actor.system.statistics as |statistic key|}}
    - - + + ({{numberFormat statistic.x5 decimals=0 sign=false}}%)
    - {{!--
    --}} + {{!--
    --}}
    {{/each}} @@ -90,22 +90,22 @@
    {{!-- Checkbox to hide/show skills that are at zero --}}
    - {{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}: - + {{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}: +
    - {{#each actor.data.data.skills as |skill key|}} + {{#each actor.system.skills as |skill key|}} - {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.data.data.showUntrainedSkills skill.proficiency)}} + {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
    - - +
    {{/if}} @@ -118,8 +118,8 @@ {{localize 'DG.Skills.AddTypedOrCustomSkill'}}
    - {{#each actor.data.data.typedSkills as |skill key|}} - {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.data.data.showUntrainedSkills skill.proficiency)}} + {{#each actor.system.typedSkills as |skill key|}} + {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
    - +
    @@ -143,7 +143,7 @@
    - {{editor content=actor.data.data.notes target="data.notes" button=true owner=owner editable=editable}} + {{editor actor.system.notes target="system.notes" button=true owner=owner editable=editable}}
    @@ -180,32 +180,32 @@ class="item-name rollable" data-roll="d100" data-rolltype="weaponskill" - data-target="{{item.data.data.skill}}" - data-label="{{localizeWeaponSkill item.data.data.skill}}" - title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.data.data.skill}})" + data-target="{{item.system.skill}}" + data-label="{{localizeWeaponSkill item.system.skill}}" + title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.system.skill}})" > {{item.name}} - {{#unless item.data.data.isLethal}} + {{#unless item.system.isLethal}} - {{toUpperCase item.data.data.damage}} + {{toUpperCase item.system.damage}} {{/unless}} - {{#if item.data.data.isLethal}} - {{formatLethality item.data.data.lethality}} + >{{formatLethality item.system.lethality}} {{/if}} - {{item.data.data.armorPiercing}} + {{item.system.armorPiercing}}
    @@ -241,10 +241,10 @@
  • {{item.name}}

    - {{item.data.data.protection}} + {{item.system.protection}} - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} @@ -291,7 +291,7 @@ - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} diff --git a/templates/actor/unnatural-sheet.html b/templates/actor/unnatural-sheet.html index 54b62d5..ac20b0d 100644 --- a/templates/actor/unnatural-sheet.html +++ b/templates/actor/unnatural-sheet.html @@ -13,7 +13,7 @@

  • -

    +

    @@ -22,31 +22,31 @@ {{!-- HP --}}
    - +
    - + / - +
    {{!-- WP --}}
    - +
    - + / - +
    {{!-- Sanity Damage --}}
    - +
    - + / - +
    @@ -56,12 +56,12 @@ {{!-- Physical Statistics like STR, CON, etc. --}}
    - {{#each actor.data.data.statistics as |statistic key|}} + {{#each actor.system.statistics as |statistic key|}}
    - - + + ({{numberFormat statistic.x5 decimals=0 sign=false}}%)
    @@ -87,22 +87,22 @@
    {{!-- Checkbox to hide/show skills that are at zero --}}
    - {{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}: - + {{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}: +
    - {{#each actor.data.data.skills as |skill key|}} + {{#each actor.system.skills as |skill key|}} - {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.data.data.showUntrainedSkills skill.proficiency)}} + {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
    - - +
    {{/if}} @@ -115,8 +115,8 @@ {{localize 'DG.Skills.AddTypedOrCustomSkill'}}
    - {{#each actor.data.data.typedSkills as |skill key|}} - {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.data.data.showUntrainedSkills skill.proficiency)}} + {{#each actor.system.typedSkills as |skill key|}} + {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
    - +
    @@ -140,7 +140,7 @@
    - {{editor content=actor.data.data.notes target="data.notes" button=true owner=owner editable=editable}} + {{editor actor.system.notes target="system.notes" button=true owner=owner editable=editable}}
    @@ -177,32 +177,32 @@ class="item-name rollable" data-roll="d100" data-rolltype="weaponskill" - data-target="{{item.data.data.skill}}" - data-label="{{localizeWeaponSkill item.data.data.skill}}" - title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.data.data.skill}})" + data-target="{{item.system.skill}}" + data-label="{{localizeWeaponSkill item.system.skill}}" + title="{{localize 'DG.Tooltip.SkillLabel'}} ({{localizeWeaponSkill item.system.skill}})" > {{item.name}} - {{#unless item.data.data.isLethal}} + {{#unless item.system.isLethal}} - {{toUpperCase item.data.data.damage}} + {{toUpperCase item.system.damage}} {{/unless}} - {{#if item.data.data.isLethal}} - {{formatLethality item.data.data.lethality}} + >{{formatLethality item.system.lethality}} {{/if}} - {{item.data.data.armorPiercing}} + {{item.system.armorPiercing}}
    @@ -238,10 +238,10 @@
  • {{item.name}}

    - {{item.data.data.protection}} + {{item.system.protection}} - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} @@ -288,7 +288,7 @@ - {{#if item.data.data.equipped}} + {{#if item.system.equipped}} {{else}} diff --git a/templates/item/item-armor-sheet.html b/templates/item/item-armor-sheet.html index c7a3d74..934a75e 100644 --- a/templates/item/item-armor-sheet.html +++ b/templates/item/item-armor-sheet.html @@ -10,23 +10,23 @@ {{localize 'DG.ItemWindow.Armor.Expense'}}: - + + + + + {{localize 'DG.ItemWindow.Armor.Equipped'}}: - +
  • {{localize 'DG.ItemWindow.Armor.ArmorRating'}}: - +
    @@ -41,7 +41,7 @@ {{!-- Description Tab --}}
    - {{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}} + {{editor system.description target="system.description" button=true owner=owner editable=editable}}
    diff --git a/templates/item/item-bond-sheet.html b/templates/item/item-bond-sheet.html index a995800..54ef5f0 100644 --- a/templates/item/item-bond-sheet.html +++ b/templates/item/item-bond-sheet.html @@ -9,12 +9,12 @@ {{localize 'DG.Bonds.Score'}}: - {{localize 'DG.Bonds.Relationship'}}: - +
    @@ -30,7 +30,7 @@ {{!-- Description Tab --}}
    - {{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}} + {{editor system.description target="system.description" button=true owner=owner editable=editable}}
    diff --git a/templates/item/item-gear-sheet.html b/templates/item/item-gear-sheet.html index 22660f7..79de9c4 100644 --- a/templates/item/item-gear-sheet.html +++ b/templates/item/item-gear-sheet.html @@ -11,16 +11,16 @@ {{localize 'DG.ItemWindow.Gear.Expense'}}: - + + + + + {{localize 'DG.ItemWindow.Gear.Equipped'}}: - +
    @@ -38,7 +38,7 @@ {{!-- Description Tab --}}
    - {{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}} + {{editor system.description target="system.description" button=true owner=owner editable=editable}}
    diff --git a/templates/item/item-motivation-sheet.html b/templates/item/item-motivation-sheet.html index 50a7956..4a07283 100644 --- a/templates/item/item-motivation-sheet.html +++ b/templates/item/item-motivation-sheet.html @@ -13,7 +13,7 @@
    {{localize 'DG.ItemWindow.Motivations.IsDisorder'}}: - @@ -25,7 +25,7 @@ title="{{localize 'DG.ItemWindow.Motivations.MotivationNameTooltip'}}" {{!-- If a motivation has been crossed off after a breaking point, do a strikeout on it and disable it. --}} - {{#if data.data.crossedOut}} + {{#if system.crossedOut}} style="text-decoration: line-through;" disabled {{/if}} @@ -33,17 +33,17 @@ {{!-- Only Show the Disorders Section if Motivation Lost Checked --}} - {{#if data.data.crossedOut}} + {{#if system.crossedOut}} {{localize 'DG.ItemWindow.Motivations.Disorder'}}: - {{localize 'DG.ItemWindow.Motivations.DisorderHasBeenCured'}}: - @@ -54,7 +54,7 @@
    - {{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}} + {{editor system.description target="system.description" button=true owner=owner editable=editable}}
    diff --git a/templates/item/item-weapon-sheet.html b/templates/item/item-weapon-sheet.html index 2cb597e..e85a2ba 100644 --- a/templates/item/item-weapon-sheet.html +++ b/templates/item/item-weapon-sheet.html @@ -10,16 +10,16 @@ {{localize 'DG.ItemWindow.Weapons.Expense'}}: - + + + + + {{localize 'DG.ItemWindow.Gear.Equipped'}}: - +
    @@ -29,57 +29,57 @@
    {{localize 'DG.ItemWindow.Weapons.Skill'}}: - + + + + + + + + + + + + + {{localize 'DG.ItemWindow.Weapons.IsLethality'}}: - {{localize 'DG.ItemWindow.Weapons.KillRadius'}}: - +
    {{localize 'DG.ItemWindow.Weapons.Range'}}: - + {{!-- If a weapon is 'Lethal', need to show the d100% Lethality input, otherwise only show the regular Damage formula (e.g. 1D6, 1D4+2, etc...) --}} - {{#unless data.data.isLethal}} + {{#unless system.isLethal}} {{localize 'DG.ItemWindow.Weapons.Damage'}}: - + {{/unless}} - {{#if data.data.isLethal}} + {{#if system.isLethal}} {{localize 'DG.ItemWindow.Weapons.Lethality'}} %: - {{/if}} {{localize 'DG.ItemWindow.Weapons.ArmorPiercing'}}: - +
    @@ -87,7 +87,7 @@
    {{localize 'DG.ItemWindow.Weapons.Ammo'}}: - +
    @@ -103,7 +103,7 @@ {{!-- Description Tab --}}
    - {{editor content=data.data.description target="data.description" button=true owner=owner editable=editable}} + {{editor system.description target="system.description" button=true owner=owner editable=editable}}