View source for Module:Shop
From Melvor Idle
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local Shared = require('Module:Shared')
local Constants = require('Module:Constants')
local GameData = require('Module:GameData')
local Common = require('Module:Common')
local Modifiers = require('Module:Modifiers')
local Items = require('Module:Items')
local Icons = require('Module:Icons')
local Pets = require('Module:Pets')
local Num = require('Module:Number')
function p.getPurchase(purchaseName)
local purchList = p.getPurchases(function(purch) return Common.getPurchaseName(purch) == purchaseName end)
if purchList ~= nil and not Shared.tableIsEmpty(purchList) then
return purchList[1]
end
end
function p.getPurchaseByID(id)
000
1:0
Template used on this page:
Return to Module:Shop.