Skip to content

Commit

Permalink
Simplify historical ennemies
Browse files Browse the repository at this point in the history
  • Loading branch information
VDuchauffour committed Sep 3, 2024
1 parent e29c746 commit 36f4f5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Assets/Python/Modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ def set_historical_enemies():
# so this should be a "last resort" solution, other methods are always preferable
for civ1, civ2, value in HISTORICAL_ENEMIES:
gc.setHistoricalEnemyAICheat(civ1, civ2, value)
gc.setHistoricalEnemyAICheat(civ2, civ1, -value)


def set_other_parameters():
Expand Down
5 changes: 0 additions & 5 deletions Assets/Python/data/MiscData.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,10 @@

HISTORICAL_ENEMIES = [
(Civ.OTTOMAN, Civ.BULGARIA, 10),
(Civ.BULGARIA, Civ.OTTOMAN, -10),
(Civ.CASTILE, Civ.CORDOBA, 10),
(Civ.CORDOBA, Civ.CASTILE, -10),
(Civ.PORTUGAL, Civ.CASTILE, 10),
(Civ.CASTILE, Civ.PORTUGAL, -10),
(Civ.AUSTRIA, Civ.HUNGARY, 10),
(Civ.HUNGARY, Civ.AUSTRIA, -10),
(Civ.AUSTRIA, Civ.GERMANY, 10),
(Civ.GERMANY, Civ.AUSTRIA, -10),
]

MODNET_EVENTS = {
Expand Down

0 comments on commit 36f4f5c

Please sign in to comment.