Substantial progress on rebuilding computation engine

This commit is contained in:
Stefan Zermatten
2021-09-09 13:47:41 +02:00
parent 23e99565dc
commit 55bca633fc
16 changed files with 401 additions and 244 deletions

View File

@@ -44,10 +44,20 @@ const ComputedOnlyContainerSchema = createPropertySchema({
type: Number,
optional: true,
},
// Weight of all the carried contents (some sub-containers might not be carried)
// zero if `contentsWeightless` is true
carriedWeight:{
type: Number,
optional: true,
},
contentsValue:{
type: Number,
optional: true,
},
carriedValue:{
type: Number,
optional: true,
},
});
const ComputedContainerSchema = new SimpleSchema()