Slot quantity is now a computed value, added property viewer for slots
This commit is contained in:
@@ -23,6 +23,7 @@ export default function computeEndStepProperty(prop, memo){
|
||||
computePropertyField(prop, memo, 'maxPrepared');
|
||||
break;
|
||||
case 'propertySlot':
|
||||
computePropertyField(prop, memo, 'quantityExpected');
|
||||
computePropertyField(prop, memo, 'slotCondition');
|
||||
break;
|
||||
case 'roll':
|
||||
|
||||
@@ -21,6 +21,9 @@ export default function evaluateCalculation({
|
||||
context,
|
||||
dependencies,
|
||||
};
|
||||
if (typeof string !== 'string'){
|
||||
string = string.toString();
|
||||
}
|
||||
// Parse the string
|
||||
let calc;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user