Added label for grips in Weapon sheet (thanks to TesserWract)

This commit is contained in:
Vlyan
2021-06-16 09:22:43 +02:00
parent 855e3272fc
commit 73f3a634b0
7 changed files with 20 additions and 7 deletions

View File

@@ -6,6 +6,7 @@
- Added English Compendiums for Field of Victory (thanks to mdosantos). - Added English Compendiums for Field of Victory (thanks to mdosantos).
- Added English "Blessed Treasures" in items for Field of Victory (thanks to PlatFleece) - Added English "Blessed Treasures" in items for Field of Victory (thanks to PlatFleece)
- Added English/French "Blessed Treasures" and "Concealed Horror" in items for Shadowlands. - Added English/French "Blessed Treasures" and "Concealed Horror" in items for Shadowlands.
- Added label for grips in Weapon sheet (thanks to TesserWract)
- Fixed the "empty sheet" bug ! (I hope) - Fixed the "empty sheet" bug ! (I hope)
- Fixed the "bought_at_rank" does not change according to the PC rank value when an Item is drop on a sheet. - Fixed the "bought_at_rank" does not change according to the PC rank value when an Item is drop on a sheet.
- Fixed the issue #23 "Token image does not save". Now we reflect the change on the token name/image only if it's a linked actor and if the token/sheet have the same values. - Fixed the issue #23 "Token image does not save". Now we reflect the change on the token name/image only if it's a linked actor and if the token/sheet have the same values.

View File

@@ -148,7 +148,9 @@
"readied": "Readied", "readied": "Readied",
"category": "Category", "category": "Category",
"deadliness": "Deadliness", "deadliness": "Deadliness",
"grips": "Grips" "grips": "Grips",
"1hand": "1-hand",
"2hand": "2-hand"
}, },
"armors": { "armors": {
"title": "Armors", "title": "Armors",

View File

@@ -148,7 +148,9 @@
"readied": "Preparado", "readied": "Preparado",
"category": "Categoría", "category": "Categoría",
"deadliness": "Letalidad", "deadliness": "Letalidad",
"grips": "Agarres" "grips": "Agarres",
"1hand": "1-hand",
"2hand": "2-hand"
}, },
"armors": { "armors": {
"title": "Armaduras", "title": "Armaduras",

View File

@@ -148,7 +148,9 @@
"readied": "Apprêté", "readied": "Apprêté",
"category": "Catégorie", "category": "Catégorie",
"deadliness": "Dangerosité (DGR)", "deadliness": "Dangerosité (DGR)",
"grips": "Prise" "grips": "Prise",
"1hand": "1 main",
"2hand": "2 mains"
}, },
"armors": { "armors": {
"title": "Armures", "title": "Armures",

File diff suppressed because one or more lines are too long

View File

@@ -189,7 +189,7 @@
input[type="number"] { input[type="number"] {
width: 2rem; width: 2rem;
&.grip { &.grip {
width: 100%; width: calc(100% - 4rem);
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }

View File

@@ -47,8 +47,14 @@
</fieldset> </fieldset>
<fieldset class="stats"> <fieldset class="stats">
<legend class="text-block-header">{{localize 'l5r5e.weapons.grips'}}</legend> <legend class="text-block-header">{{localize 'l5r5e.weapons.grips'}}</legend>
<input class="grip" type="text" name="data.grip_1" value="{{document.data.data.grip_1}}" /> <label>
<input class="grip" type="text" name="data.grip_2" value="{{document.data.data.grip_2}}" /> {{localize 'l5r5e.weapons.1hand'}}
<input class="grip" type="text" name="data.grip_1" value="{{document.data.data.grip_1}}" />
</label>
<label>
{{localize 'l5r5e.weapons.2hand'}}
<input class="grip" type="text" name="data.grip_2" value="{{document.data.data.grip_2}}" />
</label>
</fieldset> </fieldset>
</article> </article>
<article class="properties" data-group="primary" data-tab="properties"> <article class="properties" data-group="primary" data-tab="properties">