Module:Sprite: Difference between revisions

Jump to navigation Jump to search
Add support for cross sprite sheeting
(Add support for default sprites with custom lore or name)
(Add support for cross sprite sheeting)
Line 156: Line 156:
if self.__source.ids[item] then
if self.__source.ids[item] then
self:setPosition(self.__source.ids[item].pos)
self:setPosition(self.__source.ids[item].pos)
        if self.source.ids[item].spriteSheet then
            self.__settings.spriteSheet = self.source.ids[item].spriteSheet;
        end
else
else
self:setPosition(nil) --will use default
self:setPosition(nil) --will use default
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564

edits

Navigation menu