Module:Recipes: Difference between revisions

From Guinea Isles Wiki
No edit summary
No edit summary
Line 2: Line 2:
-- Module for crafting recipes
-- Module for crafting recipes
------------------------
------------------------
local data = require( 'Module:Recipes/data.json' )
local data = mw.loadData('Module:Recipes/data.json')


local p = {}
local p = {}

Revision as of 14:24, 20 September 2025

Module:Recipes is a module designed around managing the data of in-game recipes of all kinds. It allows users to query Module:Recipes/data.json, which contains this information in JSON format.

Functions


--------------------------
-- Module for crafting recipes
------------------------
local data = mw.loadData('Module:Recipes/data.json')

local p = {}

function p.main(frame)
	local args = frame:getParent().args
	
	return "Cats"
end

return p