diff --git a/lang/de.json b/lang/de.json index 9f287d8..4859009 100644 --- a/lang/de.json +++ b/lang/de.json @@ -131,7 +131,7 @@ "midgard5.heavy-load": "Schwere Last", "midgard5.thrust-load": "Schublast", "midgard5.load-max": "Höchstlast", - "midgard5.load-capacity": "Tragkraft", + "midgard5.capacity": "Tragkraft", "midgard5.exp-overall": "Erfahrungsschatz", "midgard5.exp-available": "Erfahrungspunkte", diff --git a/source/module/actors/M5Character.ts b/source/module/actors/M5Character.ts index 3ce532c..5cadd1a 100644 --- a/source/module/actors/M5Character.ts +++ b/source/module/actors/M5Character.ts @@ -276,6 +276,7 @@ export class M5Character extends Actor { calc: item.system.calc, equipped: item.system?.equipped, weight: item.system.weight || 0, + capacity: item.system.capacity || 0, value: item.system.value || 0, currency: item.system.currency || "", quantity: item.system.quantity || 0, diff --git a/source/template.json b/source/template.json index 08dfec7..191db91 100644 --- a/source/template.json +++ b/source/template.json @@ -219,6 +219,7 @@ "physical": { "value": 0, "weight": 0, + "capacity": 0, "containerId": "", "magic": false }, diff --git a/templates/sheets/character/gear.hbs b/templates/sheets/character/gear.hbs index 100521a..79efc09 100644 --- a/templates/sheets/character/gear.hbs +++ b/templates/sheets/character/gear.hbs @@ -231,6 +231,7 @@