Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 16:02, 12 August 2019 by >NekoPillow

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

local item = {}

local md5 = require('Module:Md5')

local function getItemData(hash)
    local a = mw.loadData('Module:Item/Data')
    return a[hash] or {0, 0}
end

function item.SpriteByName(frame)
    local order = getItemData(md5.md5(frame.args[1]))[1]
    return order
end

return item