add_namespace = switzerland add_namespace = switzerland_news #End of the Swiss Political System news_event = { id = switzerland.2 title = switzerland.2.t desc = switzerland.2.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = switzerland.2.o1 trigger = { original_tag = SWI } } option = { name = switzerland.2.o2 trigger = { NOT = { original_tag = SWI } OR = { has_government = democratic has_government = neutrality } } } option = { name = switzerland.2.o3 trigger = { NOT = { original_tag = SWI } NOT = { has_government = democratic } NOT = { has_government = neutrality } } } } #New Events #French Gets Alpine Inquiry Event country_event = { id = switzerland.8 title = switzerland.8.t desc = switzerland.8.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.8.a log = "[GetDateText]: [This.GetName]: switzerland.8.a executed" ai_chance = { base = 10 modifier = { add = 200 is_subject_of = FROM } modifier = { add = 50 has_capitulated = yes } modifier = { add = 25 surrender_progress > 0.3 } modifier = { add = 15 has_government = FROM has_opinion = { target = FROM value > 80 } } modifier = { factor = 0.1 is_historical_focus_on = yes } } if = { limit = { NOT = { has_war_with = FROM } } if = { limit = { owns_state = 857 } FROM = { transfer_state = 857 } # Savoy } if = { limit = { owns_state = 63 } FROM = { transfer_state = 63 } # Provence } if = { limit = { owns_state = 1000 } FROM = { transfer_state = 1000 } # Nice } FROM = { country_event = { id = switzerland.9 days = 1 } add_opinion_modifier = { target = ROOT modifier = gratitude } } } else = { add_opinion_modifier = { target = FROM modifier = small_decrease } } } option = { name = switzerland.8.b log = "[GetDateText]: [This.GetName]: switzerland.8.b executed" ai_chance = { base = 100 modifier = { factor = 0.5 sender_influence_higher_30 = yes } } FROM = { country_event = { id = switzerland.10 days = 1 } } add_opinion_modifier = { target = FROM modifier = insult } } } country_event = { id = switzerland.9 title = switzerland.9.t desc = switzerland.9.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.9.a log = "[GetDateText]: [This.GetName]: switzerland.9.a executed" add_manpower = 25000 add_political_power = 50 } } country_event = { id = switzerland.10 title = switzerland.10.t desc = switzerland.10.desc picture = GFX_treaty_rejected is_triggered_only = yes option = { name = switzerland.10.a log = "[GetDateText]: [This.GetName]: switzerland.10.a executed" add_political_power = 25 add_war_support = 0.03 } } #Italian Alps Inquiry country_event = { id = switzerland.11 title = switzerland.11.t desc = switzerland.11.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.11.a log = "[GetDateText]: [This.GetName]: switzerland.11.a executed" ai_chance = { base = 10 modifier = { add = 200 is_subject_of = FROM } modifier = { add = 50 has_capitulated = yes } modifier = { add = 25 surrender_progress > 0.3 } modifier = { add = 15 has_government = FROM has_opinion = { target = FROM value > 80 } } modifier = { factor = 0.1 is_historical_focus_on = yes } } if = { limit = { NOT = { has_war_with = FROM } } if = { limit = { owns_state = 1059 } FROM = { transfer_state = 1059 } # Aosta } if = { limit = { owns_state = 77 } FROM = { transfer_state = 77 } # Piemonte } if = { limit = { owns_state = 80 } FROM = { transfer_state = 80 } # Lombardia } if = { limit = { owns_state = 285 } FROM = { transfer_state = 285 } # South Tyrol } FROM = { country_event = { id = switzerland.12 days = 1 } add_opinion_modifier = { target = ROOT modifier = gratitude } } } else = { add_opinion_modifier = { target = FROM modifier = small_decrease } } } option = { name = switzerland.11.b log = "[GetDateText]: [This.GetName]: switzerland.11.b executed" ai_chance = { base = 100 modifier = { factor = 0.5 sender_influence_higher_30 = yes } } FROM = { country_event = { id = switzerland.13 days = 1 } } add_opinion_modifier = { target = FROM modifier = insult } } } country_event = { id = switzerland.12 title = switzerland.12.t desc = switzerland.12.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.12.a log = "[GetDateText]: [This.GetName]: switzerland.12.a executed" add_manpower = 25000 add_political_power = 50 } } country_event = { id = switzerland.13 title = switzerland.13.t desc = switzerland.13.desc picture = GFX_treaty_rejected is_triggered_only = yes option = { name = switzerland.13.a log = "[GetDateText]: [This.GetName]: switzerland.13.a executed" add_political_power = 25 add_war_support = 0.03 } } #Austrian Alps Inquiry & Lichtenstein Annexation country_event = { id = switzerland.14 title = switzerland.14.t desc = switzerland.14.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.14.a log = "[GetDateText]: [This.GetName]: switzerland.14.a executed" ai_chance = { base = 10 modifier = { add = 200 is_subject_of = FROM } modifier = { add = 50 has_capitulated = yes } modifier = { add = 25 surrender_progress > 0.3 } modifier = { add = 15 has_government = FROM has_opinion = { target = FROM value > 80 } } modifier = { factor = 0.1 is_historical_focus_on = yes } } if = { limit = { NOT = { has_war_with = FROM } } if = { limit = { owns_state = 286 } FROM = { transfer_state = 286 } # Tyrol } FROM = { country_event = { id = switzerland.15 days = 1 } add_opinion_modifier = { target = ROOT modifier = gratitude } } } else = { add_opinion_modifier = { target = FROM modifier = small_decrease } } } option = { name = switzerland.14.b log = "[GetDateText]: [This.GetName]: switzerland.14.b executed" ai_chance = { base = 100 modifier = { factor = 0.5 sender_influence_higher_30 = yes } } FROM = { country_event = { id = switzerland.16 days = 1 } } add_opinion_modifier = { target = FROM modifier = insult } } } country_event = { id = switzerland.15 title = switzerland.15.t desc = switzerland.15.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.15.a log = "[GetDateText]: [This.GetName]: switzerland.15.a executed" add_manpower = 25000 add_political_power = 50 } } country_event = { id = switzerland.16 title = switzerland.16.t desc = switzerland.16.desc picture = GFX_treaty_rejected is_triggered_only = yes option = { name = switzerland.16.a log = "[GetDateText]: [This.GetName]: switzerland.16.a executed" add_political_power = 25 add_war_support = 0.03 } } country_event = { id = switzerland.17 title = switzerland.17.t desc = switzerland.17.desc picture = GFX_political_deal is_triggered_only = yes option = { name = switzerland.17.a log = "[GetDateText]: [This.GetName]: switzerland.17.a executed" trigger = { NOT = { has_completed_focus = SWI_neutral_foreign_policy } } ai_chance = { base = 30 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_global_flag = SWI_NEUTRAL_PATH } modifier = { add = 100 has_global_flag = SWI_NATO_PATH } } complete_national_focus = SWI_opening_up } option = { name = switzerland.17.b log = "[GetDateText]: [This.GetName]: switzerland.17.b executed" trigger = { NOT = { has_completed_focus = SWI_opening_up } } ai_chance = { base = 70 modifier = { factor = 0 has_global_flag = SWI_NATO_PATH } modifier = { add = 100 has_global_flag = SWI_NEUTRAL_PATH } } complete_national_focus = SWI_neutral_foreign_policy } } country_event = { id = switzerland.18 title = switzerland.18.t desc = switzerland.18.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.18.a log = "[GetDateText]: [This.GetName]: switzerland.18.a executed" ai_chance = { base = 60 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { add = 100 has_global_flag = SWI_NATO_PATH } # No NATO left to join — Alone is Safer instead modifier = { factor = 0 check_variable = { global.nato_members^num < 1 } } } NATO_join_via_event = yes } option = { name = switzerland.18.b ai_chance = { base = 40 modifier = { factor = 0 has_global_flag = SWI_NATO_PATH check_variable = { global.nato_members^num > 0 } } modifier = { add = 100 check_variable = { global.nato_members^num < 1 } } } } } country_event = { id = switzerland.22 title = switzerland.22.t desc = switzerland.22.desc picture = GFX_trade_agreement is_triggered_only = yes option = { name = switzerland.22.a log = "[GetDateText]: [This.GetName]: switzerland.22.a executed" trigger = { NOT = { has_completed_focus = SWI_partner_like_everyone } } ai_chance = { base = 60 modifier = { add = 40 is_historical_focus_on = yes } modifier = { factor = 0 has_global_flag = SWI_NEUTRAL_PATH } } complete_national_focus = SWI_expanded_trade } option = { name = switzerland.22.b log = "[GetDateText]: [This.GetName]: switzerland.22.b executed" trigger = { NOT = { has_completed_focus = SWI_expanded_trade } } ai_chance = { base = 40 modifier = { add = 100 has_global_flag = SWI_NEUTRAL_PATH } } complete_national_focus = SWI_partner_like_everyone } } #Liechtenstein Asked to Join the Alpine Federation country_event = { id = switzerland.23 title = switzerland.23.t desc = switzerland.23.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.23.a log = "[GetDateText]: [This.GetName]: switzerland.23.a executed" ai_chance = { base = 30 modifier = { factor = 0 has_war_with = FROM } modifier = { add = 30 is_guaranteed_by = FROM } modifier = { add = -20 has_opinion = { target = FROM value < 0 } } } FROM = { country_event = { id = switzerland.24 hours = 6 } annex_country = { target = ROOT transfer_troops = no } } } option = { name = switzerland.23.b log = "[GetDateText]: [This.GetName]: switzerland.23.b executed" ai_chance = { base = 70 } FROM = { country_event = { id = switzerland.25 hours = 6 } } add_opinion_modifier = { target = FROM modifier = insult } } } country_event = { id = switzerland.24 title = switzerland.24.t desc = switzerland.24.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.24.a log = "[GetDateText]: [This.GetName]: switzerland.24.a executed" add_political_power = 50 add_stability = 0.02 } } country_event = { id = switzerland.25 title = switzerland.25.t desc = switzerland.25.desc picture = GFX_treaty_rejected is_triggered_only = yes option = { name = switzerland.25.a log = "[GetDateText]: [This.GetName]: switzerland.25.a executed" add_political_power = 25 } } #Liechtenstein Pressured to Join Switzerland (Alpine Destiny) country_event = { id = switzerland.26 title = switzerland.26.t desc = switzerland.26.desc picture = GFX_treaty is_triggered_only = yes option = { name = switzerland.26.a log = "[GetDateText]: [This.GetName]: switzerland.26.a executed" ai_chance = { base = 10 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_war_with = FROM } modifier = { add = 20 has_opinion = { target = FROM value > 50 } } modifier = { add = -10 has_opinion = { target = FROM value < 0 } } } FROM = { annex_country = { target = ROOT transfer_troops = yes } } } option = { name = switzerland.26.b log = "[GetDateText]: [This.GetName]: switzerland.26.b executed" ai_chance = { base = 90 } FROM = { add_state_claim = 947 } add_opinion_modifier = { target = FROM modifier = insult } } } #Switzerland joins the United Nations news_event = { id = switzerland_news.1 title = switzerland_news.1.t desc = switzerland_news.1.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = switzerland_news.1.o1 trigger = { NOT = { original_tag = SWI } } } option = { name = switzerland_news.1.o3 trigger = { original_tag = SWI } } } #The Alpine Republic news_event = { id = switzerland_news.7 title = switzerland_news.7.t desc = switzerland_news.7.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = switzerland_news.7.a } } #Eurofighter Purchase Request country_event = { id = switzerland.27 title = switzerland.27.t desc = switzerland.27.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = switzerland.27.a log = "[GetDateText]: [This.GetName]: switzerland.27.a executed" FROM = { if = { limit = { has_dlc = "By Blood Alone" } create_equipment_variant = { name = "Eurofighter" type = medium_plane_airframe_2 parent_version = 0 modules = { fixed_main_weapon_slot = weap_mp_med_hardpoint_1 fixed_gun_slot = weap_multi_gun_1 engine_type_slot = engine_jet_double_3 avionics_type_slot = avionics_manned_3 wingform_type_slot = wing_delta_canard special_slot_type_1 = spec_countermeasures_2 special_slot_type_2 = empty special_slot_type_3 = spec_tgp_1 fixed_auxiliary_weapon_slot_1 = weap_a2a_hardpoint_2 fixed_auxiliary_weapon_slot_2 = weap_mp_light_hardpoint_2 } icon = "gfx/interface/technologies/GER/AIR/Typhoon-T1.dds" model = "GER_medium_plane_airframe_2_entity" allow_without_tech = yes } } else = { add_equipment_to_stockpile = { type = Strike_fighter2 amount = 23 producer = GER } } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes country_event = { id = switzerland.30 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0 has_war_with = FROM } modifier = { add = 5 has_opinion = { target = FROM value > 50 } } modifier = { factor = 0.25 has_opinion = { target = FROM value < 0 } } } } option = { name = switzerland.27.b log = "[GetDateText]: [This.GetName]: switzerland.27.b executed" FROM = { country_event = { id = switzerland.31 days = 1 } } ai_chance = { base = 1 } } } #Rafale Purchase Request country_event = { id = switzerland.28 title = switzerland.28.t desc = switzerland.28.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = switzerland.28.a log = "[GetDateText]: [This.GetName]: switzerland.28.a executed" FROM = { if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = medium_plane_fighter_airframe_2 amount = 23 producer = FRA variant_name = "Rafale C" } } else = { add_equipment_to_stockpile = { type = MR_Fighter1 amount = 23 producer = FRA } } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes country_event = { id = switzerland.30 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0 has_war_with = FROM } modifier = { add = 5 has_opinion = { target = FROM value > 50 } } modifier = { factor = 0.25 has_opinion = { target = FROM value < 0 } } } } option = { name = switzerland.28.b log = "[GetDateText]: [This.GetName]: switzerland.28.b executed" FROM = { country_event = { id = switzerland.31 days = 1 } } ai_chance = { base = 1 } } } #C-130J Purchase Request country_event = { id = switzerland.29 title = switzerland.29.t desc = switzerland.29.d picture = GFX_passenger_plane is_triggered_only = yes option = { name = switzerland.29.a log = "[GetDateText]: [This.GetName]: switzerland.29.a executed" FROM = { if = { limit = { has_dlc = "By Blood Alone" } create_equipment_variant = { name = "C-130J Super Hercules" type = large_plane_air_transport_airframe_1 parent_version = 0 modules = { fixed_main_weapon_slot = weap_buff_transport fixed_gun_slot = empty engine_type_slot = engine_prop_quad_2 avionics_type_slot = avionics_manned_3 wingform_type_slot = wing_straight special_slot_type_1 = spec_countermeasures_2 special_slot_type_2 = empty special_slot_type_3 = spec_refuel_1 fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty } icon = "gfx/interface/technologies/USA/AIR/C-130J.dds" model = "USA_large_plane_air_transport_airframe_1_entity" allow_without_tech = yes } } else = { add_equipment_to_stockpile = { type = transport_plane2 amount = 24 producer = USA } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes country_event = { id = switzerland.30 days = 1 } } ai_chance = { base = 5 modifier = { factor = 0 has_war_with = FROM } modifier = { add = 5 has_opinion = { target = FROM value > 50 } } modifier = { factor = 0.25 has_opinion = { target = FROM value < 0 } } } } option = { name = switzerland.29.b log = "[GetDateText]: [This.GetName]: switzerland.29.b executed" FROM = { country_event = { id = switzerland.31 days = 1 } } ai_chance = { base = 1 } } } #Purchase Accepted Notification country_event = { id = switzerland.30 title = switzerland.30.t desc = switzerland.30.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = switzerland.30.a } } #Purchase Declined Notification country_event = { id = switzerland.31 title = switzerland.31.t desc = switzerland.31.d picture = GFX_fighter_jet is_triggered_only = yes option = { name = switzerland.31.a } } #Dissolving The Federation news_event = { id = switzerland_news.8 title = switzerland_news.8.t desc = switzerland_news.8.d picture = GFX_news_election_rally is_triggered_only = yes major = yes option = { name = switzerland_news.8.a } }