Skip to content

Commit c19ad3b

Browse files
Improve AI alliance logic
Add diplomacy function Final pass
1 parent ba723b7 commit c19ad3b

File tree

8 files changed

+569
-114
lines changed

8 files changed

+569
-114
lines changed

assets/alice.csv

+16
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,21 @@ ally_explain_5;You are not a subject nation
832832
ally_explain_6;You are not currently at war with the target
833833
ally_explain_7;The AI will accept
834834
ally_explain_8;The target is not a subject nation
835+
ai_alliance_minimum_relation;You have the minimum relation to ask for an alliance
836+
ai_alliance_base_reluctance;Base Reluctance: $x$
837+
ai_alliance_has_our_cores;Has Our Cores: $x$
838+
ai_alliance_number_of_gp_allies;Too Many GP Allies: $x$
839+
ai_alliance_number_of_alliances;Alliances: $x$
840+
ai_alliance_relationship;Relationship: $x$
841+
ai_alliance_opinion;Opinion: $x$
842+
ai_alliance_same_sphere;Same Sphere: $x$
843+
ai_alliance_infamy;Infamy: $x$
844+
ai_alliance_current_wars;Wars: $x$
845+
ai_alliance_political_considerations;Political Considerations: $x$
846+
ai_alliance_civilization_difference;Civilization: $x$
847+
ai_alliance_ai_military_difference;Military Strength: $x$
848+
ai_alliance_ai_distance;Distance: $x$
849+
ai_alliance_total_score;Total: $x$
835850
call_ally_explain_1;You have an alliance with this nation
836851
call_ally_explain_2;You have at least $x$ diplomatic point(s)
837852
call_ally_explain_3;You are at war
@@ -880,6 +895,7 @@ fab_explain_3;You are not currently fabricating a casus belli
880895
fab_explain_4;You are an independent nation or the target is your overlord
881896
fab_explain_5;The target is not in your sphere of influence
882897
fab_explain_6;You are not currently at war with the target
898+
fab_explain_7;Your relation is low enough to fabricate a casus belli
883899
peace_description;Make a peace offer to end hostilities between you and this nation
884900
peace_explain_1;Is not a subject nation
885901
peace_explain_2;The target is not a subject nation

0 commit comments

Comments
 (0)