Module:Chemistry Lookup: Difference between revisions

From Space Station 14 Wiki
(Created blank page)
 
No edit summary
Line 1: Line 1:
local prototypes = mw.loadData("Module:Prototype Lookup/data")
mw.log(prototypes)


local p = {}
function p.readscalar(frame)
return prototypes[frame.args[0]]
end
return p

Revision as of 00:00, 18 December 2021

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

local prototypes = mw.loadData("Module:Prototype Lookup/data")
mw.log(prototypes)

local p = {}

function p.readscalar(frame)
	return prototypes[frame.args[0]]
end

return p