Module:FetchItemStats

From Roat Pkz
Jump to navigation Jump to search

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

local p = {}

function p.defaultVersion(itemname)
    -- For obtaining default version, you don't need to query SMW.
    return itemname
end

function p.value(itemname)
    -- For obtaining value, you don't need to query SMW.
    -- Instead, directly return the item name.
    return itemname
end

function p.getImage(itemname)
    -- Just return the item name for fetching the image.
    return itemname
end

return p