Module:Test

From Roat Pkz
Revision as of 22:16, 3 April 2024 by Hefner (talk | contribs)
Jump to navigation Jump to search

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

-- Module table
local prices = {}

-- Function to get price by item name
function prices.getPrice(itemName)
    local data = mw.loadData("Module:GEPrices/data")
    return data[itemName] or nil
end

return prices