Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/datasets/100.json
Original file line number Diff line number Diff line change
Expand Up @@ -1430,14 +1430,14 @@
"836": "Frontier Guards",
"838": "Siege Elephant",
"840": "Elite Ghulam",
"843": "E. Shrivamsha Rider",
"843": "Elite Shrivamsha Rider",
"875": "Gambesons",
"882": "Elite Centurion",
"883": "Ballistas",
"884": "Comitatenses",
"885": "Legionary",
"902": "Pirotechnia",
"918": "E. Composite Bowman",
"918": "Elite Composite Bowman",
"920": "Elite Monaspa",
"921": "Fereters",
"922": "Cilician Fleet",
Expand Down
6 changes: 4 additions & 2 deletions scripts/import_game_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,15 @@ def with_civ_techs(self, civs: list[DECivTechTree], key_values: dict[str, str]):
**{
str(unit.trigger_tech_id): key_values.get(
str(unit.name_string_id), unit.name
)
).replace("E.", "Elite")
for civ in civs
for unit in civ.civ_techs_units
if unit.trigger_tech_id != -1
},
**{
str(unit.node_id): key_values.get(str(unit.name_string_id), unit.name)
str(unit.node_id): key_values.get(
str(unit.name_string_id), unit.name
).replace("E.", "Elite")
for civ in civs
for unit in civ.civ_techs_units
if unit.node_type == "Research"
Expand Down
Loading