Add back the "include tools" option
* Rewrite the crafting algorithm to recursively find all the steps involved and then resolve how many times each needs to be run. * Update the base controller to debounce calls to refresh * Fix a few erroneous recipes for IC2-Classic
This commit is contained in:
@@ -20,7 +20,9 @@ module.exports = class Recipe extends BaseModel
|
||||
attributes.tools ?= []
|
||||
super attributes, options
|
||||
|
||||
Object.defineProperty @prototype, 'name', get:-> @item.name
|
||||
Object.defineProperties this,
|
||||
'name': { get: -> @item.name }
|
||||
'slug': { get: -> @item.slug }
|
||||
|
||||
# Public Methods ###############################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user