Add Consumable Items (#62)
Changes: + add Quantity value for items + add plus and minus buttons for list + add roll button if item contains formulas + decrease quantity by 1 if rolled
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
<span>{{localize "midgard5.item-quantity"}}</span>
|
||||
<input id="data.quantity" type="number" name="data.quantity" value="{{data.quantity}}">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flexrow">
|
||||
@@ -36,6 +44,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{{> "systems/midgard5/templates/sheets/item/rolls.hbs"}}
|
||||
|
||||
{{> "systems/midgard5/templates/sheets/partial/mod.hbs" mods=data.mods calc=data.calc}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user