Module:InventorySlot: Difference between revisions

m
The real visual test
m (Visual test)
m (The real visual test)
Line 117: Line 117:
end
end


local plainTitle = self.__sprite:getAttr("title")
local formattedTitle
if aliases then
local id = formattedTitle
local alias = aliases[id]
if alias then
formattedTitle = alias.name
end
else
formattedTitle = plainTitle
end
slot:attr("title", formattedTitle)


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

edits