This commit is contained in:
kepler155c
2018-01-27 03:28:12 -05:00
parent 6dbb2774b4
commit e8824aec3a
2 changed files with 452 additions and 1 deletions

View File

@@ -1236,7 +1236,7 @@ end
function craftPage.wizard.pages.resources:enable()
local items = listItems()
local count = tonumber(self.parent.quantity.count.value)
local recipe = Craft.findRecipe(self.item)
local recipe = Craft.findRecipe(craftPage.item)
local ingredients = Craft.getResourceList4(recipe, items, count)
for _,v in pairs(ingredients) do
v.displayName = itemDB:getName(v)