Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Reagent Lookup

From Delta-V Wiki
Revision as of 09:38, 25 December 2023 by Floofers (talk | contribs)

Documentation for this module may be created at Module:Reagent Lookup/doc

local reagent = "User:Floofers/reagents.json"
reagent = mw.text.jsonDecode(mw.title.new(reagent, "User"):getContent())

local p = {}

function p.recipe(frame)
	return mw.text.nowiki(reagent[frame.args[1]]["recipes"])
end

return p