Module:Icons/Overrides: Difference between revisions

m
Actually do the overrides properly
(Auto eat image overrides)
m (Actually do the overrides properly)
Line 19: Line 19:
--Some overrides only apply for a specific type
--Some overrides only apply for a specific type
local typeExtOverrides = {
local typeExtOverrides = {
-- Example: ["item"] = { ["Chicken"] = "png" }
-- Example: ["item"] = { ["Chicken"] = "png" }A
["effect"] = {
["effect"] = {
["Wither"] = "png",
["Wither"] = "png",
Line 86: Line 86:
-- Shop purchases
-- Shop purchases
['Extra Bank Slot'] = {'Bank Slot', 'upgrade'},
['Extra Bank Slot'] = {'Bank Slot', 'upgrade'},
["Auto Eat - Tier II"] = {'Auto Eat - Tier II', 'upgrade'},
["Auto Eat - Tier II"] = {'Auto Eat - Tier I', 'upgrade'},
["Auto Eat - Tier III"] = {'Auto Eat - Tier III', 'upgrade'},
["Auto Eat - Tier III"] = {'Auto Eat - Tier I', 'upgrade'},
['Basic Resupply'] = {'Lobster', 'item'},
['Basic Resupply'] = {'Lobster', 'item'},
['Standard Resupply'] = {'Crab', 'item'},
['Standard Resupply'] = {'Crab', 'item'},