Add ability to craft multipl items at once
* Remove the old crafting table view * Complete UI/UX of the inventory view
This commit is contained in:
@@ -5,9 +5,9 @@ Copyright (c) 2014-2015 by Redwood Labs
|
||||
All rights reserved.
|
||||
###
|
||||
|
||||
BaseModel = require './base_model'
|
||||
CraftingTable = require './crafting_table'
|
||||
ModPack = require './mod_pack'
|
||||
BaseModel = require './base_model'
|
||||
CraftingPlan = require './crafting_plan'
|
||||
ModPack = require './mod_pack'
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
@@ -15,5 +15,5 @@ module.exports = class ItemPage extends BaseModel
|
||||
|
||||
constructor: (attributes={}, options={})->
|
||||
attributes.modPack ?= new ModPack
|
||||
attributes.table ?= new CraftingTable modPack:attributes.modPack
|
||||
attributes.plan ?= new CraftingPlan attributes.modPack
|
||||
super attributes, options
|
||||
|
||||
Reference in New Issue
Block a user