Module:Chemistry Lookup: Difference between revisions
From Space Station 14 Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
function p.readscalar(frame) | function p.readscalar(frame) | ||
return prototypes[frame.args[1]][frame.args[2]] | return prototypes[frame.args[1]][frame.args[2]] | ||
end | |||
function p.hasrecipe(frame) | |||
return prototypes[frame.args[1]]["recipes"] ~= nil | |||
end | end | ||
return p | return p |
Revision as of 00:24, 18 December 2021
Documentation for this module may be created at Module:Chemistry Lookup/doc