Module:Sprite: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 75: Line 75:


local size = image.width
local size = image.width


o = {
o = {
__source = {
__settings={
settings={
size = size,
ids={[name]=1},
sheetsize = 1,
size = size,
image = image,
sheetsize = size,
sheetWidth = size,
image = image
tiles = 1
}
}
}
}
}
setmetatable(o, {__index = self})
setmetatable(o, {__index = self})
o:load()
setmetatable(o.__settings, {__index=defaultSettings})
return o
return o
end
end
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator, Widget editors
154

edits

Navigation menu