
ActionChanged this version
Raise a Bey Fortress
Our reach goes beyond the confines of our capital. As such, we will need robust fortifications to defend our bases of power abroad, especially as our borders expand...
Bey FortressBuildingselect trigger 2
CityLocation Rankselect trigger 2
MegalopolisLocation Rankselect trigger 2
Rise of the TurksSituationselect trigger 1Stronghold CityStatic Modifierselect trigger 2
Uç BeySubject Typeselect trigger 2
VassalSubject Typeselect trigger 2recently_elevanted_stronghold_variableVariableselect trigger 2Definitionin_game/common/generic_actions/rise_of_the_ottomans.txt:291
292type = situation
293show_message = no
294potential = {
295scope:actor = {
296has_reform = government_reform:anatolian_beylik
}
}
300allow = {
301scope:actor = {
302at_war = no
303is_during_bankruptcy = no
}
}
307automation_tick = never
308automation_tick_frequency = 12
310ai_tick = monthly
311ai_tick_frequency = 12
313price = price:p_building_age_2_renaissance
316cooldown = {
317type = raise_bey_fortress_key
318months = 12
}
321select_trigger = {
322looking_for_a = situation
328target_flag = recipient
329name = "choose_situation" Choose the Situation:
330column = {
331data = name
}
}
339select_trigger = {
340looking_for_a = location
341interaction_source_list = {
342scope:actor = {
343every_owned_non_rural_location = {
344limit = {
}
345add_to_list = source
}
347every_subject = {
348limit = {
349is_disloyal_subject = no
354any_owned_non_rural_location = {
}
}
358every_owned_non_rural_location = {
359limit = {
}
360add_to_list = source
}
}
}
}
365target_flag = target
366name = "choose_location" Choose a Location
367none_available_msg_key = "no_locations_available"
368column = {
368data = name
}
369column = {
369data = population
}
370visible = {
371region = region:anatolia_region
}
}
379effect = {
380if = {
381limit = {
382exists = scope:target
}
384scope:target = {
385construct_building = {
387cost_multiplier = 0
388cost_multiplier_reason = "royal_sponsorship"
}
}
}
393custom_tooltip = raise_bey_fortress_tt Building a Bey Fortress designates that city as our stronghold of power, which can have many benefits to its Control and Prosperity through an Event.
However, should the location fall in the hands of our enemies, our Stability and Government Power will suffer greatly
However, should the location fall in the hands of our enemies, our Stability and Government Power will suffer greatly
}
396ai_will_do = {
398if = {
399limit = {
399exists = scope:target
}
400add = {
401desc = "[target.GetName] [proximity|e]"
402value = scope:target.proximity
}
404add = {
405desc = "[target.GetName] [development|e]"
406value = scope:target.development
}
408if = {
409limit = {
410scope:target.owner ?= {
410is_subject_of = scope:actor
}
}
412add = {
413desc = "owned by a subject"
414value = -25
}
}
}
418else = {
419add = {
420value = 50
421desc = BASE_VALUE
}
}
}