diff --git a/Coriolis/Coriolis.html b/Coriolis/Coriolis.html index 2ffe5b6574..8556d9fddc 100644 --- a/Coriolis/Coriolis.html +++ b/Coriolis/Coriolis.html @@ -426,6 +426,16 @@
+ +
+
+

CARRY

+
+

MAX

+
+
+

+
@@ -1081,6 +1091,10 @@ update_mindpoints("wits", "empathy"); }); + on("change:strength", function() { + update_carryMAX("strength"); + }); + var versioning = function() { console.log("Version Checking...") getAttrs(["version"], function(v) { @@ -1182,6 +1196,7 @@ update_hitpoints("strength", "agility"); update_mindpoints("wits", "empathy"); + update_carryMAX("strength"); update_relationships(); update_weapons(); @@ -1441,4 +1456,13 @@ }); } + var update_carryMAX = function(par_Strength) { + console.log("Updating carryMAX"); + getAttrs([par_Strength], function(v) { + setAttrs({ + "carry-max": parseInt((v[par_Strength]*2),10) + }); + }); + } + diff --git a/Coriolis/translation.json b/Coriolis/translation.json index c9d72169eb..2847708760 100644 --- a/Coriolis/translation.json +++ b/Coriolis/translation.json @@ -55,6 +55,8 @@ "character-skills-survival-wits": "Survival (Wit)", "character-skills-technology-wits": "Technology (Wit)", "character-skills-talents-u": "TALENTS", + "carry-u": "CARRY", + "carry-max-u": "MAX", "inventory-gear-u": "GEAR", "bonus-u": "BONUS", "armor-u": "ARMOR",