Anonymous

Module:Icons: Difference between revisions

From Melvor Idle
Add spellType/spellbook overrides
m (Image override for TotH expansion page)
(Add spellType/spellbook overrides)
Line 200: Line 200:
["I Can't See Helmet"] = {'Golbin', 'monster'},
["I Can't See Helmet"] = {'Golbin', 'monster'},
["Throne of the Herald Expansion"] = 'TotH',
["Throne of the Herald Expansion"] = 'TotH',
-- Spellbooks
["Ancient Magicks"] = {'Ancient', 'spellType'},
["Archaic Magicks"] = {'Archaic', 'spellType'},
["Standard Magic"] = {'Standard', 'spellType'},
-- Shop purchases
-- Shop purchases
['Basic Resupply'] = {'Lobster', 'item'},
['Basic Resupply'] = {'Lobster', 'item'},
Line 326: Line 330:
--When calling for an icon for Key + Type, the link goes to Value
--When calling for an icon for Key + Type, the link goes to Value
local typeLinkOverrides = {
local typeLinkOverrides = {
['spellType'] = {
-- Spellbooks
['Standard'] = 'Standard Magic',
['Ancient'] = 'Ancient Magicks',
['Archaic'] = 'Archaic Magicks',
['Curse'] = 'Curses',
['Aurora'] = 'Auroras'
},
['resource'] = {
['resource'] = {
-- Township resources
-- Township resources