Display images for each item referenced

This commit is contained in:
Andrew Miner
2015-01-04 01:01:00 -08:00
parent fc97854718
commit 150e85bb49
14 changed files with 147 additions and 34 deletions
+1
View File
@@ -17,6 +17,7 @@ module.exports = class Item extends BaseModel
if not attributes.name? then throw new Error 'attributes.name is required'
attributes.isGatherable ?= false
attributes.modVersion ?= null
attributes.recipes ?= []
attributes.slug ?= _.slugify attributes.name
attributes.stackSize ?= Item.DEFAULT_STACK_SIZE