
Action
Inspecter les fortifications
Les fortifications de notre nation font office de boucliers contre nos ennemis. Il est vital pour le bien de notre souveraineté que nous les inspections afin de nous assurer de leur solidité.
L'ascension des TurcsConjonctureselect trigger 1Défenses en déclinModificateur statiqueeffectFortifications récemment inspectéesModificateur statiqueeffect, select trigger 2Définitionin_game/common/generic_actions/rise_of_the_ottomans.txt:495
496type = situation
497show_message = no
498potential = {
499scope:actor = {
500has_reform = government_reform:anatolian_beylik
}
}
504allow = {
505scope:actor = {
506any_fort_in_country = {
506count > 0
}
507at_war = no
}
}
511automation_tick = never
512automation_tick_frequency = 12
514price = price:examine_our_fortifications_price
516select_trigger = {
517looking_for_a = situation
523target_flag = recipient
524name = "choose_situation" Sélectionner la Conjoncture :
525column = {
526data = name
}
}
534select_trigger = {
535looking_for_a = area
536source = actor
537target_flag = target
538name = "choose_fortification_to_inspect" Choisissez un Lieu avec un Château à inspecter.
539none_available_msg_key = "no_fortifications_available"
540column = {
541data = name
}
543visible = {
544any_location_in_area = {
545owner ?= scope:actor
546has_fort = yes
}
}
}
552effect = {
553if = {
554limit = {
555exists = scope:target
}
557scope:target = {
558every_location_in_area = {
559limit = {
560has_owner = yes
561owner = scope:actor
562has_fort = yes
}
565if = {
}
569add_location_modifier = {
}
}
}
}
577else = {
578custom_tooltip = inspect_fortifications_location_tt Renforçons les défenses des fortifications dans la Contrée sélectionnée et assurons-nous que cela soit conforme à nos exigences militaires en recevant le modificateur Fortifications récemment inspectées.
}
}
581cooldown = {
581type = examine_our_fortifications_key
581years = 3
}
582ai_will_do = {
583add = {
584value = 5
585desc = BASE_VALUE
}
588if = {
589limit = {
589scope:actor.fort_maintenance > 0
}
590add = {
591value = scope:actor.fort_maintenance
592multiply = 10
593desc = "[fort_maintenance|e]"
}
}
596else = {
597add = {
598value = -100
599desc = "[fort_maintenance|e]"
}
}
603if = {
604limit = {
604exists = scope:target
}
605scope:target = {
606every_ownable_location_in_area = {
607limit = {
608owner = scope:actor
609has_fort = yes
}
611add = this.development
}
}
}
}