
ActionNew this version
Side with the Holy Roman Empire Leader Country
It is our duty to join the Holy Roman Empire Leader Country in their struggle to wipe out heresy from the face of Europe!
BohemiaCountryallow, effect, potential
RomeCountrypotential
Holy Roman EmpireInternational Organizationallow, effect, potential
CatholicismReligionpotential
HussitismReligionpotential
Hussite WarsSituationselect triggerDefinitionin_game/common/generic_actions/hussite_wars_actions.txt:660
661type = situation
662show_message = no
664ai_tick = monthly
665ai_tick_frequency = 6
667automation_tick = never
668automation_tick_frequency = 12
671potential = {
674scope:actor = {
}
}
686allow = {
687scope:actor = {
688at_war = no
689is_subject = no
690is_during_bankruptcy = no
691OR = {
}
}
706custom_tooltip = {
707text = bohemia_and_emperor_at_war_with_both_being_leaders_tt Bohemia and Holy Roman Empire Leader Country are at war with each other and each Country is the War Leader of their respective side
708any_current_war = {
709OR = {
710AND = {
}
714AND = {
}
}
}
}
721opinion = {
722target = scope:actor
723value > 0
}
}
}
727price = price:hussite_wars_actions_price
729cooldown = {
730type = join_the_imperial_side_hw_action
731years = 10
}
734select_trigger = {
735looking_for_a = situation
736target_flag = recipient
737name = "choose_situation" Choose the Situation:
738column = {
739data = name
}
}
747effect = {
749if = {
750limit = {
751any_current_war = {
}
}
756random_current_war = {
757limit = {
}
761scope:actor = {
762join_war_as_attacker = {
762war = prev
762call_in_subjects = yes
}
}
}
}
766else_if = {
767limit = {
768any_current_war = {
}
}
773random_current_war = {
774limit = {
}
778scope:actor = {
779join_war_as_defender = {
779war = prev
779call_in_subjects = yes
}
}
}
}
783else = {
783custom_tooltip = join_current_war_against_bohemia_tt We will join the ongoing War of the Holy Roman Empire Leader Country against the Bohemia
}
}
}
787ai_will_do = {
788subtract = {
789value = 75
790desc = BASE_VALUE
}
792if = {
793limit = {
793scope:actor.war_exhaustion != 0
}
794subtract = {
795desc = war_exhaustion
796value = scope:actor.war_exhaustion
797multiply = 10
}
}
800if = {
801limit = {
801scope:actor.num_loans > 0
}
802subtract = {
803value = scope:actor.num_loans
804multiply = -10
}
}
807add = {
808value = "scope:actor.opinion(international_organization:hre.leader_country)"
809desc = "[GetUniqueInternationalOrganization('hre').GetLeaderTitle] [opinion|e] of [actor.GetName]"
}
811add = {
812desc = "[GetUniqueInternationalOrganization('hre').GetLeaderTitle] [diplomatic_reputation|e]"
813value = international_organization:hre.leader_country.modifier:diplomatic_reputation
}
815subtract = {
816value = "scope:actor.opinion(c:BOH)"
817desc = "Our opinion of $BOHquot;
}
819subtract = {
820desc = "[GetCountry('BOH').GetAdjective] [diplomatic_reputation|e]"
821value = c:BOH.modifier:diplomatic_reputation
}
824if = {
825limit = {
}
829add = {
830value = 35
831desc = HRE_EMPEROR_SUPPRESSES_HERESY_DESC
}
}
835else_if = {
836limit = {
837scope:actor = {
}
}
843add = {
844value = 20
845desc = HRE_MEMBER_SUPPRESSES_HERESY_DESC
}
}
848if = {
852add = {
853desc = "[GetCountry('BOH').GetAdjective] [heretic_tolerance|e]"
854value = c:BOH.modifier:tolerance_heretic
855multiply = 5
}
}
858if = {
862add = {
863desc = "[GetCountry('BOH').GetAdjective] [ShowModifier('promoted_radicals_modifier')]"
864value = 5
}
}
867if = {
871subtract = {
872desc = "[GetCountry('BOH').GetAdjective] [ShowModifier('promoted_moderates_modifier')]"
873value = 5
}
}
877if = {
879add = {
880value = "international_organization:hre.leader_country.war_score_versus(c:BOH)"
881multiply = -100
}
}
}