Added color options for containers, added spell lists

This commit is contained in:
Thaum
2015-02-12 13:08:20 +00:00
parent 5e98154e8d
commit 7441f09f37
32 changed files with 226 additions and 84 deletions

View File

@@ -8,7 +8,8 @@ Schemas.Container = new SimpleSchema({
isCarried: { type: Boolean },
weight: {type: Number, min: 0, defaultValue: 0, decimal: true},
value: {type: Number, min: 0, defaultValue: 0, decimal: true},
description:{type: String, optional: true}
description:{type: String, optional: true},
color: {type: String, allowedValues: _.keys(colorOptions), defaultValue: "brown"}
});
Containers.attachSchema(Schemas.Container);