COLUMNS! no more flexbox shenanigans

This commit is contained in:
Thaum
2015-02-16 14:26:26 +00:00
parent 28aed14cda
commit d18c58c5ed
20 changed files with 93 additions and 95 deletions

View File

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

View File

@@ -15,7 +15,7 @@ Schemas.Item = new SimpleSchema({
allowedValues: ["none", "head", "armor", "arms", "hands", "held", "feet"]
},
equipped: {type: Boolean, defaultValue: false},
color: {type: String, allowedValues: _.keys(colorOptions), defaultValue: "green"}
color: {type: String, allowedValues: _.pluck(colorOptions, "key"), defaultValue: "q"}
});
Items.attachSchema(Schemas.Item);