Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
(initialize aliases variable? (double alias attempt #5.1)) |
(Add support for default sprites with custom lore or name) |
||
Line 183: | Line 183: | ||
function Sprite:SetSize(size) | function Sprite:SetSize(size) | ||
self.__settings.scale = size / self.__settings.size | self.__settings.scale = size / self.__settings.size | ||
return self | |||
end | |||
function Sprite:SetTitle(name) | |||
self.__settings.title = name | |||
return self | |||
end | |||
function Sprite:SetLore(text) | |||
self.__settings.lore = text | |||
return self | return self | ||
end | end |
edits