
Action
Join the War of Religions
The War of Religions is in full force and our interests in the Holy Roman Empire are under threat! If we want to prevent our enemies from gaining a significant advantage from this war, we must act now and join the fray.
Religious SuperiorityCasus Belliallow
Catholic LeagueInternational Organizationallow, potential, select trigger 2, select trigger 3
Holy Roman EmpireInternational Organizationallow
Protestant UnionInternational Organizationallow, potential, select trigger 2, select trigger 3
ChristianityReligion Groupallow
War of ReligionsSituationselect trigger 1Definitionin_game/common/generic_actions/war_of_religions.txt:444
445type = situation
447potential = {
448scope:actor = {
449NOR = {
}
}
}
456allow = {
459scope:actor = {
461at_war = no
462is_subject = no
}
470any_international_organization_member = {
}
}
}
476ai_tick = daily
477ai_tick_frequency = 180
480select_trigger = {
481looking_for_a = situation
487target_flag = recipient
488name = "choose_situation" Choose the Situation:
489column = {
490data = name
}
}
499select_trigger = {
500looking_for_a = country
501target_flag = target
502name = "join_religious_league_choose_faction" Choose the Religious League to join
503none_available_msg_key = "no_valid_religious_faction"
504column = {
504data = name
}
505visible = {
506OR = {
}
}
}
514select_trigger = {
515looking_for_a = war
516interaction_source_list = {
517scope:target = {
518every_current_war = {
519limit = {
520attacker_leader = {
521OR = {
}
}
526defender_leader = {
527OR = {
}
}
}
533add_to_list = source
}
}
}
537target_flag = target_war
538name = "join_religious_war_choose_war" Choose the War to join
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 We will join the War of Religions on the chosen side
}
}
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
}
}
}
}