Anonymous

Module:Icons/Overrides: Difference between revisions

From Melvor Idle
Add extension & ambiguous overrides for Crystallization & Crystal Sanction effects
(V1.3.1 Terminology change)
(Add extension & ambiguous overrides for Crystallization & Crystal Sanction effects)
Line 18: Line 18:
--Some overrides only apply for a specific type
--Some overrides only apply for a specific type
local typeExtOverrides = {
local typeExtOverrides = {
-- Example: ["item"] = { ["Chicken"] = "png" }A
-- Example: ["item"] = { ["Chicken"] = "png" }
["effect"] = {
["effect"] = {
["Wither"] = "png",
["Wither"] = "png",
Line 30: Line 30:
["Drowsy"] = "png",
["Drowsy"] = "png",
["Fear Immunity"] = "png",
["Fear Immunity"] = "png",
["Silence Immunity"] = "png"
["Silence Immunity"] = "png",
["Crystallization"] = "png",
["Crystal Sanction"] = "png"
},
},
["item"] = {
["item"] = {
Line 450: Line 452:
['Ritual Site'] = true,
['Ritual Site'] = true,
['Lost Temple'] = true,
['Lost Temple'] = true,
['Shipwreck Cove'] = true
['Shipwreck Cove'] = true,
['Crystal Sanction'] = true
}
}
function p.ambiguousOverrides() return ambiguousOverrides end
function p.ambiguousOverrides() return ambiguousOverrides end