Iterated on proficiencies towards making them first class assets
This commit is contained in:
@@ -5,16 +5,18 @@ Schemas.Proficiency = new SimpleSchema({
|
|||||||
type: String,
|
type: String,
|
||||||
regEx: SimpleSchema.RegEx.Id
|
regEx: SimpleSchema.RegEx.Id
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
trim: false
|
trim: false
|
||||||
},
|
},
|
||||||
//indicates what type of thing proficiency originated from
|
value: {
|
||||||
|
type: Number,
|
||||||
|
allowedValues: [0, 0.5, 1],
|
||||||
|
},
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
defaultValue: "editable",
|
allowedValues: ["skill", "save", "weapon", "armor", "tool", "language"]
|
||||||
allowedValues: ["editable", "feature", "buff", "equipment", "inate"]
|
}
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Proficiencies.attachSchema(Schemas.Proficiency);
|
Proficiencies.attachSchema(Schemas.Proficiency);
|
||||||
|
|||||||
Reference in New Issue
Block a user