Slot fill fields given to all lib nodes

This commit is contained in:
Stefan Zermatten
2023-03-31 12:21:30 +02:00
parent 25e053c473
commit 8e610c2cd8
7 changed files with 336 additions and 133 deletions

View File

@@ -19,24 +19,6 @@ let SlotFillerSchema = new SimpleSchema({
optional: true,
max: STORAGE_LIMITS.description,
},
// Overrides the type when searching for properties
slotFillerType: {
type: String,
optional: true,
max: STORAGE_LIMITS.variableName,
},
// Fill more than one quantity in a slot, like feats and ability score
// improvements, filtered out of UI if there isn't space in quantityExpected
slotQuantityFilled: {
type: SimpleSchema.Integer,
defaultValue: 1,
},
// Filters out of UI if condition isn't met, but isn't otherwise enforced
slotFillerCondition: {
type: String,
optional: true,
max: STORAGE_LIMITS.calculation,
},
});
const ComputedOnlySlotFillerSchema = new SimpleSchema({});