Module:Images

-- Creates stats bar (health, stamin, etc.) function p.statsBars( frame ) local stat = frame.args[1] if stat ~= nil then stat = tonumber(stat) -- Value was not number so use it instead of bar if stat == nil then return frame.args[1] end else stat = 0 end return data["statsBar"][stat] end