From 79e695a5b0b92e20dd783cd98205326b902a6312 Mon Sep 17 00:00:00 2001 From: Nate Bowman Date: Tue, 27 Oct 2026 19:17:09 -0400 Subject: [PATCH] Remove duplicates from name_data file Several names show up more than once under various IDs. I think this is due to some of them existing in an old version of the game and being scrapped and replaced with new ones. In any case, the duplicates threw off some of the scripts. --- README.md | 2 + data/name_data.json | 163 +------------------------------------------- 2 files changed, 3 insertions(+), 162 deletions(-) diff --git a/README.md b/README.md index 7359ad7..e98713d 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ The data used for this project was downloaded from: * https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/locales/en/strings.json ``` +A few duplicate(-ish) elements were removed from `units_buildings_techs.de.json`. + The SiegeEngineers team on Github has a lot of cool stuff. You should check them out. The particular projects I took this from are called HALFON and aoe2techtree. diff --git a/data/name_data.json b/data/name_data.json index 4ef7341..b497d64 100644 --- a/data/name_data.json +++ b/data/name_data.json @@ -805,29 +805,6 @@ "localised_name": "", "rms_const": null }, - "35": { - "cost": { - "wood": 160, - "food": 0, - "gold": 75, - "stone": 0 - }, - "attack": 2, - "melee_armor": -3, - "pierce_armor": 180, - "base_id": 35, - "help_converter": 26094, - "language_file_name": 5094, - "language_file_help": 105094, - "name": "BTRAM", - "hit_points": 175, - "line_of_sight": 3, - "garrison_capacity": 6, - "type": 70, - "class": 13, - "localised_name": "Battering Ram", - "rms_const": "BATTERING_RAM" - }, "36": { "cost": { "wood": 225, @@ -4232,29 +4209,6 @@ "localised_name": "", "rms_const": null }, - "184": { - "cost": { - "wood": 0, - "food": 50, - "gold": 35, - "stone": 0 - }, - "attack": 9, - "melee_armor": 1, - "pierce_armor": 3, - "base_id": 184, - "help_converter": 26114, - "language_file_name": 5114, - "language_file_help": 105114, - "name": "CONDOPLACEHOLDER", - "hit_points": 80, - "line_of_sight": 6, - "garrison_capacity": 0, - "type": 70, - "class": 6, - "localised_name": "Condottiero", - "rms_const": null - }, "185": { "cost": { "wood": 25, @@ -13202,29 +13156,6 @@ "localised_name": "", "rms_const": null }, - "583": { - "cost": { - "wood": 50, - "food": 60, - "gold": 0, - "stone": 0 - }, - "attack": 4, - "melee_armor": 0, - "pierce_armor": 1, - "base_id": 583, - "help_converter": 26663, - "language_file_name": 5663, - "language_file_help": 105663, - "name": "GENIT", - "hit_points": 60, - "line_of_sight": 5, - "garrison_capacity": 0, - "type": 70, - "class": 36, - "localised_name": "Genitour", - "rms_const": "GENITOUR" - }, "584": { "cost": { "wood": 100, @@ -13501,29 +13432,6 @@ "localised_name": "", "rms_const": null }, - "596": { - "cost": { - "wood": 50, - "food": 60, - "gold": 0, - "stone": 0 - }, - "attack": 5, - "melee_armor": 0, - "pierce_armor": 1, - "base_id": 596, - "help_converter": 26665, - "language_file_name": 5665, - "language_file_help": 105665, - "name": "GENITX", - "hit_points": 70, - "line_of_sight": 6, - "garrison_capacity": 0, - "type": 70, - "class": 36, - "localised_name": "Elite Genitour", - "rms_const": "ELITE_GENITOUR" - }, "597": { "cost": { "wood": 275, @@ -20079,29 +19987,6 @@ "localised_name": "Wild Camel", "rms_const": "DLC_WILD_CAMEL" }, - "885": { - "cost": { - "wood": 220, - "food": 0, - "gold": 120, - "stone": 0 - }, - "attack": 6, - "melee_armor": -2, - "pierce_armor": 100, - "base_id": 885, - "help_converter": 26446, - "language_file_name": 5445, - "language_file_help": 105446, - "name": "SGTWR", - "hit_points": 220, - "line_of_sight": 8, - "garrison_capacity": 6, - "type": 70, - "class": 13, - "localised_name": "Siege Tower", - "rms_const": null - }, "886": { "cost": { "wood": 0, @@ -21114,29 +20999,6 @@ "localised_name": "Khosrau", "rms_const": null }, - "931": { - "cost": { - "wood": 0, - "food": 60, - "gold": 60, - "stone": 0 - }, - "attack": 18, - "melee_armor": 1, - "pierce_armor": 1, - "base_id": 931, - "help_converter": 26000, - "language_file_name": 5702, - "language_file_help": 105000, - "name": "JARL", - "hit_points": 140, - "line_of_sight": 7, - "garrison_capacity": 0, - "type": 70, - "class": 12, - "localised_name": "Jarl", - "rms_const": null - }, "932": { "cost": { "wood": 0, @@ -21275,29 +21137,6 @@ "localised_name": "", "rms_const": null }, - "938": { - "cost": { - "wood": 180, - "food": 0, - "gold": 180, - "stone": 0 - }, - "attack": 4, - "melee_armor": 3, - "pierce_armor": 8, - "base_id": 938, - "help_converter": 26739, - "language_file_name": 5739, - "language_file_help": 105739, - "name": "DRAGS", - "hit_points": 150, - "line_of_sight": 6, - "garrison_capacity": 0, - "type": 70, - "class": 22, - "localised_name": "Dragon Ship", - "rms_const": null - }, "939": { "cost": { "wood": 0, @@ -80399,4 +80238,4 @@ "localised_name": "" } } -} \ No newline at end of file +}