Вступить в религиозную войну
Действие

Вступить в религиозную войну

join_the_league_warin_game/common/generic_actions/war_of_religions.txt:444

Религиозная война в разгаре. Наши интересы в Священной Римской Империи под угрозой! Нужно немедленно присоединиться к боевым действиям, чтобы враги не добились своего.

ТребуетРелигиозное превосходствоПовод для войныallowКатолическая лигаМеждународное объединениеallow, potential, select trigger 2, select trigger 3Священная Римская ИмперияМеждународное объединениеallowЕвангелическая унияМеждународное объединениеallow, potential, select trigger 2, select trigger 3ХристианствоРелигиозная группаallowРелигиозная войнаСитуацияselect trigger 1

Определениеin_game/common/generic_actions/war_of_religions.txt:444

445type = situation
447potential = {
448scope:actor = {
449NOR = {
450is_member_of_international_organization = international_organization:catholic_league
451is_member_of_international_organization = international_organization:protestant_union
}
}
}
456allow = {
459scope:actor = {
460religion.group = religion_group:christian
461at_war = no
462is_subject = no
463NOT = {
464any_union_partner = {
465in_war_of_casus_belli = casus_belli:cb_religious_superiority
}
}
}
470any_international_organization_member = {
471in_war_of_casus_belli = casus_belli:cb_religious_superiority
}
}
}
476ai_tick = daily
477ai_tick_frequency = 180
480select_trigger = {
481looking_for_a = situation
482interaction_source_list = {
484add_to_list = source
}
}
487target_flag = recipient
488name = "choose_situation" Выберите Concept:
489column = {
490data = name
}
492visible = {
494situation_is_active = yes
}
}
499select_trigger = {
500looking_for_a = country
501target_flag = target
502name = "join_religious_league_choose_faction" Выберите Религиозную лигу для вступления
503none_available_msg_key = "no_valid_religious_faction"
504column = {
504data = name
}
505visible = {
506OR = {
507is_leader_of_international_organization = international_organization:catholic_league
508is_leader_of_international_organization = international_organization:protestant_union
}
}
}
514select_trigger = {
515looking_for_a = war
516interaction_source_list = {
517scope:target = {
518every_current_war = {
519limit = {
520attacker_leader = {
521OR = {
522is_leader_of_international_organization = international_organization:catholic_league
523is_leader_of_international_organization = international_organization:protestant_union
}
}
526defender_leader = {
527OR = {
528is_leader_of_international_organization = international_organization:catholic_league
529is_leader_of_international_organization = international_organization:protestant_union
}
}
}
533add_to_list = source
}
}
}
537target_flag = target_war
538name = "join_religious_war_choose_war" Выберите Concept, в которую хотите вступить
539none_available_msg_key = "no_valid_religious_war"
540column = {
541data = name
}
543visible = {
}
545enabled = {
546scope:actor = {
547at_war = no
}
}
}
552effect = {
553if = {
554limit = {
555exists = scope:target
556exists = scope:target_war
}
558scope:actor = {
559join_war_with = {
560target = scope:target
561war = scope:target_war
562call_in_subjects = yes
}
}
}
566else = {
566custom_tooltip = join_the_league_war_effect_tt Мы вступим в религиозную войну на выбранной стороне
}
}
569ai_will_do = {
570value = 20
573add = {
574value = {
575value = scope:actor.modifier:bias_for_tolerant_policies
576multiply = -1
}
}
580if = {
581limit = {
582exists = scope:target
583exists = scope:target_war
}
585if = {
586limit = {
587scope:actor = {
587is_protestant = yes
}
}
589if = {
591add = {
592desc = "WE_ARE_PROTESTANT"
593value = 40
}
}
596else = {
597add = {
598desc = "WE_ARE_CATHOLIC"
599value = -40
}
}
}
603else_if = {
604limit = {
604scope:actor.religion = religion:catholic
}
605if = {
607add = {
608desc = "WE_ARE_CATHOLIC"
609value = 40
}
}
612else = {
613add = {
614desc = "WE_ARE_PROTESTANT"
615value = -40
}
}
}
622add = {
623desc = "OPINION_OF_RELIGIOUS_LEAGUE_LEADER"
624value = {
625scope:target = {
626scope:actor = {
627value = this_opinion_of_prev
628multiply = 0.2
}
}
}
}
634if = {
636add = {
637desc = "OPINION_OF_RELIGIOUS_LEAGUE_LEADER"
638value = {
640leader_country = {
641scope:actor = {
642value = this_opinion_of_prev
643multiply = -0.4
}
}
}
}
}
650if = {
651limit = {
652scope:actor = {
}
}
658add = {
659desc = "ALLIED_TO_RELIGIOUS_LEAGUE_LEADER"
660value = -100
}
}
}
664else = {
665add = {
666desc = "OPINION_OF_RELIGIOUS_LEAGUE_LEADER"
667value = {
669leader_country = {
670scope:actor = {
671value = this_opinion_of_prev
672multiply = -0.4
}
}
}
}
}
678if = {
679limit = {
680scope:actor = {
}
}
686add = {
687desc = "ALLIED_TO_RELIGIOUS_LEAGUE_LEADER"
688value = -100
}
}
}
694scope:actor = {
695if = {
696limit = {
697is_member_of_international_organization_of_type = {
698type = union
}
700NOT = {
701union = {
702country_is_senior_partner = {
703country = scope:actor
}
}
}
}
708add = -10000
}
}
}
}