Skip to content

Commit 4f80a0f

Browse files
committed
Translate "E." into "Elite"
1 parent 434c8f9 commit 4f80a0f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

data/datasets/100.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,14 +1430,14 @@
14301430
"836": "Frontier Guards",
14311431
"838": "Siege Elephant",
14321432
"840": "Elite Ghulam",
1433-
"843": "E. Shrivamsha Rider",
1433+
"843": "Elite Shrivamsha Rider",
14341434
"875": "Gambesons",
14351435
"882": "Elite Centurion",
14361436
"883": "Ballistas",
14371437
"884": "Comitatenses",
14381438
"885": "Legionary",
14391439
"902": "Pirotechnia",
1440-
"918": "E. Composite Bowman",
1440+
"918": "Elite Composite Bowman",
14411441
"920": "Elite Monaspa",
14421442
"921": "Fereters",
14431443
"922": "Cilician Fleet",

scripts/import_game_data.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,15 @@ def with_civ_techs(self, civs: list[DECivTechTree], key_values: dict[str, str]):
208208
**{
209209
str(unit.trigger_tech_id): key_values.get(
210210
str(unit.name_string_id), unit.name
211-
)
211+
).replace("E.", "Elite")
212212
for civ in civs
213213
for unit in civ.civ_techs_units
214214
if unit.trigger_tech_id != -1
215215
},
216216
**{
217-
str(unit.node_id): key_values.get(str(unit.name_string_id), unit.name)
217+
str(unit.node_id): key_values.get(
218+
str(unit.name_string_id), unit.name
219+
).replace("E.", "Elite")
218220
for civ in civs
219221
for unit in civ.civ_techs_units
220222
if unit.node_type == "Research"

0 commit comments

Comments
 (0)