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 "Blessed Treasures" in items for Field of Victory (thanks to PlatFleece)
- 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 "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.

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -47,8 +47,14 @@
</fieldset>
<fieldset class="stats">
<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}}" />
<input class="grip" type="text" name="data.grip_2" value="{{document.data.data.grip_2}}" />
<label>
{{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>
</article>
<article class="properties" data-group="primary" data-tab="properties">