diff --git a/src/twodsix.ts b/src/twodsix.ts index 848d91ffa..937dff9c2 100644 --- a/src/twodsix.ts +++ b/src/twodsix.ts @@ -78,6 +78,7 @@ Hooks.once('init', async function () { "systems/twodsix/templates/actors/parts/actor/actor-items.html", "systems/twodsix/templates/actors/parts/actor/actor-notes.html", "systems/twodsix/templates/actors/parts/actor/actor-skills.html", + "systems/twodsix/templates/actors/parts/actor/actor-characteristics.html", "systems/twodsix/templates/actors/ship-sheet.html", "systems/twodsix/templates/actors/parts/ship/ship-cargo.html", "systems/twodsix/templates/actors/parts/ship/ship-crew.html", diff --git a/static/templates/actors/actor-sheet.html b/static/templates/actors/actor-sheet.html index 3cc95d989..956c9fccf 100644 --- a/static/templates/actors/actor-sheet.html +++ b/static/templates/actors/actor-sheet.html @@ -4,7 +4,8 @@
?
- {{localize "TWODSIX.Actor.CharacterImage"}} + {{localize "TWODSIX.Actor.CharacterImage"}} + {{#unless limited}} {{#if actor.data.settings.ExperimentalFeatures}}
{{localize "TWODSIX.Items.Armor.Armor"}}:
{{/if}} + {{/unless}}
+ {{#unless limited}}
{{localize "TWODSIX.Actor.Age"}}: @@ -28,115 +31,10 @@ {{localize "TWODSIX.Actor.HomeWorld"}}:
- -
-
- {{localize "TWODSIX.Actor.Characteristics.STR"}} roll strength - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.DEX"}} roll dexterity - - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.END"}} roll endurance - - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.INT"}} roll intelligence - - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.EDU"}} roll education - - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.SOC"}} roll socialStanding - - - - - -
- -
- {{localize "TWODSIX.Actor.Characteristics.PSI"}} roll psionicStrength - - - - - - -
-
+ {{> "systems/twodsix/templates/actors/parts/actor/actor-characteristics.html"}} + {{/unless}}
- + {{#unless limited}} {{!-- Sheet Body --}}
@@ -177,5 +75,6 @@
+ {{/unless}} diff --git a/static/templates/actors/parts/actor/actor-characteristics.html b/static/templates/actors/parts/actor/actor-characteristics.html new file mode 100644 index 000000000..7df80aa85 --- /dev/null +++ b/static/templates/actors/parts/actor/actor-characteristics.html @@ -0,0 +1,106 @@ +
+
+ {{localize "TWODSIX.Actor.Characteristics.STR"}} roll strength + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.DEX"}} roll dexterity + + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.END"}} roll endurance + + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.INT"}} roll intelligence + + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.EDU"}} roll education + + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.SOC"}} roll socialStanding + + + + + +
+ +
+ {{localize "TWODSIX.Actor.Characteristics.PSI"}} roll psionicStrength + + + + + + +
+
diff --git a/static/templates/actors/ship-sheet.html b/static/templates/actors/ship-sheet.html index df0214282..7517e9be1 100644 --- a/static/templates/actors/ship-sheet.html +++ b/static/templates/actors/ship-sheet.html @@ -7,6 +7,7 @@
+ {{#unless limited}}
Ship Hull @@ -33,8 +34,9 @@
Weapons
+ {{/unless}}
- + {{#unless limited}} {{!-- Sheet Body --}}
@@ -68,4 +70,5 @@ {{> "systems/twodsix/templates/actors/parts/ship/ship-notes.html"}}
+ {{/unless}}