Moved inventory computation to after toggles, added class levels computation

This commit is contained in:
Stefan Zermatten
2021-09-14 16:18:36 +02:00
parent 5c84836238
commit 8f93179187
23 changed files with 351 additions and 162 deletions

View File

@@ -9,7 +9,6 @@ let ClassLevelSchema = createPropertySchema({
optional: true,
max: STORAGE_LIMITS.name,
},
// Only used by slot filling dialog, not computed
description: {
type: 'inlineCalculationFieldToCompute',
optional: true,
@@ -24,12 +23,7 @@ let ClassLevelSchema = createPropertySchema({
level: {
type: SimpleSchema.Integer,
defaultValue: 1,
},
// Same as in SlotFillers.js
slotFillerCondition: {
type: String,
optional: true,
max: STORAGE_LIMITS.calculation,
max: STORAGE_LIMITS.levelMax,
},
});