
Country InteractionChanged this version
Call Appanage to War
We will call our Appanage to arms in our War against a Hostile country.
Disallowed from Call Subject to WarModifier Typeselect trigger 1
AppanageSubject Typeselect trigger 1Definitionin_game/common/country_interactions/appanage_call_to_war.txt:1
2type = subject
3category = CATEGORY_SUBJECT_ACTIONS
5potential = {
6scope:actor = {
7has_reform = government_reform:french_feudal_nobility
}
}
11allow = {
12scope:actor = {
13at_war = yes
14any_current_war = {
15OR = {
16attacker_leader = scope:actor
17defender_leader = scope:actor
}
}
}
}
23select_trigger = {
24looking_for_a = country
25interaction_source_list = {
26scope:actor = {
27every_subject = {
28add_to_list = source
}
}
}
32cache_targets = yes
33target_flag = recipient
34name = "choose_country" Choose the Country:
35column = {
36data = name
}
42enabled = {
43not = {
43is_at_war_with = scope:actor
}
}
}
50select_trigger = {
51looking_for_a = country
52interaction_source_list = {
53scope:actor = {
54every_country_at_war_with = {
55add_to_list = source
}
}
}
59cache_interaction_source_list = yes
60target_flag = target
61name = "call_appanage_to_war_title" Select a War Enemy country
62none_available_msg_key = "call_appanage_to_war_no_countries"
63column = {
63data = name
}
64column = {
64data = population
}
65visible = {
67not = {
67is_at_war_with = scope:recipient
}
68not = {
68is_subject_of = scope:actor
}
69not = {
69is_subject_of = scope:recipient
}
71any_current_war = {
72or = {
73attacker_leader = scope:actor
74defender_leader = scope:actor
}
}
}
}
79effect = {
80scope:actor = {
81reverse_add_opinion = {
82target = scope:recipient
83modifier = opinion_called_into_war_by_overlord
}
}
86scope:target = {
87random_current_war = {
88limit = {
89or = {
90attacker_leader = scope:actor
91defender_leader = scope:actor
}
}
94save_scope_as = overlords_war
}
}
97scope:recipient = {
98if = {
99limit = {
100scope:overlords_war = {
100attacker_leader = scope:actor
}
}
102join_war_as_attacker = {
102war = scope:overlords_war
}
}
104else = {
105join_war_as_defender = {
105war = scope:overlords_war
}
}
}
}
110ai_will_do = {
111if = {
112limit = {
113scope:actor = {
114lowest_war_score < 0
}
}
118add = {
119value = 10
}
}
}
124diplo_chance = {
125base = -10
126diplomatic_reputation = 3
127opinion = 0.2
128in_debt = -5
129trust_in_actor = 0.5
130recipient_is_rival = -100
}
132accept = {
133add = {
134desc = "IS_BANKRUPT_TOOLTIP" Is Bankrupt
135if = {
136limit = {
137scope:recipient = {
138is_during_bankruptcy = yes
}
}
141value = -1000
}
}
144add = {
145scope:recipient = {
146value = "trust(scope:actor)"
147divide = 5
}
}
150add = {
151scope:recipient = {
152value = "war_exhaustion"
153divide = -2
}
}
156add = {
157desc = "IS_AT_WAR" Is at War
158if = {
159limit = {
160scope:recipient = {
161at_war = yes
}
}
164value = -25
}
}
}