diff --git a/Dungeon_World_Official/Dungeon World.html b/Dungeon_World_Official/Dungeon World.html index a72aad28f2..85c9620f0a 100755 --- a/Dungeon_World_Official/Dungeon World.html +++ b/Dungeon_World_Official/Dungeon World.html @@ -500,6 +500,7 @@ + @@ -512,6 +513,9 @@ Value: + + Qty: + Weight: @@ -571,7 +575,7 @@
- @@ -769,6 +773,9 @@ {{#rollGreater() level 0}}
Level: {{level}}
{{/rollGreater() level 0}} + {{#tags}} +
{{tags}}
+ {{/tags}}
{{#modifiers}}
@@ -2529,11 +2536,23 @@ on("change:repeating_gear:gear_type", function() { }); }); -on("change:repeating_gear:gear_weight remove:repeating_gear", function() { +on("change:repeating_gear:gear_weight change:repeating_gear:gear_quantity", function() { + getAttrs(["repeating_gear_gear_weight", "repeating_gear_gear_quantity"], function(v) { + var weight = v.repeating_gear_gear_weight; + var quantity = v.repeating_gear_gear_quantity; + if (isNaN(weight)) weight = 0; + if (isNaN(quantity)) quantity = 0; + setAttrs({ + repeating_gear_calc_gear_weight: +weight * +quantity + }); + }) +}) + +on("change:repeating_gear:calc_gear_weight remove:repeating_gear", function() { getSectionIDs("repeating_gear", function(ids) { var gearWeights = []; for(var i=0; i < ids.length; i++) { - gearWeights.push("repeating_gear_" + ids[i] + "_gear_weight"); + gearWeights.push("repeating_gear_" + ids[i] + "_calc_gear_weight"); } getAttrs(gearWeights, function(v) { var newLoad = 0; diff --git a/Dungeon_World_Official/sheet.json b/Dungeon_World_Official/sheet.json index 5dc0234236..e7989d701b 100755 --- a/Dungeon_World_Official/sheet.json +++ b/Dungeon_World_Official/sheet.json @@ -5,5 +5,5 @@ "roll20userid": "1464775", "preview": "Dungeon World.png", "compendium": "dw", - "instructions": "Designed for use with Dungeon World, an Apocalypse World Engine game.\n\n* Fully Compatible with the Dungeon World Compendium. Import Moves, Spells, and entire Classes straight from the tabletop.\n* Designed after the official Dungeon World Play Sheets for a streamlined, comfortable play experience." + "instructions": "Designed for use with Dungeon World, an Apocalypse World Engine game.\n\n* Fully Compatible with the [Dungeon World Compendium](https://roll20.net/compendium/dw). Import Moves, Spells, and entire Classes straight from the tabletop.\n* Designed after the official Dungeon World Play Sheets for a streamlined, comfortable play experience." } \ No newline at end of file diff --git a/Dungeon_World_Official/translation.json b/Dungeon_World_Official/translation.json index d826bbcc8e..b3363cafbf 100755 --- a/Dungeon_World_Official/translation.json +++ b/Dungeon_World_Official/translation.json @@ -70,6 +70,7 @@ "load-u": "LOAD", "gear-name": "Gear Name:", "value:": "Value:", + "qty:": "Qty:", "weight:": "Weight:", "equipped": "Equipped", "item": "Item", @@ -103,10 +104,9 @@ "none": "None", "spellcasting": "

Spellcasting

", "level-0-spell-type": "Level 0 Spell Type", - "rolls": "rolls", "name-makes-move": "makes a Move", - "move-effect": "Effect:", + "rolls": "rolls", + "displays": "displays", "name-makes-spell": "casts a spell", - "level:": "Level: ", - "displays": "displays" + "level:": "Level: " } \ No newline at end of file diff --git a/Dungeon_World_Official/translations/en.json b/Dungeon_World_Official/translations/en.json index d826bbcc8e..b3363cafbf 100755 --- a/Dungeon_World_Official/translations/en.json +++ b/Dungeon_World_Official/translations/en.json @@ -70,6 +70,7 @@ "load-u": "LOAD", "gear-name": "Gear Name:", "value:": "Value:", + "qty:": "Qty:", "weight:": "Weight:", "equipped": "Equipped", "item": "Item", @@ -103,10 +104,9 @@ "none": "None", "spellcasting": "

Spellcasting

", "level-0-spell-type": "Level 0 Spell Type", - "rolls": "rolls", "name-makes-move": "makes a Move", - "move-effect": "Effect:", + "rolls": "rolls", + "displays": "displays", "name-makes-spell": "casts a spell", - "level:": "Level: ", - "displays": "displays" + "level:": "Level: " } \ No newline at end of file