Documentation for this module may be created at Module:Chemistry Lookup/doc
local prototypes = mw.loadData("Module:Prototype Lookup/data") local p = {} p.prototypes = prototypes function p.readscalar(frame) return prototypes[frame.args[1]][frame.args[2]] end function p.hasrecipe(frame) return prototypes[frame.args[1]]["recipes"] ~= nil end return p