Kontrola fortyfikacji
Działanie

Kontrola fortyfikacji

examine_our_fortificationsin_game/common/generic_actions/rise_of_the_ottomans.txt:495

Fortyfikacje na naszych ziemiach pełnią rolę tarczy przeciwko wrogom. Warto będzie przeprowadzić ich inspekcję, bowiem ich skuteczność jest kluczowa dla naszej niepodległości.

WymagaRozkwit narodu tureckiegoSytuacjaselect trigger 1Słabnąca obronaModyfikator statycznyeffectNiedawno skontrolowane fortyfikacjeModyfikator statycznyeffect, select trigger 2

Definicjain_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
518interaction_source_list = {
520add_to_list = source
}
}
523target_flag = recipient
524name = "choose_situation" Wybierz Concept:
525column = {
526data = name
}
528visible = {
530situation_is_active = yes
}
}
534select_trigger = {
535looking_for_a = area
536source = actor
537target_flag = target
538name = "choose_fortification_to_inspect" Wybierz Concept, w której jest Zamek do kontroli.
539none_available_msg_key = "no_fortifications_available"
540column = {
541data = name
}
543visible = {
544any_location_in_area = {
545owner ?= scope:actor
546has_fort = yes
547NOT = {
}
}
}
}
552effect = {
553if = {
554limit = {
555exists = scope:target
}
557scope:target = {
558every_location_in_area = {
559limit = {
560has_owner = yes
561owner = scope:actor
562has_fort = yes
563NOT = {
}
}
565if = {
566limit = {
566has_location_modifier = decaying_defenses_modifier
}
567remove_location_modifier = decaying_defenses_modifier
}
569add_location_modifier = {
571years = 10
572mode = add_and_extend
}
}
}
}
577else = {
578custom_tooltip = inspect_fortifications_location_tt Wzmocnij obronę fortyfikacji na wybranym Concept i upewnij się, że spełnia wojskowe standardy, zyskując modyfikator „Niedawno skontrolowane fortyfikacje”.
}
}
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
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Wszelkie prawa zastrzeżone. Nieoficjalny projekt fanowski, niezwiązany z Paradox Interactive. Zawartość gry © Paradox Interactive. O serwisie · Prywatność · Nota prawna