
Action
Force End War
Ravaging wars are damaging our country. We can make use of our imperial authority and force any belligerent clan to stop fighting by sending them an official imperial missive.
Japanese ShogunateInternational Organizationselect trigger 2
ShintōReligionpotential, select trigger 2
Sengoku JidaiSituationselect trigger 1Definitionin_game/common/generic_actions/sengoku.txt:74
75icon = sengoku_attempt_imperial_restoration
76type = situation
77potential = {
78scope:actor ?= {
79has_reform = government_reform:japanese_imperial_family
}
}
83allow = {
84scope:actor ?= {
85at_war = no
86has_ruler = yes
}
}
90automation_tick = never
91automation_tick_frequency = 12
93ai_tick = monthly
94ai_tick_frequency = 6
96price = price:sengoku_force_end_war
98select_trigger = {
99looking_for_a = situation
100target_flag = recipient
101name = "choose_situation" Choose the Situation:
102column = {
103data = name
}
}
111select_trigger = {
112looking_for_a = country
113target_flag = target_country
114name = "choose_country" Choose the Country:
115none_available_msg_key = "no_valid_countries"
116column = {
117data = name
}
119visible = {
121this != scope:actor
123at_war = yes
124any_current_war = {
125attacker_leader = prev
}
127NOT = {
127is_at_war_with = scope:actor
}
}
}
131select_trigger = {
132looking_for_a = war
133target_flag = target_war
134source = target_country
135name = "sengoku_force_end_war_choose_war" Choose a War to stop
136none_available_msg_key = "no_valid_wars"
137column = {
138data = name
}
140visible = {
141trigger_if = {
142limit = {
142exists = scope:target_country
}
143attacker_leader = scope:target_country
}
145trigger_else = {
145always = no
}
}
}
154ai_will_do = {
158add = {
159value = 20
160desc = BASE_VALUE
}
163if = {
164limit = {
164exists = scope:target_country
}
165add = {
166value = "scope:actor.opinion(scope:target_country)"
167multiply = -0.1
}
}
}