#6 Lasten und Gewichte #52

Merged
Byroks merged 16 commits from lasten into develop 2024-02-24 11:23:39 +01:00
2 changed files with 10 additions and 1 deletions
Showing only changes of commit 3f2dbc4e21 - Show all commits

View File

@ -453,7 +453,10 @@ export class M5Character extends Actor {
};
if (item.system.hoarded) {
ret.stats.hoard += item.system.value || 0;
}
};
if (item.system.equipped) {
ret.stats.encumbrance += 0;
} else {ret.stats.encumbrance += item.system.weight || 0}
ret.gear.armor[item.id] = {
label: label,

View File

@ -48,6 +48,12 @@
</select>
</div>
</td>
<td>
<div class="flexrow">
<span>{{localize "midgard5.item-weight"}}</span>
<input id="data.weight" type="number" name="data.weight" value="{{data.weight}}">
</div>
</td>
</tr>
<tr>
<td>{{localize "midgard5.lpProtection"}}</td>