4,951
edits
Falterfire (talk | contribs) (Changed how icon overrides work to make adding more cleaner) |
Falterfire (talk | contribs) (Added extension overrides for the pets) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
["Charge Stone of Rhaelyx"] = "png", | ["Charge Stone of Rhaelyx"] = "png", | ||
["Mysterious Stone"] = "png", | ["Mysterious Stone"] = "png", | ||
["Cloudburst Staff"] = "png", | ["Cloudburst Staff"] = "png", | ||
["Earth Layered Shield"] = "png", | ["Earth Layered Shield"] = "png", | ||
["Lemon"] = "jpg", | |||
["Lemons"] = "jpg", | |||
["Lemonade"] = "jpg", | |||
["Miolite Sprig"] = "png", | |||
["Miolite Trio"] = "png", | |||
["Miolite Warden"] = "png", | |||
["Miolite Monarch"] = "png", | |||
["Wicked Greater Dragon"] = "png", | |||
["Hunting Greater Dragon"] = "png", | |||
["Chaotic Greater Dragon"] = "png", | |||
["Beavis"] = "png", | |||
["Pudding Duckie"] = "png", | |||
["Pyro"] = "png", | |||
["Snek"] = "png", | |||
["Larry, the Lonely Lizard"] = "png", | |||
["Caaarrrlll"] = "png", | |||
["Gronk"] = "png", | |||
["Finn, the Cat"] = "png", | |||
["Marahute"] = "png", | |||
["Monk-ey"] = "png", | |||
["Asura"] = "png" | |||
} | } | ||
Line 60: | Line 77: | ||
local img = args.img ~= nil and args.img or link | local img = args.img ~= nil and args.img or link | ||
link = string.gsub(link, "%%27", "'") | |||
link = string.gsub(link, "'", "'") | |||
link = string.gsub(link, "'", "'") | |||
img = string.gsub(img, "%%27", "'") | |||
img = string.gsub(img, "'", "'") | |||
img = string.gsub(img, "'", "'") | |||
img = string.gsub(img, '#', '') | |||
link = string.gsub(link, '#', '') | |||
--MANUAL OVERRIDES | --MANUAL OVERRIDES | ||
if imgOverrides[link] ~= nil and img == link then | if imgOverrides[link] ~= nil and img == link then | ||
Line 73: | Line 99: | ||
if extOverrides[img] ~= nil then | if extOverrides[img] ~= nil then | ||
ext = extOverrides[img] | ext = extOverrides[img] | ||
end | |||
if typeOverrides[type] ~= nil then | |||
type = typeOverrides[type] | |||
end | end | ||
--There are a couple specific double overrides I want to include that don't fit in the above lists | --There are a couple specific double overrides I want to include that don't fit in the above lists |