Module:GetSinkPoints

local json = require('Module:Json') local sinkPoints = json.decode(mw.getCurrentFrame:expandTemplate{title='Template:ResourceSinkPoints.json'})

local p = {}

p.getSinkPoints = function(frame) local itemName = frame.args[1] return sinkPoints[itemName] end

return p