From 1312177e0ee3307c276df3dd9aabb9eb11a7881b Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 18 Sep 2024 13:42:53 +0200 Subject: [PATCH] Add new renames --- scripts/itemDiff.py | 2 +- service/conversions/releaseSep2024.py | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 service/conversions/releaseSep2024.py diff --git a/scripts/itemDiff.py b/scripts/itemDiff.py index 75b7c89f4..5ac263caf 100755 --- a/scripts/itemDiff.py +++ b/scripts/itemDiff.py @@ -94,7 +94,7 @@ def main(old, new, groups=True, effects=True, attributes=True, renames=True): print('\nRenamed ' + title + ':') for id in sorted(ren_dict): couple = ren_dict[id] - print((" \"{0}\": \"{1}\",".format(couple[0].encode('utf-8'), couple[1].encode('utf-8')))) + print((" \"{0}\": \"{1}\",".format(couple[0], couple[1]))) groupcats = {} def getgroupcat(grp): diff --git a/service/conversions/releaseSep2024.py b/service/conversions/releaseSep2024.py new file mode 100644 index 000000000..1d0c06e71 --- /dev/null +++ b/service/conversions/releaseSep2024.py @@ -0,0 +1,24 @@ +CONVERSIONS = { + # Renamed items + "Large Rudimentary Concussion Bomb I": "'Concussion' Compact Large Graviton Smartbomb", + "Small Rudimentary Concussion Bomb I": "'Concussion' Compact Small Graviton Smartbomb", + "Large 'Vehemence' Shockwave Charge": "'Vehemence' Compact Large EMP Smartbomb", + "Small 'Vehemence' Shockwave Charge": "'Vehemence' Compact Small EMP Smartbomb", + "Medium Rudimentary Concussion Bomb I": "'Concussion' Compact Medium Graviton Smartbomb", + "Medium 'Vehemence' Shockwave Charge": "'Vehemence' Compact Medium EMP Smartbomb", + "Small 'Notos' Explosive Charge I": "'Notos' Compact Small Proton Smartbomb", + "Medium 'Notos' Explosive Charge I": "'Notos' Compact Medium Proton Smartbomb", + "Large 'Notos' Explosive Charge I": "'Notos' Compact Large Proton Smartbomb", + "Small YF-12a Smartbomb": "'YF-12a' Compact Small Plasma Smartbomb", + "Medium YF-12a Smartbomb": "'YF-12a' Compact Medium Plasma Smartbomb", + "Large YF-12a Smartbomb": "'YF-12a' Compact Large Plasma Smartbomb", + "Small Degenerative Concussion Bomb I": "'Degenerative' Small Proton Smartbomb", + "Small Degenerative Concussion Bomb I Blueprint": "'Degenerative' Small Proton Smartbomb Blueprint", + "Medium Degenerative Concussion Bomb I": "'Dwindling' Medium Proton Smartbomb", + "Medium Degenerative Concussion Bomb I Blueprint": "'Dwindling' Medium Proton Smartbomb Blueprint", + "Large Degenerative Concussion Bomb I": "'Regressive' Large Proton Smartbomb", + "Large Degenerative Concussion Bomb I Blueprint": "'Regressive' Large Proton Smartbomb Blueprint", + "'Pike' Small EMP Smartbomb I": "'Pike' Small EMP Smartbomb", + "'Lance' Medium EMP Smartbomb I": "'Lance' Medium EMP Smartbomb", + "'Warhammer' Large EMP Smartbomb I": "'Warhammer' Large EMP Smartbomb", +}