Module:Sprite: Difference between revisions

m
Gotta love butchering code
(let's try this... (double alias attempt #1))
m (Gotta love butchering code)
Line 74: Line 74:
o = {
o = {
__source = require(source),
__source = require(source),
type = type,
}
}
setmetatable(o, {__index = self})
setmetatable(o, {__index = self})
Line 105: Line 106:
name = name,
name = name,
title = title,
title = title,
lore = lore
lore = lore,
type = type
}
}
}
}
Line 133: Line 135:


-- js-modified color title with lore
-- js-modified color title with lore
if self.__settings.type == "gm4" then
aliases = gm4Aliases
end
     if aliases[item] then
     if aliases[item] then
if aliases[item].text then
if aliases[item].text then
self.__settings.lore = aliases[item].text
self.__settings.lore = aliases[item].text
end
end


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

edits