Module:Icon/data
Jump to navigation
Jump to search
Used by Module:Icon to store lookup tables.
Link overrides
The linkOverrides table defines entries where the display name differs from the target page name.
Legacy items
The legacyItems table stores items removed from the game files but still present on the wiki (e.g., in "Unused" sections). This ensures historical icons continue to render correctly even after removal from the main data JSON.
Missing image overrides
The missingImageOverrides table defines entries that require custom image filenames.
Aliases
The aliases table maps alternate input names to the correct canonical entry:
- "Doorman" → "The Doorman"
- "Mo and Krill" → "Mo & Krill"
Renames
The renames table maps outdated names that have changed. These automatically redirect to their updated equivalents:
- "Basic Magazine" → "Extended Magazine"
- "Petrify" → "Petrifying Bola"
local table_data = {}
table_data.linkOverrides = {
["Bullet Lifesteal"] = "Bullet Lifesteal (item)",
["Spirit Lifesteal"] = "Spirit Lifesteal (item)"
}
table_data.legacyItems = {
["ammo scavenger"] = { name = "Ammo Scavenger", type = "item" },
["enduring spirit"] = { name = "Enduring Spirit", type = "item" },
["bullet armor"] = { name = "Bullet Armor", type = "item" },
["spirit armor"] = { name = "Spirit Armor", type = "item" },
["soul explosion"] = { name = "Soul Explosion", type = "item" },
["soul rebirth"] = { name = "Soul Rebirth", type = "item" }
}
table_data.missingImageOverrides = {
-- Items
["bullet armor"] = "Bullet Armor (item).png",
["spirit armor"] = "Spirit Armor (item).png",
-- Heroes
["boho"] = "Module-Icon missing.png",
["druid"] = "Module-Icon missing.png",
["fortuna"] = "Module-Icon missing.png",
["graf"] = "Module-Icon missing.png",
["gunslinger"] = "Module-Icon missing.png",
["skyrunner"] = "Module-Icon missing.png",
["swan"] = "Module-Icon missing.png"
}
table_data.aliases = {
-- Heroes
["doorman"] = "the doorman",
["mo and krill"] = "mo & krill",
-- Other
["hidden king"] = "the hidden king",
["archmother"] = "the archmother"
}
table_data.renames = {
-- Items
["basic magazine"] = "extended magazine",
["enchanter's barrier"] = "enchanter's emblem",
["combat barrier"] = "battle vest",
["backstabber"] = "stalker",
["improved cooldown"] = "compress cooldown",
["curse"] = "cursed relic",
["improved bullet armor"] = "bullet resilience",
["debuff remover"] = "dispel magic",
["hollow point ward"] = "hollow point",
["mystic reach"] = "mystic expansion",
["improved reach"] = "greater expansion",
["superior stamina"] = "stamina mastery",
["soul shredder bullets"] = "spirit shredder bullets",
["pristine emblem"] = "opening rounds",
["high-velocity mag"] = "high-velocity rounds",
["medic bullets"] = "restorative shot",
["spellslinger headshots"] = "spirit rend",
["health nova"] = "healing nova",
["improved burst"] = "tankbuster",
["withering whip"] = "rusted barrel",
["silence glyph"] = "silence wave",
["shifting shroud"] = "ethereal shift",
["improved spirit armor"] = "spirit resilience",
-- Abilities
["shadow explosion"] = "shadow transformation",
["defend and fight!"] = "plot armor",
["conjure dragon"] = "bookwyrm",
["flying strike"] = "flying slash",
["tornado"] = "dust devil",
["kudzu bomb"] = "entangling thorns",
["watcher's covenant"] = "kudzu connection",
["immobilizing trap"] = "spirit snare",
["nekomata ward"] = "ava",
["sekhmet's spirit"] = "gloom bombs",
["queen of shadows"] = "return to shadows",
["petrify"] = "petrifying bola",
["hook blade"] = "screwjab dagger",
["true form"] = "stone form",
["royal flush"] = "card trick",
["fire beetles"] = "fire scarabs",
["hook"] = "grapple arm",
["catalyst"] = "napalm",
-- Heroes
["magician"] = "sinclair",
["viper"] = "vyper"
}
return table_data