
LawChanged this version
Internal Politics
While the Swiss Confederation is first and foremost a union for defensive purposes, it is clear that the internal affairs of the Confederation must be handled too.
Swiss ConfederationInternational OrganizationpotentialPolicies 2
Definitionin_game/common/laws/22_swiss_confederation.txt:529
530type = international_organization
531law_category = administrative
532potential = {
}
533sc_forbid_internal_wars = {
534on_activate = {
535if = {
536limit = {
537NOT = {
537has_variable = sc_religious_chaos
}
538NOT = {
538international_organization_has_policy = policy:sc_enforcing_religious_unity
}
}
540custom_tooltip = sc_forbid_internal_wars_tt
}
542else = {
543custom_tooltip = sc_forbid_same_religion_internal_wars_tt
}
}
547can_declare_war = {
548trigger_if = {
549limit = {
550exists = scope:attacker
551exists = scope:defender
552exists = scope:recipient
553scope:attacker ?= {
553is_member_of_international_organization = scope:recipient
}
554scope:defender ?= {
554is_member_of_international_organization = scope:recipient
}
555trigger_if = {
556limit = {
557scope:recipient = {
558OR = {
559has_variable = sc_religious_chaos
560international_organization_has_policy = policy:sc_enforcing_religious_unity
}
}
}
564scope:attacker.religion = scope:defender.religion
}
}
567always = no
}
569trigger_else = {
570always = yes
}
}
573wants_this_policy_bias = {
574if = {
575limit = {
575scope:recipient = {
575international_organization_has_leader = yes
}
}
577add = {
578desc = "POLICY_BIAS_OPINION_OF_IO_LEADER"
579value = "opinion(scope:recipient.leader_country)"
}
582add = {
583desc = "IO_LEADER_DIP_REP"
584value = scope:recipient.leader_country.modifier:diplomatic_reputation
}
}
587else = {
588add = {
589desc = "VOTE_BASE_VALUE"
590value = 10
}
592add = io_members_and_potential_members_opinion_value
}
594add = {
595desc = "BIAS_FROM_RULER_TRAITS"
596value = modifier:bias_for_diplomat_policies
}
598add = {
599desc = "OPPOSES_RULER_TRAITS"
600value = modifier:bias_for_militarist_policies
601multiply = -1
}
603add = {
604desc = "BENEFITS_US"
605value = io_get_average_tax_base
606subtract = country_tax_base
}
}
}
611sc_allow_internal_wars = {
612can_declare_war = {
613always = yes
}
616modifier = {
617monthly_army_tradition = 0.05
}
620wants_this_policy_bias = {
621if = {
622limit = {
622scope:recipient = {
622international_organization_has_leader = yes
}
}
624add = {
625desc = "POLICY_BIAS_OPINION_OF_IO_LEADER"
626value = "opinion(scope:recipient.leader_country)"
}
629add = {
630desc = "IO_LEADER_DIP_REP"
631value = scope:recipient.leader_country.modifier:diplomatic_reputation
}
}
634else = {
635add = {
636desc = "VOTE_BASE_VALUE"
637value = 10
}
639add = io_members_and_potential_members_opinion_value
}
641add = {
642desc = "BIAS_FROM_RULER_TRAITS"
643value = modifier:bias_for_diplomat_policies
}
645add = {
646desc = "OPPOSES_RULER_TRAITS"
647value = modifier:bias_for_militarist_policies
648multiply = -1
}
650add = {
651desc = "BENEFITS_US"
652value = io_get_average_tax_base
653subtract = country_tax_base
}
}
}