diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7f8ad86..25d72eb 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,7 @@ v2.5 - Updates the functionality with checkboxes and new FormDataExtended api. - Fixes Traumas for FVTT 0.7.2+. - Version update to be FVTT 0.7.2+ compatible. +- Fixes improper label-id for radio buttons in Character. v2.4 - Fixed Rolls: roll position is shown correctly now diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index ff6e682..27cc8a1 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -4,12 +4,12 @@
- - + +
- +
{{#each actor.items as |item id|}} @@ -77,11 +77,11 @@
- - + +
- {{> "systems/blades-in-the-dark/templates/parts/coins.html"}} + {{> "systems/blades-in-the-dark/templates/parts/coins.html" actor=actor}}
@@ -91,30 +91,31 @@ {{!-- Stress and Trauma --}}
-
+
{{#multiboxes data.stress.value}} - - + + {{#times_from_1 data.stress.max}} - - + + {{/times_from_1}} {{/multiboxes}}
-
+
{{#traumacounter data.trauma.list}} -
- +
+
- + {{#times_from_1 data.trauma.max}} - - + + {{/times_from_1}}
@@ -164,28 +165,28 @@ - + @@ -207,20 +208,20 @@ @@ -247,33 +248,33 @@
-

+

{{#multiboxes data.experience}} - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + {{/multiboxes}}
- +
{{#each actor.items as |item id|}} {{#if (eq item.type "ability")}} @@ -338,7 +339,7 @@
{{!-- Attributes --}} - {{> "systems/blades-in-the-dark/templates/parts/attributes.html"}} + {{> "systems/blades-in-the-dark/templates/parts/attributes.html" actor=actor}} diff --git a/templates/parts/attributes.html b/templates/parts/attributes.html index fb826ce..bf136f8 100644 --- a/templates/parts/attributes.html +++ b/templates/parts/attributes.html @@ -10,11 +10,13 @@
{{#multiboxes attribute.exp}} - - + + {{#times_from_1 6}} - - + + {{/times_from_1}} {{/multiboxes}}
@@ -23,13 +25,16 @@ {{!-- Skills --}} {{#each attribute.skills as |skill skill_name|}} +
+ {{#multiboxes skill.value}} {{#times_from_0 4}} - - + + {{/times_from_0}}
{{localize skill.label}}
diff --git a/templates/parts/coins.html b/templates/parts/coins.html index cbc2f0d..e1c1ace 100644 --- a/templates/parts/coins.html +++ b/templates/parts/coins.html @@ -2,19 +2,19 @@
- +
{{#multiboxes data.coins}} - - - - - - - - - + + + + + + + + + {{/multiboxes}}
@@ -22,94 +22,94 @@
- +
{{#multiboxes data.coins_stashed}} - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + {{/multiboxes}}
{{localize "BITD.Harm"}} {{localize "BITD.Armor"}}
3 - + {{localize "BITD.NeedHelp"}} {{#multiboxes data.healing-clock}}
- - - - - - - - - + + + + + + + + + {{/multiboxes}}
2 - + - + -1D
1 - + - + {{localize "BITD.LessEffect"}}