Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Add extension overrides for combat area categories
(New override)
(Add extension overrides for combat area categories)
Line 242: Line 242:
local typeExtOverrides = {
local typeExtOverrides = {
-- Example: ["item"] = { ["Chicken"] = "png" }
-- Example: ["item"] = { ["Chicken"] = "png" }
["areaCategory"] = {
["Abyssal Slayer Areas"] = "svg",
["Abyssal Strongholds"] = "svg",
["The Abyss"] = "svg"
},
["building"] = {
["building"] = {
["Abyssal Combat Lab"] = "png",
["Abyssal Combat Lab"] = "png",
Line 821: Line 826:
["Tendril Hollow Passage"] = {'Tendril Hollow', 'combatArea'},
["Tendril Hollow Passage"] = {'Tendril Hollow', 'combatArea'},
["Whispering Sea Charter"] = {'Whispering Sea', 'combatArea'},
["Whispering Sea Charter"] = {'Whispering Sea', 'combatArea'},
["Withering Catacombs Sealbreaker"] = {'Withering Catacombs', 'combatArea'}
["Withering Catacombs Sealbreaker"] = {'Withering Catacombs', 'combatArea'},
["Slayer Specialist I"] = {'Abyssal Slayer Areas', 'areaCategory'},
["Slayer Specialist II"] = {'Abyssal Slayer Areas', 'areaCategory'},
["Slayer Specialist III"] = {'Abyssal Slayer Areas', 'areaCategory'}
}
}
}
}