Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,564
edits
m (I still don't know what type type is) |
(actually make gm4Aliases point to the right place .-. (double alias attempt #1.1)) |
||
Line 10: | Line 10: | ||
Sprite.aliasData = aliasData | Sprite.aliasData = aliasData | ||
local vanillaAliases = mw.loadData( aliasData.vanillaAliases ) | local vanillaAliases = mw.loadData( aliasData.vanillaAliases ) | ||
local gm4Aliases = mw.loadData( aliasData. | local gm4Aliases = mw.loadData( aliasData.gm4Aliases ) | ||
local aliases = vanillaAliases | local aliases = vanillaAliases | ||
Line 74: | Line 74: | ||
o = { | o = { | ||
__source = require(source), | __source = require(source), | ||
} | } | ||
setmetatable(o, {__index = self}) | setmetatable(o, {__index = self}) | ||
Line 106: | Line 105: | ||
name = name, | name = name, | ||
title = title, | title = title, | ||
lore = lore | lore = lore | ||
} | } | ||
} | } | ||
Line 135: | Line 133: | ||
-- js-modified color title with lore | -- js-modified color title with lore | ||
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 | ||
edits