
Action
Press Claims
Anatolia is under threat by outside forces. The remnants of the once-great empires that ruled these lands vie futilely for power. It is up to us to unite them all under our banner!
Rise of the TurksSituationselect trigger 1strongest_beylik_variableVariableselect trigger 1Definitionin_game/common/generic_actions/rise_of_the_ottomans.txt:1
2type = situation
3show_message = no
4potential = {
}
7allow = {
8scope:actor = {
9at_war = no
10has_raised_levies = no
}
}
14automation_tick = never
15automation_tick_frequency = 12
16ai_tick = monthly
17ai_tick_frequency = 3
18price = price:rto_press_claims_price
20cooldown = {
21type = press_claims_cooldown_key
22years = 2
}
25select_trigger = {
26looking_for_a = situation
32target_flag = recipient
33name = "choose_situation" Choose the Situation:
34column = {
35data = name
}
37visible = {
39situation_is_active = yes
}
}
44select_trigger = {
45looking_for_a = province
46target_flag = target
47name = "choose_province" Choose a Province
48none_available_msg_key = "no_provinces_available"
49column = {
49data = owner_flag
}
50column = {
50data = name
}
51column = {
51data = population
}
52visible = {
53scope:actor = {
53can_declare_war_on = root.owner
}
54trigger_if = {
55limit = {
56scope:actor ?= {
57num_locations < 120
58has_presence_in = region:balkan_region
}
}
61region = region:anatolia_region
}
63trigger_else = {
64OR = {
65region = region:anatolia_region
66region = region:balkan_region
}
}
69any_location_in_province = {
70is_neighbor_of = scope:actor
}
72NOT = {
73owner = {
74OR = {
75this = scope:actor
76overlord ?= scope:actor
77overlord ?= {
77is_subject_of = scope:actor
}
78has_mutual_scripted_relation = {
79type = relation_type:alliance
80target = scope:actor
}
}
}
}
}
}
87effect = {
88if = {
89limit = {
90exists = scope:target
91scope:actor ?= {
91num_locations <= 120
}
}
93custom_tooltip = {
94text = roto_press_claims_explanation_tt Grants a claim against a Province in Anatolia
}
}
100else_if = {
101limit = {
102NOT = {
103exists = scope:target
}
105scope:actor ?= {
105num_locations <= 120
}
}
107custom_tooltip = roto_press_claims_explanation_tt Grants a claim against a Province in Anatolia
}
109if = {
110limit = {
111scope:actor ?= {
111num_locations > 120
}
112exists = scope:target
}
114custom_tooltip = {
115text = roto_press_claims_extra_explanation_tt Grants a claim against a Province in Anatolia or the Balkans
}
}
121else_if = {
122limit = {
123NOT = {
124exists = scope:target
}
126scope:actor ?= {
126num_locations > 120
}
}
128custom_tooltip = roto_press_claims_extra_explanation_tt Grants a claim against a Province in Anatolia or the Balkans
}
}
132ai_will_do = {
133if = {
134limit = {
135exists = scope:target
}
138if = {
139limit = {
140scope:target.owner = {
141is_subject = yes
142top_overlord ?= scope:actor
}
}
146add = {
147value = -1000
148desc = "our subject"
}
}
152if = {
153limit = {
154scope:actor = {
154is_during_bankruptcy = yes
}
}
156subtract = {
157desc = "[bankruptcy|e]"
158value = 1000
}
}
162if = {
163limit = {
164scope:actor = {
164num_loans > 0
}
}
166subtract = {
167desc = "loans"
168value = 1000
}
}
172if = {
173limit = {
174scope:actor = {
174stability < 0
}
}
176subtract = {
177desc = "low stability"
178value = 1000
}
}
182if = {
183limit = {
184scope:actor = {
184has_any_active_disaster = yes
}
}
186subtract = {
187desc = "ongoing disaster"
188value = 1000
}
}
192if = {
193limit = {
194scope:actor = {
195has_truce_with = scope:target.owner
}
}
198add = {
199value = -1000
200desc = "truce"
}
}
204if = {
205limit = {
206scope:actor = {
207wants_to_subjugate = scope:target.owner
}
}
210add = {
211value = -1000
212desc = "wants to subjugate"
}
}
216if = {
217limit = {
218scope:actor = {
218has_casus_belli_on = scope:target.owner
}
}
220add = {
221value = -10000
222desc = "We already have a cb on them"
}
}
226if = {
227limit = {
228scope:actor = {
229is_allied_with = {
229target = scope:target.owner
}
}
}
233add = {
234value = -1000
235desc = "Our ally"
}
}
240add = {
241desc = "RELATIVE_STRENGTH"
242value = "scope:actor.relative_defensive_alliance_strength(scope:target.owner)"
243multiply = 150
244subtract = 60
}
247add = {
248desc = "we want their land"
249value = "scope:actor.conquer_desire(scope:target.owner)"
250divide = 5
}
253if = {
254limit = {
255scope:actor = {
255not = {
255wants_to_attack = scope:target.owner
}
}
}
257add = {
258value = -2000
259desc = "We dont want to attack them"
}
}
262else = {
263add = {
264value = 2000
265desc = "We want to attack them"
}
}
270if = {
271limit = {
272scope:target.owner = {
273num_locations < 5
}
}
276divide = {
277value = 3
278desc = "very small enemy"
}
}
}
282else = {
283add = {
284value = 25
285desc = BASE_VALUE
}
}
}