
ActionChanged this version
Select Core Region
Select a Region to elevate it into the status of Core Region for Actor.
TimuridCountrypotential
Rise of TimurSituationselect trigger 1The Scourge from Central AsiaStatic Modifiereffectrot_has_selected_core_regionVariableallowDefinitionin_game/common/generic_actions/rise_of_timur.txt:288
289type = situation
295price = price:rot_select_core_region_price
296allow = {
297scope:actor = {
298is_rebel_country = no
299custom_tooltip = {
300text = rot_has_NOT_selected_core_region_tt We have NOT selected a Core Region with Select Core Region
}
303at_war = no
}
}
307automation_tick = never
308automation_tick_frequency = 12
310select_trigger = {
311looking_for_a = situation
312target_flag = recipient
313name = "choose_situation" Choose the Situation:
314column = {
315data = name
}
}
323select_trigger = {
324looking_for_a = region
325target_flag = target
326name = "rot_select_core_region_select_region" Select a region to promote as a Core Region
327none_available_msg_key = "rot_select_core_region_no_regions"
328column = {
329data = name
}
331column = {
332data = population
}
334visible = {
335any_location_in_region = {
336owner ?= scope:actor
337percent >= 0.4
}
}
}
341effect = {
342if = {
343limit = {
343exists = scope:target
}
344custom_tooltip = {
345text = rot_select_core_region_tt_specific Target will be designated as our Core Region. Every Location in that region becomes our Core and gains Core Region as long as The Scourge from Central Asia is active. Additionally, locations conquered in this region will automatically become a core if they are not a core already.
346scope:actor = {
}
352scope:target ?= {
353if = {
354limit = {
}
360every_location_in_region = {
361limit = {
361owner ?= scope:actor
}
362change_integration_level = core
363add_location_modifier = {
}
}
}
}
}
}
373else = {
374custom_tooltip = rot_select_core_region_tt The target Region will be designated as our Core Region. Every Location in that region becomes our Core and gains Core Region as long as The Scourge from Central Asia is active. Additionally, locations conquered in this region will automatically become a core if they are not a core already.
}
}
378ai_will_do = {
379add = 25
380add = {
381if = {
382limit = {
382exists = scope:target
382scope:target = region:persia_region
}
383value = 100
}
}
386add = {
387if = {
388limit = {
388exists = scope:target
388scope:target = region:khorasan_region
}
389value = -100
}
}
392add = {
393if = {
394limit = {
394exists = scope:target
394scope:target = region:arabia_region
}
395value = -20
}
}
398add = {
399if = {
400limit = {
400exists = scope:target
400scope:target = region:anatolia_region
}
401value = 50
}
}
404add = {
405if = {
406limit = {
406exists = scope:target
406scope:target = region:crescent_region
}
407value = 75
}
}
410add = {
411if = {
412limit = {
412exists = scope:target
412scope:target = region:mongolia_region
}
413value = 60
}
}
416add = {
417if = {
418limit = {
418exists = scope:target
418scope:target = region:tibet_region
}
419value = -50
}
}
422add = {
423if = {
424limit = {
424exists = scope:target
424scope:target = region:east_china_region
}
425value = 90
}
}
428add = {
429if = {
430limit = {
430exists = scope:target
430scope:target = region:north_china_region
}
431value = 90
}
}
434add = {
435if = {
436limit = {
436exists = scope:target
436scope:target = region:south_china_region
}
437value = 90
}
}
440add = {
441if = {
442limit = {
442exists = scope:target
442scope:target = region:west_china_region
}
443value = 90
}
}
446add = {
447if = {
448limit = {
448exists = scope:target
448scope:target = region:west_siberia_region
}
449value = -200
}
}
452add = {
453if = {
454limit = {
454exists = scope:target
454scope:target = region:east_siberia_region
}
455value = -200
}
}
458add = {
459if = {
460limit = {
460exists = scope:target
460scope:target = region:deccan_region
}
461value = 50
}
}
}