Editing Module:GetRecipes
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
-- Module:GetRecipes (https://wiki.play.eco/en/Module:GetRecipes) | |||
local p = {} | local p = {} | ||
local Utils = require('Module:Utils') | local Utils = require('Module:Utils') | ||
Line 15: | Line 16: | ||
function p.renderTable(item, tag, craftTable, group) | function p.renderTable(item, tag, craftTable, group) | ||
-- load list of recipes | -- load list of recipes | ||
local completeList = require("Module: | local completeList = require("Module:CraftingRecipes") | ||
local recipeList = completeList.recipes | local recipeList = completeList.recipes | ||
local ingredientsList = completeList.ingredients | local ingredientsList = completeList.ingredients |