Module:Sprite: Difference between revisions

m
Changing text to lore
m (Maybe necessary fallback?)
m (Changing text to lore)
Line 95: Line 95:
tiles = 1,
tiles = 1,
name = name,
name = name,
text = text
lore = lore
}
}
}
}
Line 121: Line 121:
     if aliases[item] then
     if aliases[item] then
if aliases[item].text then
if aliases[item].text then
self.__settings.text = aliases[item].text
self.__settings.lore = aliases[item].text


end
end
Line 216: Line 216:
sprite:attr( "title", self.__settings.name )
sprite:attr( "title", self.__settings.name )
if self.__settings.text then
if self.__settings.lore then
sprite:attr( "text", self.__settings.text )
sprite:attr( "data-lore", self.__settings.lore )
end
end


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

edits