Added setting to swap stats and modifiers

Although Schemas.Character was changed, a database migration should
not be required due to the way characterSettings handles it (since
undefined is a falsy value).
This commit is contained in:
Jacob
2017-07-18 21:58:00 +01:00
parent 2a332a2965
commit 6fc469f934
5 changed files with 28 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ Schemas.Character = new SimpleSchema({
defaultValue: "whitelist",
allowedValues: ["whitelist", "public"],
},
"settings.swapStatAndModifier": {type: Boolean, defaultValue: false},
"settings.exportFeatures": {type: Boolean, defaultValue: true},
"settings.exportAttacks": {type: Boolean, defaultValue: true},
"settings.exportDescription": {type: Boolean, defaultValue: true},