Module:Sprite: Difference between revisions

Jump to navigation Jump to search
And sprite should be enchantable
(uncomment out mask-image, mask-size, and mask-position)
(And sprite should be enchantable)
Line 107: Line 107:
name = name,
name = name,
title = title,
title = title,
lore = lore
lore = lore,
enchanted = enchanted
}
}
}
}
Line 159: Line 160:
elseif aliases[item].name then
elseif aliases[item].name then
self.__settings.title = aliases[item].name
self.__settings.title = aliases[item].name
end
if aliases[item].enchanted then
self.__settings.enchanted = aliases[item].enchanted
end
end


Line 281: Line 286:
if self.__settings.lore then
if self.__settings.lore then
sprite:attr( "data-lore", self.__settings.lore )
sprite:attr( "data-lore", self.__settings.lore )
end
if self.__settings.enchanted then
sprite:addClass("enchanted")
end
end


Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu