Added weights and content weight to containers UI

This commit is contained in:
Stefan Zermatten
2021-02-24 14:07:20 +02:00
parent c248d8f4a0
commit 0404020335
5 changed files with 94 additions and 9 deletions

View File

@@ -88,6 +88,9 @@ function getInventoryData(tree, containersToWrite){
data.weightCarried = 0;
data.valueCarried = 0;
}
if (node.contentsWeightless){
data.weightCarried = node.weight;
}
return data
}