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

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 reagent[frame.args[1]]["recipes"]
end

return p