Files
roll20-character-sheets/Troika/templates/_inventory.pug
T
morgdalaine d528a226d9 Add translation support
Some roll template text is dynamic and was not included
2023-01-20 13:33:32 -06:00

27 lines
899 B
Plaintext

- var n = 1;
.u-flex
.u-w50
while n <= 6
- var inventoryIndex = n++;
.u-flex.u-flex-align-center
span.inventory-index= inventoryIndex
+attrInput("o-input-line","text","inventory"+inventoryIndex)
+buttonsInvGrab(inventoryIndex)
if n!==2
+buttonsInvMoveUp(inventoryIndex)
if n===2
span.button.button--inv.button--inv-move.u-hidden
+buttonsInvMoveDown(inventoryIndex)
.u-w50
while n <= 12
- var inventoryIndex = n++;
.u-flex.u-flex-align-center
span.inventory-index.u-inline-block= inventoryIndex
+attrInput("o-input-line","text","inventory"+inventoryIndex)
+buttonsInvGrab(inventoryIndex)
+buttonsInvMoveUp(inventoryIndex)
if n!==13
+buttonsInvMoveDown(inventoryIndex)
if n===13
span.button.button--inv.button--inv-move.u-hidden