From 902a00d37da27f3d0fad34a5ffe91a59fa5a45be Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 14 Jul 2020 20:24:42 +0300 Subject: [PATCH] Add conversions --- eos/db/migrations/upgrade41.py | 50 +++++ scripts/conversion.py | 308 ++++++++++++++++++-------- service/conversions/releaseJul2020.py | 228 +++++++++++++++++++ 3 files changed, 498 insertions(+), 88 deletions(-) create mode 100644 eos/db/migrations/upgrade41.py create mode 100644 service/conversions/releaseJul2020.py diff --git a/eos/db/migrations/upgrade41.py b/eos/db/migrations/upgrade41.py new file mode 100644 index 000000000..50ebfced7 --- /dev/null +++ b/eos/db/migrations/upgrade41.py @@ -0,0 +1,50 @@ +""" +Migration 41 + +- Resistance plating tiericide +""" + +CONVERSIONS = { + 16345: ( # Upgraded Layered Coating I + 16347, # Limited Layered Plating I + 16349, # 'Scarab' Layered Plating I + 16351, # 'Grail' Layered Plating I + ), + 16305: ( # Upgraded Multispectrum Coating I + 16307, # Limited Adaptive Nano Plating I + 16309, # 'Collateral' Adaptive Nano Plating I + 16311, # 'Refuge' Adaptive Nano Plating I + ), + 16329: ( # Upgraded EM Coating I + 16331, # Limited EM Plating I + 16333, # 'Contour' EM Plating I + 16335, # 'Spiegel' EM Plating I + ), + 16321: ( # Upgraded Explosive Coating I + 16323, # Limited Explosive Plating I + 16325, # Experimental Explosive Plating I + 16319, # 'Aegis' Explosive Plating I + ), + 16313: ( # Upgraded Kinetic Coating I + 16315, # Limited Kinetic Plating I + 16317, # Experimental Kinetic Plating I + 16327, # 'Element' Kinetic Plating I + ), + 16337: ( # Upgraded Thermal Coating I + 16339, # Limited Thermal Plating I + 16341, # Experimental Thermal Plating I + 16343, # Prototype Thermal Plating I + ) +} + + +def upgrade(saveddata_engine): + # Convert modules + for replacement_item, list in CONVERSIONS.items(): + for retired_item in list: + saveddata_engine.execute('UPDATE "modules" SET "itemID" = ? WHERE "itemID" = ?', + (replacement_item, retired_item)) + saveddata_engine.execute('UPDATE "modules" SET "baseItemID" = ? WHERE "baseItemID" = ?', + (replacement_item, retired_item)) + saveddata_engine.execute('UPDATE "cargo" SET "itemID" = ? WHERE "itemID" = ?', + (replacement_item, retired_item)) diff --git a/scripts/conversion.py b/scripts/conversion.py index a827b414a..29c87d213 100644 --- a/scripts/conversion.py +++ b/scripts/conversion.py @@ -16,94 +16,226 @@ rename_phrase = " renamed to " conversion_phrase = " converted to " text = """ - Supplemental EM Ward Amplifier converted to 'Basic' EM Shield Amplifier - Supplemental Explosive Deflection Amplifier converted to 'Basic' Explosive Shield Amplifier - Supplemental Kinetic Deflection Amplifier converted to 'Basic' Kinetic Shield Amplifier - Supplemental Thermal Dissipation Amplifier converted to 'Basic' Thermal Shield Amplifier - Basic EM Ward Amplifier renamed to 'Basic' EM Shield Amplifier - Basic Thermal Dissipation Amplifier renamed to 'Basic' Thermal Shield Amplifier - Basic Kinetic Deflection Amplifier renamed to 'Basic' Kinetic Shield Amplifier - Basic Explosive Deflection Amplifier renamed to 'Basic' Explosive Shield Amplifier - EM Ward Amplifier I renamed to EM Shield Amplifier I - Explosive Deflection Amplifier I renamed to Explosive Shield Amplifier I - Explosive Deflection Amplifier II renamed to Explosive Shield Amplifier II - Thermal Dissipation Amplifier I renamed to Thermal Shield Amplifier I - Thermal Dissipation Amplifier II renamed to Thermal Shield Amplifier II - Kinetic Deflection Amplifier I renamed to Kinetic Shield Amplifier I - Kinetic Deflection Amplifier II renamed to Kinetic Shield Amplifier II - EM Ward Amplifier II renamed to EM Shield Amplifier II - Upgraded Explosive Deflection Amplifier I renamed to Compact Explosive Shield Amplifier - Upgraded Thermal Dissipation Amplifier I renamed to Compact Thermal Shield Amplifier - Upgraded EM Ward Amplifier I renamed to Compact EM Shield Amplifier - Upgraded Kinetic Deflection Amplifier I renamed to Compact Kinetic Shield Amplifier - Domination Explosive Deflection Amplifier renamed to Domination Explosive Shield Amplifier - Dread Guristas Explosive Deflection Amplifier renamed to Dread Guristas Explosive Shield Amplifier - Domination Thermal Dissipation Amplifier renamed to Domination Thermal Shield Amplifier - Dread Guristas Thermal Dissipation Amplifier renamed to Dread Guristas Thermal Shield Amplifier - Domination Kinetic Deflection Amplifier renamed to Domination Kinetic Shield Amplifier - Dread Guristas Kinetic Deflection Amplifier renamed to Dread Guristas Kinetic Shield Amplifier - Domination EM Ward Amplifier renamed to Domination EM Shield Amplifier - Dread Guristas EM Ward Amplifier renamed to Dread Guristas EM Shield Amplifier - Hakim's Modified Explosive Deflection Amplifier renamed to Hakim's Modified Explosive Shield Amplifier - Tobias' Modified Explosive Deflection Amplifier renamed to Tobias' Modified Explosive Shield Amplifier - Hakim's Modified Thermal Dissipation Amplifier renamed to Hakim's Modified Thermal Shield Amplifier - Tobias' Modified Thermal Dissipation Amplifier renamed to Tobias' Modified Thermal Shield Amplifier - Hakim's Modified Kinetic Deflection Amplifier renamed to Hakim's Modified Kinetic Shield Amplifier - Tobias' Modified Kinetic Deflection Amplifier renamed to Tobias' Modified Kinetic Shield Amplifier - Hakim's Modified EM Ward Amplifier renamed to Hakim's Modified EM Shield Amplifier - Tobias' Modified EM Ward Amplifier renamed to Tobias' Modified EM Shield Amplifier - Kaikka's Modified Explosive Deflection Amplifier renamed to Kaikka's Modified Explosive Shield Amplifier - Thon's Modified Explosive Deflection Amplifier renamed to Thon's Modified Explosive Shield Amplifier - Vepas' Modified Explosive Deflection Amplifier renamed to Vepas' Modified Explosive Shield Amplifier - Estamel's Modified Explosive Deflection Amplifier renamed to Estamel's Modified Explosive Shield Amplifier - Kaikka's Modified Thermal Dissipation Amplifier renamed to Kaikka's Modified Thermal Shield Amplifier - Thon's Modified Thermal Dissipation Amplifier renamed to Thon's Modified Thermal Shield Amplifier - Vepas' Modified Thermal Dissipation Amplifier renamed to Vepas' Modified Thermal Shield Amplifier - Estamel's Modified Thermal Dissipation Amplifier renamed to Estamel's Modified Thermal Shield Amplifier - Kaikka's Modified Kinetic Deflection Amplifier renamed to Kaikka's Modified Kinetic Shield Amplifier - Thon's Modified Kinetic Deflection Amplifier renamed to Thon's Modified Kinetic Shield Amplifier - Vepas' Modified Kinetic Deflection Amplifier renamed to Vepas' Modified Kinetic Shield Amplifier - Estamel's Modified Kinetic Deflection Amplifier renamed to Estamel's Modified Kinetic Shield Amplifier - Kaikka's Modified EM Ward Amplifier renamed to Kaikka's Modified EM Shield Amplifier - Thon's Modified EM Ward Amplifier renamed to Thon's Modified EM Shield Amplifier - Vepas' Modified EM Ward Amplifier renamed to Vepas' Modified EM Shield Amplifier - Estamel's Modified EM Ward Amplifier renamed to Estamel's Modified EM Shield Amplifier - Caldari Navy EM Ward Amplifier renamed to Caldari Navy EM Shield Amplifier - Caldari Navy Kinetic Deflection Amplifier renamed to Caldari Navy Kinetic Shield Amplifier - Caldari Navy Thermal Dissipation Amplifier renamed to Caldari Navy Thermal Shield Amplifier - Caldari Navy Explosive Deflection Amplifier renamed to Caldari Navy Explosive Shield Amplifier - Republic Fleet EM Ward Amplifier renamed to Republic Fleet EM Shield Amplifier - Republic Fleet Kinetic Deflection Amplifier renamed to Republic Fleet Kinetic Shield Amplifier - Republic Fleet Thermal Dissipation Amplifier renamed to Republic Fleet Thermal Shield Amplifier - Republic Fleet Explosive Deflection Amplifier renamed to Republic Fleet Explosive Shield Amplifier - Pithum C-Type Explosive Deflection Amplifier renamed to Pithum C-Type Explosive Shield Amplifier - Pithum C-Type Thermal Dissipation Amplifier renamed to Pithum C-Type Thermal Shield Amplifier - Pithum C-Type Kinetic Deflection Amplifier renamed to Pithum C-Type Kinetic Shield Amplifier - Pithum C-Type EM Ward Amplifier renamed to Pithum C-Type EM Shield Amplifier - Pithum B-Type Explosive Deflection Amplifier renamed to Pithum B-Type Explosive Shield Amplifier - Pithum B-Type Thermal Dissipation Amplifier renamed to Pithum B-Type Thermal Shield Amplifier - Pithum B-Type Kinetic Deflection Amplifier renamed to Pithum B-Type Kinetic Shield Amplifier - Pithum B-Type EM Ward Amplifier renamed to Pithum B-Type EM Shield Amplifier - Pithum A-Type Explosive Deflection Amplifier renamed to Pithum A-Type Explosive Shield Amplifier - Pithum A-Type Thermal Dissipation Amplifier renamed to Pithum A-Type Thermal Shield Amplifier - Pithum A-Type Kinetic Deflection Amplifier renamed to Pithum A-Type Kinetic Shield Amplifier - Pithum A-Type EM Ward Amplifier renamed to Pithum A-Type EM Shield Amplifier - Gistum C-Type Explosive Deflection Amplifier renamed to Gistum C-Type Explosive Shield Amplifier - Gistum B-Type Explosive Deflection Amplifier renamed to Gistum B-Type Explosive Shield Amplifier - Gistum C-Type Thermal Dissipation Amplifier renamed to Gistum C-Type Thermal Shield Amplifier - Gistum B-Type Thermal Dissipation Amplifier renamed to Gistum B-Type Thermal Shield Amplifier - Gistum C-Type Kinetic Deflection Amplifier renamed to Gistum C-Type Kinetic Shield Amplifier - Gistum B-Type Kinetic Deflection Amplifier renamed to Gistum B-Type Kinetic Shield Amplifier - Gistum C-Type EM Ward Amplifier renamed to Gistum C-Type EM Shield Amplifier - Gistum B-Type EM Ward Amplifier renamed to Gistum B-Type EM Shield Amplifier - Gistum A-Type Explosive Deflection Amplifier renamed to Gistum A-Type Explosive Shield Amplifier - Gistum A-Type Thermal Dissipation Amplifier renamed to Gistum A-Type Thermal Shield Amplifier - Gistum A-Type Kinetic Deflection Amplifier renamed to Gistum A-Type Kinetic Shield Amplifier - Gistum A-Type EM Ward Amplifier renamed to Gistum A-Type EM Shield Amplifier - 'Whiskey' Explosive Deflection Amplifier renamed to 'Whiskey' Explosive Shield Amplifier - 'High Noon' Thermal Dissipation Amplifier renamed to 'High Noon' Thermal Shield Amplifier - 'Cactus' Modified Kinetic Deflection Amplifier renamed to 'Cactus' Modified Kinetic Shield Amplifier - 'Prospector' EM Ward Amplifier renamed to 'Prospector' EM Shield Amplifier + Limited Layered Plating I converted to Upgraded Layered Coating I + 'Scarab' Layered Plating I converted to Upgraded Layered Coating I + 'Grail' Layered Plating I converted to Upgraded Layered Coating I + Limited Adaptive Nano Plating I converted to Upgraded Multispectrum Coating I + 'Collateral' Adaptive Nano Plating I converted to Upgraded Multispectrum Coating I + 'Refuge' Adaptive Nano Plating I converted to Upgraded Multispectrum Coating I + Limited EM Plating I converted to Upgraded EM Coating I + 'Contour' EM Plating I converted to Upgraded EM Coating I + 'Spiegel' EM Plating I converted to Upgraded EM Coating I + Limited Explosive Plating I converted to Upgraded Explosive Coating I + Experimental Explosive Plating I converted to Upgraded Explosive Coating I + 'Aegis' Explosive Plating I converted to Upgraded Explosive Coating I + Limited Kinetic Plating I converted to Upgraded Kinetic Coating I + Experimental Kinetic Plating I converted to Upgraded Kinetic Coating I + 'Element' Kinetic Plating I converted to Upgraded Kinetic Coating I + Limited Thermal Plating I converted to Upgraded Thermal Coating I + Experimental Thermal Plating I converted to Upgraded Thermal Coating I + Prototype Thermal Plating I converted to Upgraded Thermal Coating I + Basic EM Plating renamed to 'Basic' EM Coating + EM Plating I renamed to EM Coating I + EM Plating II renamed to EM Coating II + Basic Explosive Plating renamed to 'Basic' Explosive Coating + Explosive Plating I renamed to Explosive Coating I + Explosive Plating II renamed to Explosive Coating II + Basic Layered Plating renamed to 'Basic' Layered Coating + Layered Plating I renamed to Layered Coating I + Layered Plating II renamed to Layered Coating II + Basic Kinetic Plating renamed to 'Basic' Kinetic Coating + Kinetic Plating I renamed to Kinetic Coating I + Kinetic Plating II renamed to Kinetic Coating II + Basic Thermal Plating renamed to 'Basic' Thermal Coating + Thermal Plating I renamed to Thermal Coating I + Thermal Plating II renamed to Thermal Coating II + Basic Adaptive Nano Plating renamed to 'Basic' Multispectrum Coating + Adaptive Nano Plating I renamed to Multispectrum Coating I + Adaptive Nano Plating II renamed to Multispectrum Coating II + Domination Adaptive Nano Plating renamed to Domination Multispectrum Coating + True Sansha Adaptive Nano Plating renamed to True Sansha Multispectrum Coating + Dark Blood Adaptive Nano Plating renamed to Dark Blood Multispectrum Coating + Domination Kinetic Plating renamed to Domination Kinetic Coating + True Sansha Kinetic Plating renamed to True Sansha Kinetic Coating + Dark Blood Kinetic Plating renamed to Dark Blood Kinetic Coating + Domination Explosive Plating renamed to Domination Explosive Coating + True Sansha Explosive Plating renamed to True Sansha Explosive Coating + Dark Blood Explosive Plating renamed to Dark Blood Explosive Coating + Domination EM Plating renamed to Domination EM Coating + True Sansha EM Plating renamed to True Sansha EM Coating + Dark Blood EM Plating renamed to Dark Blood EM Coating + Domination Thermal Plating renamed to Domination Thermal Coating + True Sansha Thermal Plating renamed to True Sansha Thermal Coating + Dark Blood Thermal Plating renamed to Dark Blood Thermal Coating + Shadow Serpentis Adaptive Nano Plating renamed to Shadow Serpentis Multispectrum Coating + Shadow Serpentis Kinetic Plating renamed to Shadow Serpentis Kinetic Coating + Shadow Serpentis Explosive Plating renamed to Shadow Serpentis Explosive Coating + Shadow Serpentis EM Plating renamed to Shadow Serpentis EM Coating + Shadow Serpentis Thermal Plating renamed to Shadow Serpentis Thermal Coating + Mizuro's Modified Adaptive Nano Plating renamed to Mizuro's Modified Multispectrum Coating + Gotan's Modified Adaptive Nano Plating renamed to Gotan's Modified Multispectrum Coating + Mizuro's Modified Kinetic Plating renamed to Mizuro's Modified Kinetic Coating + Gotan's Modified Kinetic Plating renamed to Gotan's Modified Kinetic Coating + Mizuro's Modified Explosive Plating renamed to Mizuro's Modified Explosive Coating + Gotan's Modified Explosive Plating renamed to Gotan's Modified Explosive Coating + Mizuro's Modified EM Plating renamed to Mizuro's Modified EM Coating + Gotan's Modified EM Plating renamed to Gotan's Modified EM Coating + Mizuro's Modified Thermal Plating renamed to Mizuro's Modified Thermal Coating + Gotan's Modified Thermal Plating renamed to Gotan's Modified Thermal Coating + Brokara's Modified Adaptive Nano Plating renamed to Brokara's Modified Multispectrum Coating + Tairei's Modified Adaptive Nano Plating renamed to Tairei's Modified Multispectrum Coating + Selynne's Modified Adaptive Nano Plating renamed to Selynne's Modified Multispectrum Coating + Raysere's Modified Adaptive Nano Plating renamed to Raysere's Modified Multispectrum Coating + Vizan's Modified Adaptive Nano Plating renamed to Vizan's Modified Multispectrum Coating + Ahremen's Modified Adaptive Nano Plating renamed to Ahremen's Modified Multispectrum Coating + Chelm's Modified Adaptive Nano Plating renamed to Chelm's Modified Multispectrum Coating + Draclira's Modified Adaptive Nano Plating renamed to Draclira's Modified Multispectrum Coating + Brokara's Modified Kinetic Plating renamed to Brokara's Modified Kinetic Coating + Tairei's Modified Kinetic Plating renamed to Tairei's Modified Kinetic Coating + Selynne's Modified Kinetic Plating renamed to Selynne's Modified Kinetic Coating + Raysere's Modified Kinetic Plating renamed to Raysere's Modified Kinetic Coating + Vizan's Modified Kinetic Plating renamed to Vizan's Modified Kinetic Coating + Ahremen's Modified Kinetic Plating renamed to Ahremen's Modified Kinetic Coating + Chelm's Modified Kinetic Plating renamed to Chelm's Modified Kinetic Coating + Draclira's Modified Kinetic Plating renamed to Draclira's Modified Kinetic Coating + Brokara's Modified Explosive Plating renamed to Brokara's Modified Explosive Coating + Tairei's Modified Explosive Plating renamed to Tairei's Modified Explosive Coating + Selynne's Modified Explosive Plating renamed to Selynne's Modified Explosive Coating + Raysere's Modified Explosive Plating renamed to Raysere's Modified Explosive Coating + Vizan's Modified Explosive Plating renamed to Vizan's Modified Explosive Coating + Ahremen's Modified Explosive Plating renamed to Ahremen's Modified Explosive Coating + Chelm's Modified Explosive Plating renamed to Chelm's Modified Explosive Coating + Draclira's Modified Explosive Plating renamed to Draclira's Modified Explosive Coating + Brokara's Modified EM Plating renamed to Brokara's Modified EM Coating + Tairei's Modified EM Plating renamed to Tairei's Modified EM Coating + Selynne's Modified EM Plating renamed to Selynne's Modified EM Coating + Raysere's Modified EM Plating renamed to Raysere's Modified EM Coating + Vizan's Modified EM Plating renamed to Vizan's Modified EM Coating + Ahremen's Modified EM Plating renamed to Ahremen's Modified EM Coating + Chelm's Modified EM Plating renamed to Chelm's Modified EM Coating + Draclira's Modified EM Plating renamed to Draclira's Modified EM Coating + Brokara's Modified Thermal Plating renamed to Brokara's Modified Thermal Coating + Tairei's Modified Thermal Plating renamed to Tairei's Modified Thermal Coating + Selynne's Modified Thermal Plating renamed to Selynne's Modified Thermal Coating + Raysere's Modified Thermal Plating renamed to Raysere's Modified Thermal Coating + Vizan's Modified Thermal Plating renamed to Vizan's Modified Thermal Coating + Ahremen's Modified Thermal Plating renamed to Ahremen's Modified Thermal Coating + Chelm's Modified Thermal Plating renamed to Chelm's Modified Thermal Coating + Draclira's Modified Thermal Plating renamed to Draclira's Modified Thermal Coating + Brynn's Modified Adaptive Nano Plating renamed to Brynn's Modified Multispectrum Coating + Tuvan's Modified Adaptive Nano Plating renamed to Tuvan's Modified Multispectrum Coating + Setele's Modified Adaptive Nano Plating renamed to Setele's Modified Multispectrum Coating + Cormack's Modified Adaptive Nano Plating renamed to Cormack's Modified Multispectrum Coating + Brynn's Modified Thermal Plating renamed to Brynn's Modified Thermal Coating + Tuvan's Modified Thermal Plating renamed to Tuvan's Modified Thermal Coating + Setele's Modified Thermal Plating renamed to Setele's Modified Thermal Coating + Cormack's Modified Thermal Plating renamed to Cormack's Modified Thermal Coating + Brynn's Modified EM Plating renamed to Brynn's Modified EM Coating + Tuvan's Modified EM Plating renamed to Tuvan's Modified EM Coating + Setele's Modified EM Plating renamed to Setele's Modified EM Coating + Cormack's Modified EM Plating renamed to Cormack's Modified EM Coating + Brynn's Modified Explosive Plating renamed to Brynn's Modified Explosive Coating + Tuvan's Modified Explosive Plating renamed to Tuvan's Modified Explosive Coating + Setele's Modified Explosive Plating renamed to Setele's Modified Explosive Coating + Cormack's Modified Explosive Plating renamed to Cormack's Modified Explosive Coating + Brynn's Modified Kinetic Plating renamed to Brynn's Modified Kinetic Coating + Tuvan's Modified Kinetic Plating renamed to Tuvan's Modified Kinetic Coating + Setele's Modified Kinetic Plating renamed to Setele's Modified Kinetic Coating + Cormack's Modified Kinetic Plating renamed to Cormack's Modified Kinetic Coating + Imperial Navy Thermal Plating renamed to Imperial Navy Thermal Coating + Imperial Navy EM Plating renamed to Imperial Navy EM Coating + Imperial Navy Explosive Plating renamed to Imperial Navy Explosive Coating + Imperial Navy Kinetic Plating renamed to Imperial Navy Kinetic Coating + Imperial Navy Adaptive Nano Plating renamed to Imperial Navy Multispectrum Coating + Republic Fleet Thermal Plating renamed to Republic Fleet Thermal Coating + Republic Fleet EM Plating renamed to Republic Fleet EM Coating + Republic Fleet Explosive Plating renamed to Republic Fleet Explosive Coating + Republic Fleet Kinetic Plating renamed to Republic Fleet Kinetic Coating + Republic Fleet Adaptive Nano Plating renamed to Republic Fleet Multispectrum Coating + Upgraded Adaptive Nano Plating I renamed to Upgraded Multispectrum Coating I + Upgraded Kinetic Plating I renamed to Upgraded Kinetic Coating I + Upgraded Explosive Plating I renamed to Upgraded Explosive Coating I + Upgraded EM Plating I renamed to Upgraded EM Coating I + Upgraded Thermal Plating I renamed to Upgraded Thermal Coating I + Upgraded Layered Plating I renamed to Upgraded Layered Coating I + Ammatar Navy Kinetic Plating renamed to Ammatar Navy Kinetic Coating + Ammatar Navy Adaptive Nano Plating renamed to Ammatar Navy Multispectrum Coating + Ammatar Navy Explosive Plating renamed to Ammatar Navy Explosive Coating + Ammatar Navy EM Plating renamed to Ammatar Navy EM Coating + Federation Navy Adaptive Nano Plating renamed to Federation Navy Multispectrum Coating + Federation Navy Kinetic Plating renamed to Federation Navy Kinetic Coating + Federation Navy Explosive Plating renamed to Federation Navy Explosive Coating + Federation Navy EM Plating renamed to Federation Navy EM Coating + Federation Navy Thermal Plating renamed to Federation Navy Thermal Coating + Corpii C-Type Adaptive Nano Plating renamed to Corpii C-Type Multispectrum Coating + Centii C-Type Adaptive Nano Plating renamed to Centii C-Type Multispectrum Coating + Corpii B-Type Adaptive Nano Plating renamed to Corpii B-Type Multispectrum Coating + Centii B-Type Adaptive Nano Plating renamed to Centii B-Type Multispectrum Coating + Corpii A-Type Adaptive Nano Plating renamed to Corpii A-Type Multispectrum Coating + Centii A-Type Adaptive Nano Plating renamed to Centii A-Type Multispectrum Coating + Corpii C-Type Kinetic Plating renamed to Corpii C-Type Kinetic Coating + Centii C-Type Kinetic Plating renamed to Centii C-Type Kinetic Coating + Corpii C-Type Explosive Plating renamed to Corpii C-Type Explosive Coating + Centii C-Type Explosive Plating renamed to Centii C-Type Explosive Coating + Corpii C-Type EM Plating renamed to Corpii C-Type EM Coating + Centii C-Type EM Plating renamed to Centii C-Type EM Coating + Corpii C-Type Thermal Plating renamed to Corpii C-Type Thermal Coating + Centii C-Type Thermal Plating renamed to Centii C-Type Thermal Coating + Corpii B-Type Thermal Plating renamed to Corpii B-Type Thermal Coating + Centii B-Type Thermal Plating renamed to Centii B-Type Thermal Coating + Corpii B-Type Kinetic Plating renamed to Corpii B-Type Kinetic Coating + Centii B-Type Kinetic Plating renamed to Centii B-Type Kinetic Coating + Corpii B-Type Explosive Plating renamed to Corpii B-Type Explosive Coating + Centii B-Type Explosive Plating renamed to Centii B-Type Explosive Coating + Corpii B-Type EM Plating renamed to Corpii B-Type EM Coating + Centii B-Type EM Plating renamed to Centii B-Type EM Coating + Corpii A-Type Kinetic Plating renamed to Corpii A-Type Kinetic Coating + Centii A-Type Kinetic Plating renamed to Centii A-Type Kinetic Coating + Corpii A-Type Explosive Plating renamed to Corpii A-Type Explosive Coating + Centii A-Type Explosive Plating renamed to Centii A-Type Explosive Coating + Corpii A-Type EM Plating renamed to Corpii A-Type EM Coating + Centii A-Type EM Plating renamed to Centii A-Type EM Coating + Corpii A-Type Thermal Plating renamed to Corpii A-Type Thermal Coating + Centii A-Type Thermal Plating renamed to Centii A-Type Thermal Coating + Coreli C-Type Adaptive Nano Plating renamed to Coreli C-Type Multispectrum Coating + Coreli C-Type Kinetic Plating renamed to Coreli C-Type Kinetic Coating + Coreli C-Type Explosive Plating renamed to Coreli C-Type Explosive Coating + Coreli C-Type EM Plating renamed to Coreli C-Type EM Coating + Coreli C-Type Thermal Plating renamed to Coreli C-Type Thermal Coating + Coreli B-Type Adaptive Nano Plating renamed to Coreli B-Type Multispectrum Coating + Coreli B-Type Kinetic Plating renamed to Coreli B-Type Kinetic Coating + Coreli B-Type Explosive Plating renamed to Coreli B-Type Explosive Coating + Coreli B-Type EM Plating renamed to Coreli B-Type EM Coating + Coreli B-Type Thermal Plating renamed to Coreli B-Type Thermal Coating + Coreli A-Type Adaptive Nano Plating renamed to Coreli A-Type Multispectrum Coating + Coreli A-Type Kinetic Plating renamed to Coreli A-Type Kinetic Coating + Coreli A-Type Explosive Plating renamed to Coreli A-Type Explosive Coating + Coreli A-Type EM Plating renamed to Coreli A-Type EM Coating + Coreli A-Type Thermal Plating renamed to Coreli A-Type Thermal Coating + Khanid Navy Adaptive Nano Plating renamed to Khanid Navy Multispectrum Coating + Khanid Navy Kinetic Plating renamed to Khanid Navy Kinetic Coating + Khanid Navy Explosive Plating renamed to Khanid Navy Explosive Coating + Khanid Navy EM Plating renamed to Khanid Navy EM Coating + Khanid Navy Thermal Plating renamed to Khanid Navy Thermal Coating + Ammatar Navy Thermal Plating renamed to Ammatar Navy Thermal Coating + Low-Grade Mimesis Alpha renamed to Low-grade Mimesis Alpha + Low-Grade Mimesis Beta renamed to Low-grade Mimesis Beta + Low-Grade Mimesis Gamma renamed to Low-grade Mimesis Gamma + Low-Grade Mimesis Delta renamed to Low-grade Mimesis Delta + Low-Grade Mimesis Epsilon renamed to Low-grade Mimesis Epsilon + Low-Grade Mimesis Omega renamed to Low-grade Mimesis Omega + Mid-Grade Mimesis Alpha renamed to Mid-grade Mimesis Alpha + Mid-Grade Mimesis Beta renamed to Mid-grade Mimesis Beta + Mid-Grade Mimesis Gamma renamed to Mid-grade Mimesis Gamma + Mid-Grade Mimesis Delta renamed to Mid-grade Mimesis Delta + Mid-Grade Mimesis Epsilon renamed to Mid-grade Mimesis Epsilon + Mid-Grade Mimesis Omega renamed to Mid-grade Mimesis Omega + High-Grade Mimesis Alpha renamed to High-grade Mimesis Alpha + High-Grade Mimesis Beta renamed to High-grade Mimesis Beta + High-Grade Mimesis Delta renamed to High-grade Mimesis Delta + High-Grade Mimesis Epsilon renamed to High-grade Mimesis Epsilon + High-Grade Mimesis Gamma renamed to High-grade Mimesis Gamma + High-Grade Mimesis Omega renamed to High-grade Mimesis Omega """ def main(old, new): diff --git a/service/conversions/releaseJul2020.py b/service/conversions/releaseJul2020.py new file mode 100644 index 000000000..35ed5e7f0 --- /dev/null +++ b/service/conversions/releaseJul2020.py @@ -0,0 +1,228 @@ +""" +Conversion pack for May 2020 release +""" + +CONVERSIONS = { + # Renamed items, extracted via diff file + "Basic EM Plating": "'Basic' EM Coating", + "EM Plating I": "EM Coating I", + "EM Plating II": "EM Coating II", + "Basic Explosive Plating": "'Basic' Explosive Coating", + "Explosive Plating I": "Explosive Coating I", + "Explosive Plating II": "Explosive Coating II", + "Basic Layered Plating": "'Basic' Layered Coating", + "Layered Plating I": "Layered Coating I", + "Layered Plating II": "Layered Coating II", + "Basic Kinetic Plating": "'Basic' Kinetic Coating", + "Kinetic Plating I": "Kinetic Coating I", + "Kinetic Plating II": "Kinetic Coating II", + "Basic Thermal Plating": "'Basic' Thermal Coating", + "Thermal Plating I": "Thermal Coating I", + "Thermal Plating II": "Thermal Coating II", + "Basic Adaptive Nano Plating": "'Basic' Multispectrum Coating", + "Adaptive Nano Plating I": "Multispectrum Coating I", + "Adaptive Nano Plating II": "Multispectrum Coating II", + "Domination Adaptive Nano Plating": "Domination Multispectrum Coating", + "True Sansha Adaptive Nano Plating": "True Sansha Multispectrum Coating", + "Dark Blood Adaptive Nano Plating": "Dark Blood Multispectrum Coating", + "Domination Kinetic Plating": "Domination Kinetic Coating", + "True Sansha Kinetic Plating": "True Sansha Kinetic Coating", + "Dark Blood Kinetic Plating": "Dark Blood Kinetic Coating", + "Domination Explosive Plating": "Domination Explosive Coating", + "True Sansha Explosive Plating": "True Sansha Explosive Coating", + "Dark Blood Explosive Plating": "Dark Blood Explosive Coating", + "Domination EM Plating": "Domination EM Coating", + "True Sansha EM Plating": "True Sansha EM Coating", + "Dark Blood EM Plating": "Dark Blood EM Coating", + "Domination Thermal Plating": "Domination Thermal Coating", + "True Sansha Thermal Plating": "True Sansha Thermal Coating", + "Dark Blood Thermal Plating": "Dark Blood Thermal Coating", + "Shadow Serpentis Adaptive Nano Plating": "Shadow Serpentis Multispectrum Coating", + "Shadow Serpentis Kinetic Plating": "Shadow Serpentis Kinetic Coating", + "Shadow Serpentis Explosive Plating": "Shadow Serpentis Explosive Coating", + "Shadow Serpentis EM Plating": "Shadow Serpentis EM Coating", + "Shadow Serpentis Thermal Plating": "Shadow Serpentis Thermal Coating", + "Mizuro's Modified Adaptive Nano Plating": "Mizuro's Modified Multispectrum Coating", + "Gotan's Modified Adaptive Nano Plating": "Gotan's Modified Multispectrum Coating", + "Mizuro's Modified Kinetic Plating": "Mizuro's Modified Kinetic Coating", + "Gotan's Modified Kinetic Plating": "Gotan's Modified Kinetic Coating", + "Mizuro's Modified Explosive Plating": "Mizuro's Modified Explosive Coating", + "Gotan's Modified Explosive Plating": "Gotan's Modified Explosive Coating", + "Mizuro's Modified EM Plating": "Mizuro's Modified EM Coating", + "Gotan's Modified EM Plating": "Gotan's Modified EM Coating", + "Mizuro's Modified Thermal Plating": "Mizuro's Modified Thermal Coating", + "Gotan's Modified Thermal Plating": "Gotan's Modified Thermal Coating", + "Brokara's Modified Adaptive Nano Plating": "Brokara's Modified Multispectrum Coating", + "Tairei's Modified Adaptive Nano Plating": "Tairei's Modified Multispectrum Coating", + "Selynne's Modified Adaptive Nano Plating": "Selynne's Modified Multispectrum Coating", + "Raysere's Modified Adaptive Nano Plating": "Raysere's Modified Multispectrum Coating", + "Vizan's Modified Adaptive Nano Plating": "Vizan's Modified Multispectrum Coating", + "Ahremen's Modified Adaptive Nano Plating": "Ahremen's Modified Multispectrum Coating", + "Chelm's Modified Adaptive Nano Plating": "Chelm's Modified Multispectrum Coating", + "Draclira's Modified Adaptive Nano Plating": "Draclira's Modified Multispectrum Coating", + "Brokara's Modified Kinetic Plating": "Brokara's Modified Kinetic Coating", + "Tairei's Modified Kinetic Plating": "Tairei's Modified Kinetic Coating", + "Selynne's Modified Kinetic Plating": "Selynne's Modified Kinetic Coating", + "Raysere's Modified Kinetic Plating": "Raysere's Modified Kinetic Coating", + "Vizan's Modified Kinetic Plating": "Vizan's Modified Kinetic Coating", + "Ahremen's Modified Kinetic Plating": "Ahremen's Modified Kinetic Coating", + "Chelm's Modified Kinetic Plating": "Chelm's Modified Kinetic Coating", + "Draclira's Modified Kinetic Plating": "Draclira's Modified Kinetic Coating", + "Brokara's Modified Explosive Plating": "Brokara's Modified Explosive Coating", + "Tairei's Modified Explosive Plating": "Tairei's Modified Explosive Coating", + "Selynne's Modified Explosive Plating": "Selynne's Modified Explosive Coating", + "Raysere's Modified Explosive Plating": "Raysere's Modified Explosive Coating", + "Vizan's Modified Explosive Plating": "Vizan's Modified Explosive Coating", + "Ahremen's Modified Explosive Plating": "Ahremen's Modified Explosive Coating", + "Chelm's Modified Explosive Plating": "Chelm's Modified Explosive Coating", + "Draclira's Modified Explosive Plating": "Draclira's Modified Explosive Coating", + "Brokara's Modified EM Plating": "Brokara's Modified EM Coating", + "Tairei's Modified EM Plating": "Tairei's Modified EM Coating", + "Selynne's Modified EM Plating": "Selynne's Modified EM Coating", + "Raysere's Modified EM Plating": "Raysere's Modified EM Coating", + "Vizan's Modified EM Plating": "Vizan's Modified EM Coating", + "Ahremen's Modified EM Plating": "Ahremen's Modified EM Coating", + "Chelm's Modified EM Plating": "Chelm's Modified EM Coating", + "Draclira's Modified EM Plating": "Draclira's Modified EM Coating", + "Brokara's Modified Thermal Plating": "Brokara's Modified Thermal Coating", + "Tairei's Modified Thermal Plating": "Tairei's Modified Thermal Coating", + "Selynne's Modified Thermal Plating": "Selynne's Modified Thermal Coating", + "Raysere's Modified Thermal Plating": "Raysere's Modified Thermal Coating", + "Vizan's Modified Thermal Plating": "Vizan's Modified Thermal Coating", + "Ahremen's Modified Thermal Plating": "Ahremen's Modified Thermal Coating", + "Chelm's Modified Thermal Plating": "Chelm's Modified Thermal Coating", + "Draclira's Modified Thermal Plating": "Draclira's Modified Thermal Coating", + "Brynn's Modified Adaptive Nano Plating": "Brynn's Modified Multispectrum Coating", + "Tuvan's Modified Adaptive Nano Plating": "Tuvan's Modified Multispectrum Coating", + "Setele's Modified Adaptive Nano Plating": "Setele's Modified Multispectrum Coating", + "Cormack's Modified Adaptive Nano Plating": "Cormack's Modified Multispectrum Coating", + "Brynn's Modified Thermal Plating": "Brynn's Modified Thermal Coating", + "Tuvan's Modified Thermal Plating": "Tuvan's Modified Thermal Coating", + "Setele's Modified Thermal Plating": "Setele's Modified Thermal Coating", + "Cormack's Modified Thermal Plating": "Cormack's Modified Thermal Coating", + "Brynn's Modified EM Plating": "Brynn's Modified EM Coating", + "Tuvan's Modified EM Plating": "Tuvan's Modified EM Coating", + "Setele's Modified EM Plating": "Setele's Modified EM Coating", + "Cormack's Modified EM Plating": "Cormack's Modified EM Coating", + "Brynn's Modified Explosive Plating": "Brynn's Modified Explosive Coating", + "Tuvan's Modified Explosive Plating": "Tuvan's Modified Explosive Coating", + "Setele's Modified Explosive Plating": "Setele's Modified Explosive Coating", + "Cormack's Modified Explosive Plating": "Cormack's Modified Explosive Coating", + "Brynn's Modified Kinetic Plating": "Brynn's Modified Kinetic Coating", + "Tuvan's Modified Kinetic Plating": "Tuvan's Modified Kinetic Coating", + "Setele's Modified Kinetic Plating": "Setele's Modified Kinetic Coating", + "Cormack's Modified Kinetic Plating": "Cormack's Modified Kinetic Coating", + "Imperial Navy Thermal Plating": "Imperial Navy Thermal Coating", + "Imperial Navy EM Plating": "Imperial Navy EM Coating", + "Imperial Navy Explosive Plating": "Imperial Navy Explosive Coating", + "Imperial Navy Kinetic Plating": "Imperial Navy Kinetic Coating", + "Imperial Navy Adaptive Nano Plating": "Imperial Navy Multispectrum Coating", + "Republic Fleet Thermal Plating": "Republic Fleet Thermal Coating", + "Republic Fleet EM Plating": "Republic Fleet EM Coating", + "Republic Fleet Explosive Plating": "Republic Fleet Explosive Coating", + "Republic Fleet Kinetic Plating": "Republic Fleet Kinetic Coating", + "Republic Fleet Adaptive Nano Plating": "Republic Fleet Multispectrum Coating", + "Upgraded Adaptive Nano Plating I": "Upgraded Multispectrum Coating I", + "Upgraded Kinetic Plating I": "Upgraded Kinetic Coating I", + "Upgraded Explosive Plating I": "Upgraded Explosive Coating I", + "Upgraded EM Plating I": "Upgraded EM Coating I", + "Upgraded Thermal Plating I": "Upgraded Thermal Coating I", + "Upgraded Layered Plating I": "Upgraded Layered Coating I", + "Ammatar Navy Kinetic Plating": "Ammatar Navy Kinetic Coating", + "Ammatar Navy Adaptive Nano Plating": "Ammatar Navy Multispectrum Coating", + "Ammatar Navy Explosive Plating": "Ammatar Navy Explosive Coating", + "Ammatar Navy EM Plating": "Ammatar Navy EM Coating", + "Federation Navy Adaptive Nano Plating": "Federation Navy Multispectrum Coating", + "Federation Navy Kinetic Plating": "Federation Navy Kinetic Coating", + "Federation Navy Explosive Plating": "Federation Navy Explosive Coating", + "Federation Navy EM Plating": "Federation Navy EM Coating", + "Federation Navy Thermal Plating": "Federation Navy Thermal Coating", + "Corpii C-Type Adaptive Nano Plating": "Corpii C-Type Multispectrum Coating", + "Centii C-Type Adaptive Nano Plating": "Centii C-Type Multispectrum Coating", + "Corpii B-Type Adaptive Nano Plating": "Corpii B-Type Multispectrum Coating", + "Centii B-Type Adaptive Nano Plating": "Centii B-Type Multispectrum Coating", + "Corpii A-Type Adaptive Nano Plating": "Corpii A-Type Multispectrum Coating", + "Centii A-Type Adaptive Nano Plating": "Centii A-Type Multispectrum Coating", + "Corpii C-Type Kinetic Plating": "Corpii C-Type Kinetic Coating", + "Centii C-Type Kinetic Plating": "Centii C-Type Kinetic Coating", + "Corpii C-Type Explosive Plating": "Corpii C-Type Explosive Coating", + "Centii C-Type Explosive Plating": "Centii C-Type Explosive Coating", + "Corpii C-Type EM Plating": "Corpii C-Type EM Coating", + "Centii C-Type EM Plating": "Centii C-Type EM Coating", + "Corpii C-Type Thermal Plating": "Corpii C-Type Thermal Coating", + "Centii C-Type Thermal Plating": "Centii C-Type Thermal Coating", + "Corpii B-Type Thermal Plating": "Corpii B-Type Thermal Coating", + "Centii B-Type Thermal Plating": "Centii B-Type Thermal Coating", + "Corpii B-Type Kinetic Plating": "Corpii B-Type Kinetic Coating", + "Centii B-Type Kinetic Plating": "Centii B-Type Kinetic Coating", + "Corpii B-Type Explosive Plating": "Corpii B-Type Explosive Coating", + "Centii B-Type Explosive Plating": "Centii B-Type Explosive Coating", + "Corpii B-Type EM Plating": "Corpii B-Type EM Coating", + "Centii B-Type EM Plating": "Centii B-Type EM Coating", + "Corpii A-Type Kinetic Plating": "Corpii A-Type Kinetic Coating", + "Centii A-Type Kinetic Plating": "Centii A-Type Kinetic Coating", + "Corpii A-Type Explosive Plating": "Corpii A-Type Explosive Coating", + "Centii A-Type Explosive Plating": "Centii A-Type Explosive Coating", + "Corpii A-Type EM Plating": "Corpii A-Type EM Coating", + "Centii A-Type EM Plating": "Centii A-Type EM Coating", + "Corpii A-Type Thermal Plating": "Corpii A-Type Thermal Coating", + "Centii A-Type Thermal Plating": "Centii A-Type Thermal Coating", + "Coreli C-Type Adaptive Nano Plating": "Coreli C-Type Multispectrum Coating", + "Coreli C-Type Kinetic Plating": "Coreli C-Type Kinetic Coating", + "Coreli C-Type Explosive Plating": "Coreli C-Type Explosive Coating", + "Coreli C-Type EM Plating": "Coreli C-Type EM Coating", + "Coreli C-Type Thermal Plating": "Coreli C-Type Thermal Coating", + "Coreli B-Type Adaptive Nano Plating": "Coreli B-Type Multispectrum Coating", + "Coreli B-Type Kinetic Plating": "Coreli B-Type Kinetic Coating", + "Coreli B-Type Explosive Plating": "Coreli B-Type Explosive Coating", + "Coreli B-Type EM Plating": "Coreli B-Type EM Coating", + "Coreli B-Type Thermal Plating": "Coreli B-Type Thermal Coating", + "Coreli A-Type Adaptive Nano Plating": "Coreli A-Type Multispectrum Coating", + "Coreli A-Type Kinetic Plating": "Coreli A-Type Kinetic Coating", + "Coreli A-Type Explosive Plating": "Coreli A-Type Explosive Coating", + "Coreli A-Type EM Plating": "Coreli A-Type EM Coating", + "Coreli A-Type Thermal Plating": "Coreli A-Type Thermal Coating", + "Khanid Navy Adaptive Nano Plating": "Khanid Navy Multispectrum Coating", + "Khanid Navy Kinetic Plating": "Khanid Navy Kinetic Coating", + "Khanid Navy Explosive Plating": "Khanid Navy Explosive Coating", + "Khanid Navy EM Plating": "Khanid Navy EM Coating", + "Khanid Navy Thermal Plating": "Khanid Navy Thermal Coating", + "Ammatar Navy Thermal Plating": "Ammatar Navy Thermal Coating", + "Low-Grade Mimesis Alpha": "Low-grade Mimesis Alpha", + "Low-Grade Mimesis Beta": "Low-grade Mimesis Beta", + "Low-Grade Mimesis Gamma": "Low-grade Mimesis Gamma", + "Low-Grade Mimesis Delta": "Low-grade Mimesis Delta", + "Low-Grade Mimesis Epsilon": "Low-grade Mimesis Epsilon", + "Low-Grade Mimesis Omega": "Low-grade Mimesis Omega", + "Mid-Grade Mimesis Alpha": "Mid-grade Mimesis Alpha", + "Mid-Grade Mimesis Beta": "Mid-grade Mimesis Beta", + "Mid-Grade Mimesis Gamma": "Mid-grade Mimesis Gamma", + "Mid-Grade Mimesis Delta": "Mid-grade Mimesis Delta", + "Mid-Grade Mimesis Epsilon": "Mid-grade Mimesis Epsilon", + "Mid-Grade Mimesis Omega": "Mid-grade Mimesis Omega", + "High-Grade Mimesis Alpha": "High-grade Mimesis Alpha", + "High-Grade Mimesis Beta": "High-grade Mimesis Beta", + "High-Grade Mimesis Delta": "High-grade Mimesis Delta", + "High-Grade Mimesis Epsilon": "High-grade Mimesis Epsilon", + "High-Grade Mimesis Gamma": "High-grade Mimesis Gamma", + "High-Grade Mimesis Omega": "High-grade Mimesis Omega", + # Converted items + "Limited Layered Plating I": "Upgraded Layered Coating I", + "'Scarab' Layered Plating I": "Upgraded Layered Coating I", + "'Grail' Layered Plating I": "Upgraded Layered Coating I", + "Limited Adaptive Nano Plating I": "Upgraded Multispectrum Coating I", + "'Collateral' Adaptive Nano Plating I": "Upgraded Multispectrum Coating I", + "'Refuge' Adaptive Nano Plating I": "Upgraded Multispectrum Coating I", + "Limited EM Plating I": "Upgraded EM Coating I", + "'Contour' EM Plating I": "Upgraded EM Coating I", + "'Spiegel' EM Plating I": "Upgraded EM Coating I", + "Limited Explosive Plating I": "Upgraded Explosive Coating I", + "Experimental Explosive Plating I": "Upgraded Explosive Coating I", + "'Aegis' Explosive Plating I": "Upgraded Explosive Coating I", + "Limited Kinetic Plating I": "Upgraded Kinetic Coating I", + "Experimental Kinetic Plating I": "Upgraded Kinetic Coating I", + "'Element' Kinetic Plating I": "Upgraded Kinetic Coating I", + "Limited Thermal Plating I": "Upgraded Thermal Coating I", + "Experimental Thermal Plating I": "Upgraded Thermal Coating I", + "Prototype Thermal Plating I": "Upgraded Thermal Coating I" +}