add_namespace = Sweden add_namespace = Sweden_foci add_namespace = Sweden_news add_namespace = Sweden_Forsvarsbeslutet add_namespace = Sweden_royal add_namespace = SWE_eastern ###################FOCUS TREE############### #NF: Post-Crisis Fiscal Decisions country_event = { id = Sweden.5 title = Sweden.5.t desc = Sweden.5.d picture = GFX_stock_market is_triggered_only = yes option = { name = Sweden.5.o1 log = "[GetDateText]: [This.GetName]: Sweden.5.o1 executed" add_political_power = 25 add_stability = -0.05 decrease_social_spending = yes set_temp_variable = { temp_opinion = -5 } change_labour_unions_opinion = yes ai_chance = { base = 10 } } option = { name = Sweden.5.o2 log = "[GetDateText]: [This.GetName]: Sweden.5.o2 executed" add_political_power = -50 add_stability = -0.02 ai_chance = { base = 0 } } } #NF: Riksbank Policy country_event = { id = Sweden.6 title = Sweden.6.t desc = Sweden.6.d picture = GFX_stock_market is_triggered_only = yes option = { name = Sweden.6.o1 log = "[GetDateText]: [This.GetName]: Sweden.6.o1 executed" add_stability = 0.01 set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 10 } } option = { name = Sweden.6.o2 log = "[GetDateText]: [This.GetName]: Sweden.6.o2 executed" add_political_power = 50 add_stability = -0.01 set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 0 } } } #Sink USS Reagan in exercise country_event = { id = Sweden.19 title = Sweden.19.t desc = Sweden.19.d picture = GFX_ast_submarine2 is_triggered_only = yes #major = true option = { name = Sweden.19.o1 log = "[GetDateText]: [This.GetName]: Sweden.19.o1 executed" if = { limit = { original_tag = SWE } add_ideas = SWE_stealth_submarines navy_experience = 20 } if = { limit = { original_tag = USA } navy_experience = 10 } } } #2021 gov crisis country_event = { id = Sweden.20 title = Sweden.20.t desc = Sweden.20.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes option = { name = Sweden.20.o1 log = "[GetDateText]: [This.GetName]: Sweden.20.o1 executed" hidden_effect = { set_leader = yes set_variable = { current_term = 0 } #not a full term } ai_chance = { base = 10 } add_stability = -0.02 country_event = Sweden.21 } option = { name = Sweden.20.o2 log = "[GetDateText]: [This.GetName]: Sweden.20.o2 executed" country_event = MD4_election_campaign.0 add_stability = -0.02 ai_chance = { base = 8 } country_event = Sweden.21 } option = { name = Sweden.20.o3 log = "[GetDateText]: [This.GetName]: Sweden.20.o3 executed" add_stability = -0.05 ai_chance = { base = 2 } country_event = Sweden.21 } } # country_event = { id = Sweden.21 title = Sweden.21.t desc = Sweden.21.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden.21.o2 } } #THESE NEED TRIGGERS# #Schengen Area, March 2001 news_event = { id = Sweden.22 title = Sweden.22.t desc = Sweden.22.d picture = GFX_news_trade_agreement is_triggered_only = yes trigger = { has_idea = EU_member } option = { name = Sweden.22.o1 log = "[GetDateText]: [This.GetName]: Sweden.22.o1 executed" add_stability = 0.05 } } #Norrtåg Founded, May 2001 country_event = { id = Sweden.23 title = Sweden.23.t desc = Sweden.23.d picture = GFX_report_event_Infrastructure_1 is_triggered_only = yes trigger = { original_tag = SWE } option = { name = Sweden.23.o1 log = "[GetDateText]: [This.GetName]: Sweden.23.o1 executed" if = { limit = { 442 = { infrastructure < 5 } } 442 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } else = { 442 = { add_extra_state_shared_building_slots = 2 } } } } } #Nobel Prize turn 100, December 2001 news_event = { id = Sweden.24 title = Sweden.24.t desc = Sweden.24.d picture = GFX_news_press_conference is_triggered_only = yes trigger = { original_tag = SWE } option = { name = Sweden.24.o1 } } #Rinkeby Murder, February 26 2002 news_event = { id = Sweden.25 title = Sweden.25.t desc = Sweden.25.d picture = GFX_news_crime_fighting is_triggered_only = yes trigger = { original_tag = SWE } option = { name = Sweden.25.o1 log = "[GetDateText]: [This.GetName]: Sweden.25.o1 executed" add_stability = -0.01 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } #Västermalmsgallerian, August 2002 news_event = { id = Sweden.26 title = Sweden.26.t desc = Sweden.26.d picture = GFX_world_stockmarket is_triggered_only = yes option = { name = Sweden.26.o1 log = "[GetDateText]: [This.GetName]: Sweden.26.o1 executed" one_office_construction = yes } } #Anna Lindh, September 2003 country_event = { id = Sweden.27 title = Sweden.27.t desc = Sweden.27.d picture = GFX_report_event_Gun_1 is_triggered_only = yes option = { # Neutral response name = Sweden.27.o1 log = "[GetDateText]: [This.GetName]: Sweden.27.o1 executed" add_stability = -0.05 } option = { # Launch a manhunt name = Sweden.27.o2 log = "[GetDateText]: [This.GetName]: Sweden.27.o2 executed" add_political_power = -50 hidden_effect = { SWE = { country_event = Sweden.28 } } } } #Anna Lindh murderer found country_event = { id = Sweden.28 title = Sweden.28.t desc = Sweden.28.d picture = GFX_report_event_Arrest_5 is_triggered_only = yes option = { # We got him name = Sweden.28.o1 log = "[GetDateText]: [This.GetName]: Sweden.28.o1 executed" add_stability = 0.05 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } #### Borgers Events ### #borgers focus events #Negotiate foreign air license country_event = { id = Sweden_foci.1 title = Sweden_foci.1.t desc = Sweden_foci.1.d picture = GFX_MIG-29-GER is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.1.o1 trigger = { SWE_can_request_from_USA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.1.o1 executed" USA = { country_event = { id = Sweden_foci.1001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.1.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.1.o2 executed" SOV = { country_event = { id = Sweden_foci.1001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.1.o3 log = "[GetDateText]: [This.GetName]: Sweden_foci.1.o3 executed" add_political_power = 50 add_war_support = -0.03 ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #Deny the Request/We Do not have the funds } country_event = { id = Sweden_foci.1001 title = Sweden_foci.1001.t desc = { trigger = { original_tag = USA } text = Sweden_foci.1001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.1001.d2 } picture = GFX_MIG-29-GER is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.1001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.1001.o1 executed" SWE = { country_event = { id = Sweden_foci.1003 days = 7 } } set_country_flag = i_like_cookies_2 ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.1001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.1001.o2 executed" set_country_flag = i_like_cookies SWE = { country_event = { id = Sweden_foci.1002 days = 7 } } ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.1002 title = Sweden_foci.1002.t desc = { trigger = { USA = { has_country_flag = i_like_cookies } } text = Sweden_foci.1002.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_cookies } } text = Sweden_foci.1002.d2 } picture = GFX_MIG-29-GER is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.1002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.1002.o1 executed" if = { limit = { has_dlc = "By Blood Alone" USA = { has_country_flag = i_like_cookies } } add_equipment_to_stockpile = { type = cv_medium_plane_cas_airframe_2 amount = 36 variant_name = "F/A-18D Hornet" producer = USA } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "By Blood Alone" } USA = { has_country_flag = i_like_cookies } } add_equipment_to_stockpile = { type = CV_MR_Fighter3 #F/A-18 producer = USA amount = 36 } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "By Blood Alone" SOV = { has_country_flag = i_like_cookies } } add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = 36 variant_name = "MiG-29 Fulcrum" producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "By Blood Alone" } SOV = { has_country_flag = i_like_cookies } } add_equipment_to_stockpile = { type = MR_Fighter2 amount = 36 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.1003 title = Sweden_foci.1003.t desc = { trigger = { USA = { has_country_flag = i_like_cookies_2 } } text = Sweden_foci.1003.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_cookies_2 } } text = Sweden_foci.1003.d2 } picture = GFX_MIG-29-GER is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.1003.o1 } } #Negotiate tank deals country_event = { id = Sweden_foci.2 title = Sweden_foci.2.t desc = Sweden_foci.2.d picture = GFX_Leo_2_boden is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.2.o1 trigger = { SWE_can_request_from_USA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.2.o1 executed" USA = { country_event = { id = Sweden_foci.2001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.2.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.2.o2 executed" SOV = { country_event = { id = Sweden_foci.2001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.2.o3 trigger = { SWE_can_request_from_GER = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.2.o3 executed" GER = { country_event = { id = Sweden_foci.2001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.2.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.2.o4 executed" add_political_power = 50 add_war_support = -0.03 ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #Deny the Request/We Do not have the funds } country_event = { id = Sweden_foci.2001 title = Sweden_foci.2001.t desc = { trigger = { original_tag = USA } text = Sweden_foci.2001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.2001.d2 } desc = { trigger = { original_tag = GER } text = Sweden_foci.2001.d3 } picture = GFX_Leo_2_boden is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.2001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.2001.o1 executed" set_country_flag = i_like_tanks SWE = { country_event = { id = Sweden_foci.2003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.2001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.2001.o2 executed" SWE = { country_event = { id = Sweden_foci.2002 days = 7 } } set_country_flag = i_like_tanks_2 ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.2002 title = Sweden_foci.2002.t desc = { trigger = { USA = { has_country_flag = i_like_tanks_2 } } text = Sweden_foci.2002.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_tanks_2 } } text = Sweden_foci.2002.d2 } desc = { trigger = { GER = { has_country_flag = i_like_tanks_2 } } text = Sweden_foci.2002.d3 } picture = GFX_Leo_2_boden is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.2002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.2002.o1 executed" if = { limit = { has_dlc = "No Step Back" USA = { has_country_flag = i_like_tanks_2 } } add_equipment_to_stockpile = { type = medium_tank_chassis_2 variant_name = "M1A2 Abrams" amount = 42 producer = USA } USA = { create_production_license = { target = SWE equipment = { type = medium_tank_chassis_2 version_name = "M1A2 Abrams" } cost_factor = 1 } } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } USA = { has_country_flag = i_like_tanks_2 } } add_equipment_to_stockpile = { type = MBT_5 amount = 42 producer = USA } USA = { create_production_license = { target = SWE equipment = { type = MBT_5 } cost_factor = 1 } } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" SOV = { has_country_flag = i_like_tanks_2 } } add_equipment_to_stockpile = { type = medium_tank_chassis_2 variant_name = "T-90A Vladimir" amount = 42 producer = SOV } SOV = { create_production_license = { target = SWE equipment = { type = medium_tank_chassis_2 version_name = "T-90A Vladimir" } cost_factor = 1 } } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } SOV = { has_country_flag = i_like_tanks_2 } } add_equipment_to_stockpile = { type = MBT_5 amount = 42 producer = SOV } SOV = { create_production_license = { target = SWE equipment = { type = MBT_5 } cost_factor = 1 } } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" GER = { has_country_flag = i_like_tanks_2 } } create_equipment_variant = { name = "Strv 122b" type = medium_tank_chassis_2 parent_version = 2 modules = { main_armament_slot = tank_medium_cannon_2 ammunition_load_slot = mixed_main_ammo_2 turret_type_slot = tank_base_tank_turret suspension_type_slot = tank_torsion_bar_suspension_medium armor_type_slot = tank_composite_armor_gen2 engine_type_slot = tank_diesel_engine_gen3 reload_type_slot = manual_loading special_type_slot_1 = smoke_launchers_2 special_type_slot_2 = wet_ammo_storage special_type_slot_3 = empty special_type_slot_4 = tank_battlestation_3 #Battlestation special_type_slot_6 = spaced_armor_gen2 #ERA/Spaced } upgrades = { tank_nsb_armor_upgrade = 7 } icon = "GFX_SWE_MBT_4_medium" } GER = { create_production_license = { target = SWE equipment = { type = medium_tank_chassis_1 version_name = "Leopard 2A6" } cost_factor = 1 } } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } GER = { has_country_flag = i_like_tanks_2 } } add_equipment_to_stockpile = { type = MBT_5 amount = 42 producer = GER } GER = { create_production_license = { target = SWE equipment = { type = MBT_5 } cost_factor = 1 } } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.2003 title = Sweden_foci.2003.t desc = { trigger = { USA = { has_country_flag = i_like_tanks } } text = Sweden_foci.2003.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_tanks } } text = Sweden_foci.2003.d2 } desc = { trigger = { GER = { has_country_flag = i_like_tanks } } text = Sweden_foci.2003.d3 } picture = GFX_Leo_2_boden is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.2003.o1 } } #Negotiate tank deals country_event = { id = Sweden_foci.3 title = Sweden_foci.3.t desc = Sweden_foci.3.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.3.o1 trigger = { SWE_can_request_from_USA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.3.o1 executed" USA = { country_event = { id = Sweden_foci.3001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.3.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.3.o2 executed" SOV = { country_event = { id = Sweden_foci.3001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.3.o3 trigger = { SWE_can_request_from_FRA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.3.o3 executed" FRA = { country_event = { id = Sweden_foci.3001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.3.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.3.o4 executed" add_political_power = 50 add_war_support = -0.03 ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #Deny the Request/We Do not have the funds } country_event = { id = Sweden_foci.3001 title = Sweden_foci.3001.t desc = { trigger = { original_tag = USA } text = Sweden_foci.3001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.3001.d2 } desc = { trigger = { original_tag = FRA } text = Sweden_foci.3001.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.3001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.3001.o1 executed" set_country_flag = i_like_helo SWE = { country_event = { id = Sweden_foci.3003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.3001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.3001.o2 executed" SWE = { country_event = { id = Sweden_foci.3002 days = 7 } } set_country_flag = i_like_helo_2 ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.3002 title = Sweden_foci.3002.t desc = { trigger = { USA = { has_country_flag = i_like_helo_2 } } text = Sweden_foci.3002.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_helo_2 } } text = Sweden_foci.3002.d2 } desc = { trigger = { FRA = { has_country_flag = i_like_helo_2 } } text = Sweden_foci.3002.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.3002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.3002.o1 executed" if = { limit = { has_dlc = "No Step Back" USA = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = heavy_tank_chassis_0 variant_name = "AH-1 Cobra" amount = 54 producer = USA } add_equipment_to_stockpile = { type = heavy_tank_chassis_1 variant_name = "AH-64 A/D Apache Longbow" amount = 12 producer = USA } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } USA = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = attack_helicopter_1 amount = 54 producer = USA } add_equipment_to_stockpile = { type = attack_helicopter_3 amount = 12 producer = USA } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" SOV = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = heavy_tank_chassis_1 variant_name = "Ka-50N" amount = 64 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } SOV = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = attack_helicopter_2 amount = 64 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" FRA = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = heavy_tank_chassis_1 variant_name = "AS565 Panther" amount = 65 producer = FRA } set_temp_variable = { treasury_change = FRA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } FRA = { has_country_flag = i_like_helo_2 } } add_equipment_to_stockpile = { type = attack_helicopter_3 amount = 65 producer = FRA } set_temp_variable = { treasury_change = FRA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.3003 title = Sweden_foci.3003.t desc = { trigger = { USA = { has_country_flag = i_like_helo } } text = Sweden_foci.3003.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_helo } } text = Sweden_foci.3003.d2 } desc = { trigger = { FRA = { has_country_flag = i_like_helo } } text = Sweden_foci.3003.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.3003.o1 } } #Negotiate tank deals country_event = { id = Sweden_foci.4 title = Sweden_foci.4.t desc = Sweden_foci.4.d picture = GFX_weapons_arms1 is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.4.o1 trigger = { SWE_can_request_from_GER = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.4.o1 executed" GER = { country_event = { id = Sweden_foci.4001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.4.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.4.o2 executed" SOV = { country_event = { id = Sweden_foci.4001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.4.o3 trigger = { SWE_can_request_from_NRY = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.4.o3 executed" NRY = { country_event = { id = Sweden_foci.4001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.4.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.4.o4 executed" add_political_power = 50 add_war_support = -0.03 ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #Deny the Request/We Do not have the funds } country_event = { id = Sweden_foci.4001 title = Sweden_foci.4001.t desc = { trigger = { original_tag = GER } text = Sweden_foci.4001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.4001.d2 } desc = { trigger = { original_tag = NRY } text = Sweden_foci.4001.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.4001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.4001.o1 executed" set_country_flag = i_like_art SWE = { country_event = { id = Sweden_foci.4003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.4001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.4001.o2 executed" SWE = { country_event = { id = Sweden_foci.4002 days = 7 } } set_country_flag = i_like_art_2 ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.4002 title = Sweden_foci.4002.t desc = { trigger = { GER = { has_country_flag = i_like_art_2 } } text = Sweden_foci.4002.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_art_2 } } text = Sweden_foci.4002.d2 } desc = { trigger = { NRY = { has_country_flag = i_like_art_2 } } text = Sweden_foci.4002.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.4002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.4002.o1 executed" if = { limit = { has_dlc = "No Step Back" GER = { has_country_flag = i_like_art_2 } } add_equipment_to_stockpile = { type = medium_tank_artillery_chassis_2 variant_name = "PzH 2000" amount = 40 producer = GER } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } GER = { has_country_flag = i_like_art_2 } } add_equipment_to_stockpile = { type = SP_arty_2 #Leopard 2A5 amount = 40 producer = GER } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" SOV = { has_country_flag = i_like_art_2 } } add_equipment_to_stockpile = { type = medium_tank_artillery_chassis_2 variant_name = "2S19 Msta" amount = 40 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } else_if = { limit = { NOT = { has_dlc = "No Step Back" } SOV = { has_country_flag = i_like_art_2 } } add_equipment_to_stockpile = { type = SP_arty_2 amount = 40 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } if = { limit = { has_dlc = "No Step Back" NRY = { has_country_flag = i_like_art_2 } } if = { limit = { NOT = { has_tech = nsb_Arty_upgrade_2 } } set_technology = { nsb_Arty_upgrade_2 = 1 } } create_equipment_variant = { name = "Archer System" type = medium_tank_artillery_chassis_2 parent_version = 0 modules = { main_armament_slot = art_med_gun_gen3 reload_type_slot = automatic_loading ammunition_load_slot = artillery_medium_ammo_2 turret_type_slot = tank_base_tank_turret suspension_type_slot = tank_wheeled_suspension_medium engine_type_slot = tank_diesel_engine_gen3 special_type_slot_1 = empty special_type_slot_2 = empty special_type_slot_3 = laser_guided_ammo_2 special_type_slot_4 = tank_battlestation_2 } upgrades = { tank_nsb_fire_upgrade = 5 } icon = "GFX_FRA_SP_arty_2_medium" } NRY = { if = { limit = { NOT = { has_tech = nsb_Arty_upgrade_2 } } set_technology = { nsb_Arty_upgrade_2 = 1 } } create_equipment_variant = { name = "Archer System" type = medium_tank_artillery_chassis_2 parent_version = 0 modules = { main_armament_slot = art_med_gun_gen3 reload_type_slot = automatic_loading ammunition_load_slot = artillery_medium_ammo_2 turret_type_slot = tank_base_tank_turret suspension_type_slot = tank_wheeled_suspension_medium engine_type_slot = tank_diesel_engine_gen3 special_type_slot_1 = empty special_type_slot_2 = empty special_type_slot_3 = laser_guided_ammo_2 special_type_slot_4 = tank_battlestation_2 } upgrades = { tank_nsb_fire_upgrade = 5 } icon = "GFX_FRA_SP_arty_2_medium" } } SWE = { set_temp_variable = { treasury_change = NRY.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } } else_if = { limit = { NOT = { has_dlc = "No Step Back" } NRY = { has_country_flag = i_like_art_2 } } if = { limit = { NOT = { has_tech = SP_arty_2 } } set_technology = { SP_arty_2 = 1 } } add_equipment_to_stockpile = { type = SP_arty_2 amount = 24 producer = SWE } NRY = { if = { limit = { NOT = { has_tech = SP_arty_2 } } set_technology = { SP_arty_2 = 1 } } add_equipment_to_stockpile = { type = SP_arty_2 amount = 10 producer = SWE } } SWE = { set_temp_variable = { treasury_change = NRY.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes } } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.4003 title = Sweden_foci.4003.t desc = { trigger = { GER = { has_country_flag = i_like_art } } text = Sweden_foci.4003.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_art } } text = Sweden_foci.4003.d2 } desc = { trigger = { NRY = { has_country_flag = i_like_art } } text = Sweden_foci.4003.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.4003.o1 } } #Negotiate tank deals country_event = { id = Sweden_foci.5 title = Sweden_foci.5.t desc = Sweden_foci.5.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.5.o1 trigger = { SWE_can_request_from_USA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.5.o1 executed" USA = { country_event = { id = Sweden_foci.5001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.5.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.5.o2 executed" SOV = { country_event = { id = Sweden_foci.5001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.5.o3 trigger = { SWE_can_request_from_FRA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.5.o3 executed" FRA = { country_event = { id = Sweden_foci.5001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.5.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.5.o4 executed" add_political_power = 50 add_war_support = -0.03 ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #Deny the Request/We Do not have the funds } country_event = { id = Sweden_foci.5001 title = Sweden_foci.5001.t desc = { trigger = { original_tag = USA } text = Sweden_foci.5001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.5001.d2 } desc = { trigger = { original_tag = FRA } text = Sweden_foci.5001.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.5001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.5001.o1 executed" set_country_flag = i_like_potato SWE = { country_event = { id = Sweden_foci.5003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.5001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.5001.o2 executed" SWE = { country_event = { id = Sweden_foci.5002 days = 7 } } set_country_flag = i_like_potato_2 ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.5002 title = Sweden_foci.5002.t desc = { trigger = { USA = { has_country_flag = i_like_potato_2 } } text = Sweden_foci.5002.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_potato_2 } } text = Sweden_foci.5002.d2 } desc = { trigger = { FRA = { has_country_flag = i_like_potato_2 } } text = Sweden_foci.5002.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.5002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.5002.o1 executed" if = { limit = { USA = { has_country_flag = i_like_potato_2 } } add_equipment_to_stockpile = { type = transport_helicopter_2 variant_name = "MH-60L Black Hawk" amount = 60 producer = USA } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.07 } modify_treasury_effect = yes } if = { limit = { SOV = { has_country_flag = i_like_potato_2 } } add_equipment_to_stockpile = { type = transport_helicopter_2 #Mi-26 amount = 60 producer = SOV } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.07 } modify_treasury_effect = yes } if = { limit = { NRY = { has_country_flag = i_like_potato_2 } } add_equipment_to_stockpile = { type = transport_helicopter_2 #Mi-26 variant_name = "AS532 Cougar" amount = 60 producer = FRA } set_temp_variable = { treasury_change = FRA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.07 } modify_treasury_effect = yes } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.5003 title = Sweden_foci.5003.t desc = { trigger = { USA = { has_country_flag = i_like_potato } } text = Sweden_foci.5003.d1 } desc = { trigger = { SOV = { has_country_flag = i_like_potato } } text = Sweden_foci.5003.d2 } desc = { trigger = { FRA = { has_country_flag = i_like_potato } } text = Sweden_foci.5003.d3 } picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.5003.o1 } } #Negotiate submarine deal country_event = { id = Sweden_foci.6 title = Sweden_foci.6.t desc = Sweden_foci.6.d picture = GFX_submarine is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.6.o1 trigger = { SWE_can_request_from_GER = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.6.o1 executed" GER = { country_event = { id = Sweden_foci.6001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.6.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.6.o2 executed" SOV = { country_event = { id = Sweden_foci.6001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.6.o3 trigger = { SWE_can_request_from_USA = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.6.o3 executed" USA = { country_event = { id = Sweden_foci.6001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.6.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.6.o4 executed" add_political_power = 60 navy_experience = 20 add_tech_bonus = { name = Sweden_foci.6.t bonus = 0.5 category = Cat_SUB } ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #concentrate on own project } country_event = { id = Sweden_foci.6001 title = Sweden_foci.6001.t desc = { trigger = { original_tag = GER } text = Sweden_foci.6001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.6001.d2 } desc = { trigger = { original_tag = USA } text = Sweden_foci.6001.d3 } picture = GFX_submarine is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.6001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.6001.o1 executed" set_country_flag = we_all_live_in_a_jellow_submarine SWE = { country_event = { id = Sweden_foci.6003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.6001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.6001.o2 executed" SWE = { country_event = { id = Sweden_foci.6002 days = 7 } } set_country_flag = we_all_live_in_a_jellow_submarine_2 ai_chance = { base = 1 } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.6002 title = Sweden_foci.6002.t desc = { trigger = { GER = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } text = Sweden_foci.6002.d1 } desc = { trigger = { SOV = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } text = Sweden_foci.6002.d2 } desc = { trigger = { USA = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } text = Sweden_foci.6002.d3 } picture = GFX_submarine is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.6002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.6002.o1 executed" #great hidden_effect = { SWE = { country_event = { id = Sweden_foci.6004 days = 365 } } } } } # SOV/USA DENIES OUR REQUEST country_event = { id = Sweden_foci.6003 title = Sweden_foci.6003.t desc = { trigger = { GER = { has_country_flag = we_all_live_in_a_jellow_submarine } } text = Sweden_foci.6003.d1 } desc = { trigger = { SOV = { has_country_flag = we_all_live_in_a_jellow_submarine } } text = Sweden_foci.6003.d2 } desc = { trigger = { USA = { has_country_flag = we_all_live_in_a_jellow_submarine } } text = Sweden_foci.6003.d3 } picture = GFX_submarine is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.6003.o1 } } # auslieferung country_event = { id = Sweden_foci.6004 title = Sweden_foci.6004.t desc = { trigger = { USA = { has_country_flag = we_all_live_in_a_jellow_submarine } } text = Sweden_foci.6004.d3 } picture = GFX_submarine is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.6004.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.6004.o1 executed" if = { limit = { GER = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } SWE = { create_ship = { type = attack_submarine_hull_3 equipment_variant = "Type 212 Class" creator = GER } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Type 212 Class" creator = GER } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Type 212 Class" creator = GER } } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.15 } modify_treasury_effect = yes } if = { limit = { SOV = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } SWE = { create_ship = { type = attack_submarine_hull_3 equipment_variant = "Lada Class" creator = SOV } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Lada Class" creator = SOV } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Lada Class" creator = SOV } } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.15 } modify_treasury_effect = yes } if = { limit = { USA = { has_country_flag = we_all_live_in_a_jellow_submarine_2 } } SWE = { create_ship = { type = attack_submarine_hull_3 equipment_variant = "Seawolf Class" creator = USA } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Seawolf Class" creator = USA } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Seawolf Class" creator = USA } } set_temp_variable = { treasury_change = USA.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.15 } modify_treasury_effect = yes } } } #Negotiate corvette deal country_event = { id = Sweden_foci.7 title = Sweden_foci.7.t desc = Sweden_foci.7.d picture = GFX_SWE_VisbyEvent is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.7.o1 trigger = { SWE_can_request_from_GER = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.7.o1 executed" GER = { country_event = { id = Sweden_foci.7001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.7.o2 trigger = { SWE_can_request_from_SOV = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.7.o2 executed" SOV = { country_event = { id = Sweden_foci.7001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.7.o3 trigger = { SWE_can_request_from_FIN = yes } log = "[GetDateText]: [This.GetName]: Sweden_foci.7.o3 executed" FIN = { country_event = { id = Sweden_foci.7001 days = 1 } } ai_chance = { base = 1 } } option = { name = Sweden_foci.7.o4 log = "[GetDateText]: [This.GetName]: Sweden_foci.7.o4 executed" add_political_power = 70 navy_experience = 20 add_tech_bonus = { name = Sweden_foci.7.t bonus = 0.5 category = Cat_SUB } ai_chance = { base = 0 modifier = { add = 10 OR = { check_variable = { interest_rate > 7.999 } has_idea = depression } } } } #concentrate on own project } country_event = { id = Sweden_foci.7001 title = Sweden_foci.7001.t desc = { trigger = { original_tag = GER } text = Sweden_foci.7001.d1 } desc = { trigger = { original_tag = SOV } text = Sweden_foci.7001.d2 } desc = { trigger = { original_tag = FIN } text = Sweden_foci.7001.d3 } picture = GFX_corvette is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.7001.o1 #no log = "[GetDateText]: [This.GetName]: Sweden_foci.7001.o1 executed" set_country_flag = i_see_no_corvette SWE = { country_event = { id = Sweden_foci.7003 days = 7 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@SWE < 11 } } } } } option = { name = Sweden_foci.7001.o2 #yes log = "[GetDateText]: [This.GetName]: Sweden_foci.7001.o2 executed" SWE = { country_event = { id = Sweden_foci.7002 days = 7 } } set_country_flag = i_see_no_corvette_2 ai_chance = { base = 1 } } } # SOV/FIN ACCEPTS OUR REQUEST country_event = { id = Sweden_foci.7002 title = Sweden_foci.7002.t desc = { trigger = { GER = { has_country_flag = i_see_no_corvette_2 } } text = Sweden_foci.7002.d1 } desc = { trigger = { SOV = { has_country_flag = i_see_no_corvette_2 } } text = Sweden_foci.7002.d2 } desc = { trigger = { FIN = { has_country_flag = i_see_no_corvette_2 } } text = Sweden_foci.7002.d3 } picture = GFX_corvette is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.7002.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.7002.o1 executed" #great hidden_effect = { SWE = { country_event = { id = Sweden_foci.7004 days = 375 } } } } } # SOV/FIN DENIES OUR REQUEST country_event = { id = Sweden_foci.7003 title = Sweden_foci.7003.t desc = { trigger = { GER = { has_country_flag = i_see_no_corvette } } text = Sweden_foci.7003.d1 } desc = { trigger = { SOV = { has_country_flag = i_see_no_corvette } } text = Sweden_foci.7003.d2 } desc = { trigger = { FIN = { has_country_flag = i_see_no_corvette } } text = Sweden_foci.7003.d3 } picture = GFX_corvette is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.7003.o1 } } # auslieferung country_event = { id = Sweden_foci.7004 title = Sweden_foci.7004.t desc = { trigger = { FIN = { has_country_flag = i_see_no_corvette } } text = Sweden_foci.7004.d3 } picture = GFX_corvette is_triggered_only = yes fire_only_once = yes option = { name = Sweden_foci.7004.o1 log = "[GetDateText]: [This.GetName]: Sweden_foci.7004.o1 executed" if = { limit = { GER = { has_country_flag = i_see_no_corvette_2 } } SWE = { create_ship = { type = corvette_hull_3 equipment_variant = "Braunschweig Class" creator = GER } create_ship = { type = corvette_hull_3 equipment_variant = "Braunschweig Class" creator = GER } create_ship = { type = corvette_hull_3 equipment_variant = "Braunschweig Class" creator = GER } } set_temp_variable = { treasury_change = GER.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.12 } modify_treasury_effect = yes } if = { limit = { SOV = { has_country_flag = i_see_no_corvette_2 } } SWE = { create_ship = { type = corvette_hull_2 equipment_variant = "Tarantul Class" creator = SOV } create_ship = { type = corvette_hull_2 equipment_variant = "Tarantul Class" creator = SOV } create_ship = { type = corvette_hull_2 equipment_variant = "Tarantul Class" creator = SOV } } set_temp_variable = { treasury_change = SOV.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.12 } modify_treasury_effect = yes } if = { limit = { FIN = { has_country_flag = i_see_no_corvette_2 } } SWE = { create_ship = { type = corvette_hull_3 equipment_variant = "Hamina Class" creator = FIN } create_ship = { type = corvette_hull_3 equipment_variant = "Hamina Class" creator = FIN } create_ship = { type = corvette_hull_3 equipment_variant = "Hamina Class" creator = FIN } } set_temp_variable = { treasury_change = FIN.gdp_per_capita } multiply_temp_variable = { treasury_change = -0.12 } modify_treasury_effect = yes } } } #logistik invest country_event = { id = Sweden_foci.10 title = Sweden_foci.10.t desc = Sweden_foci.10.d picture = GFX_treaty is_triggered_only = yes ##Accept Send Request option = { name = Sweden_foci.10.a log = "[GetDateText]: [This.GetName]: Sweden_foci.10.a executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 10 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.101 days = 5 } } } add_ideas = SWE_Logistic_invests ai_chance = { base = 1 } } option = { name = Sweden_foci.10.b log = "[GetDateText]: [This.GetName]: Sweden_foci.10.b executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 10 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.102 days = 5 } } } ai_chance = { base = 1 } } } #accept (generic, keyed on SWE_royal_offer_chain: 10=infrastructure, 11=cybershield, 12=economic forum, 13=think tank, 14=NATO exercise) country_event = { id = Sweden_foci.101 title = { trigger = { check_variable = { SWE_royal_offer_chain = 10 } } text = Sweden_foci.101.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 11 } } text = Sweden_foci.111.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 12 } } text = Sweden_foci.121.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 13 } } text = Sweden_foci.131.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 14 } } text = Sweden_foci.141.t } title = { trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } text = Sweden_foci.101.other_t } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 10 } } text = Sweden_foci.101.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 11 } } text = Sweden_foci.111.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 12 } } text = Sweden_foci.121.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 13 } } text = Sweden_foci.131.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 14 } } text = Sweden_foci.141.d } desc = { trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } text = Sweden_foci.101.other_d } picture = GFX_handshake_black is_triggered_only = yes option = { name = Sweden_foci.101.a trigger = { check_variable = { SWE_royal_offer_chain = 10 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.101.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.111.a trigger = { check_variable = { SWE_royal_offer_chain = 11 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.111.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.121.a trigger = { check_variable = { SWE_royal_offer_chain = 12 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.121.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.131.a trigger = { check_variable = { SWE_royal_offer_chain = 13 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.131.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.141.a trigger = { check_variable = { SWE_royal_offer_chain = 14 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.141.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.101.other_a trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } log = "[GetDateText]: [This.GetName]: Sweden_foci.101.other_a executed" clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } } #denied (generic, keyed on SWE_royal_offer_chain: 10=infrastructure, 11=cybershield, 12=economic forum, 13=think tank, 14=NATO exercise) country_event = { id = Sweden_foci.102 title = { trigger = { check_variable = { SWE_royal_offer_chain = 10 } } text = Sweden_foci.102.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 11 } } text = Sweden_foci.112.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 12 } } text = Sweden_foci.122.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 13 } } text = Sweden_foci.132.t } title = { trigger = { check_variable = { SWE_royal_offer_chain = 14 } } text = Sweden_foci.142.t } title = { trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } text = Sweden_foci.102.other_t } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 10 } } text = Sweden_foci.102.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 11 } } text = Sweden_foci.112.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 12 } } text = Sweden_foci.122.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 13 } } text = Sweden_foci.132.d } desc = { trigger = { check_variable = { SWE_royal_offer_chain = 14 } } text = Sweden_foci.142.d } desc = { trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } text = Sweden_foci.102.other_d } picture = GFX_treaty_rejected is_triggered_only = yes option = { name = Sweden_foci.102.a trigger = { check_variable = { SWE_royal_offer_chain = 10 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.102.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.112.a trigger = { check_variable = { SWE_royal_offer_chain = 11 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.112.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.122.a trigger = { check_variable = { SWE_royal_offer_chain = 12 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.122.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.132.a trigger = { check_variable = { SWE_royal_offer_chain = 13 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.132.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.142.a trigger = { check_variable = { SWE_royal_offer_chain = 14 } } log = "[GetDateText]: [This.GetName]: Sweden_foci.142.a executed" set_variable = { SWE_royal_offer_chain = 0 } clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } option = { name = Sweden_foci.102.other_a trigger = { NOT = { OR = { check_variable = { SWE_royal_offer_chain = 10 } check_variable = { SWE_royal_offer_chain = 11 } check_variable = { SWE_royal_offer_chain = 12 } check_variable = { SWE_royal_offer_chain = 13 } check_variable = { SWE_royal_offer_chain = 14 } } } } log = "[GetDateText]: [This.GetName]: Sweden_foci.102.other_a executed" clr_country_flag = SWE_royal_response_queued ai_chance = { base = 1 } } } #cybershield_europe country_event = { id = Sweden_foci.11 title = Sweden_foci.11.t desc = Sweden_foci.11.d picture = GFX_treaty is_triggered_only = yes ##Accept Send Request option = { name = Sweden_foci.11.a log = "[GetDateText]: [This.GetName]: Sweden_foci.11.a executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 11 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.101 days = 5 } } } add_ideas = SWE_cybershield ai_chance = { base = 1 } } option = { name = Sweden_foci.11.b log = "[GetDateText]: [This.GetName]: Sweden_foci.11.b executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 11 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.102 days = 5 } } } ai_chance = { base = 1 } } } #economic forum country_event = { id = Sweden_foci.12 title = Sweden_foci.12.t desc = Sweden_foci.12.d picture = GFX_generic_factory is_triggered_only = yes ##Accept Send Request option = { name = Sweden_foci.12.a log = "[GetDateText]: [This.GetName]: Sweden_foci.12.a executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 12 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.101 days = 5 } } } add_ideas = SWE_economic_forum ai_chance = { base = 1 } } option = { name = Sweden_foci.12.b log = "[GetDateText]: [This.GetName]: Sweden_foci.12.b executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 12 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.102 days = 5 } } } ai_chance = { base = 1 } } } #thinktanks links country_event = { id = Sweden_foci.13 title = Sweden_foci.13.t desc = Sweden_foci.13.d picture = GFX_weapons_arms1 is_triggered_only = yes ##Accept Send Request option = { name = Sweden_foci.13.a log = "[GetDateText]: [This.GetName]: Sweden_foci.13.a executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 13 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.101 days = 5 } } } add_ideas = SWE_think_tank_links ai_chance = { base = 1 } } option = { name = Sweden_foci.13.b log = "[GetDateText]: [This.GetName]: Sweden_foci.13.b executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 13 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.102 days = 5 } } } ai_chance = { base = 1 } } } #Nato exercise country_event = { id = Sweden_foci.14 title = Sweden_foci.14.t desc = Sweden_foci.14.d picture = GFX_generic_soldiers is_triggered_only = yes ##Accept Send Request option = { name = Sweden_foci.14.a log = "[GetDateText]: [This.GetName]: Sweden_foci.14.a executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 14 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.101 days = 5 } } } random_country_division = { add_divisional_commander_xp = 110 } random_army_leader = { limit = { is_field_marshal = no } gain_xp = 50 add_attack = 1 add_planning = 1 add_unit_leader_trait = trickster } add_doctrine_cost_reduction = { name = Sweden_foci.14.t category = CAT_land_doctrine category = CAT_naval_doctrine category = CAT_air_doctrine uses = 2 cost_reduction = 0.3 } add_political_power = -50 add_command_power = -20 set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.20 } modify_treasury_effect = yes ai_chance = { base = 1 } } option = { name = Sweden_foci.14.b log = "[GetDateText]: [This.GetName]: Sweden_foci.14.b executed" if = { limit = { SWE = { NOT = { has_country_flag = SWE_royal_response_queued } } } SWE = { set_variable = { SWE_royal_offer_chain = 14 } set_country_flag = { flag = SWE_royal_response_queued days = 10 value = 1 } country_event = { id = Sweden_foci.102 days = 5 } } } add_political_power = 150 ai_chance = { base = 1 } } } #exercise country_event = { id = Sweden_foci.143 title = Sweden_foci.143.t desc = Sweden_foci.143.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.143.a log = "[GetDateText]: [This.GetName]: Sweden_foci.143.a executed" random_country_division = { add_divisional_commander_xp = 110 } random_army_leader = { limit = { is_field_marshal = no } gain_xp = 50 add_attack = 1 add_planning = 1 add_unit_leader_trait = trickster } add_doctrine_cost_reduction = { name = Sweden_foci.143.t category = CAT_western category = CAT_naval_doctrine category = CAT_air_doctrine uses = 1 cost_reduction = 0.3 } ai_chance = { base = 1 } } } #banking #banking in baltics country_event = { id = Sweden_foci.30 title = Sweden_foci.30.t desc = Sweden_foci.30.d picture = GFX_banking_crisis is_triggered_only = yes # expand banking option = { name = Sweden_foci.30.a log = "[GetDateText]: [This.GetName]: Sweden_foci.30.a executed" add_ideas = SWE_idea_swedish_banking set_temp_variable = { int_investment_change = FROM.gdp_per_capita } multiply_temp_variable = { int_investment_change = 0.23 } modify_international_investment_effect = yes set_temp_variable = { debt_change = FROM.gdp_per_capita } multiply_temp_variable = { debt_change = 0.20 } modify_debt_effect = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SWE } change_influence_percentage = yes SWE = { country_event = Sweden_foci.31 } ai_chance = { base = 5 modifier = { has_opinion = { target = SWE value > 39 } add = 50 } } } option = { name = Sweden_foci.30.b log = "[GetDateText]: [This.GetName]: Sweden_foci.30.b executed" SWE = { country_event = Sweden_foci.32 } ai_chance = { base = 5 } } # no } country_event = { id = Sweden_foci.31 title = Sweden_foci.31.t desc = Sweden_foci.31.d picture = GFX_banking_crisis is_triggered_only = yes # They accepted! option = { name = Sweden_foci.31.a log = "[GetDateText]: [This.GetName]: Sweden_foci.31.a executed" add_political_power = 5 ai_chance = { base = 5 } } } country_event = { id = Sweden_foci.32 title = Sweden_foci.32.t desc = Sweden_foci.32.d picture = GFX_banking_crisis is_triggered_only = yes # They denied! option = { name = Sweden_foci.32.a log = "[GetDateText]: [This.GetName]: Sweden_foci.32.a executed" add_political_power = -5 ai_chance = { base = 5 } } } #blekinge class #need country_event = { id = Sweden_foci.34 title = Sweden_foci.34.t desc = Sweden_foci.34.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.34.a log = "[GetDateText]: [This.GetName]: Sweden_foci.34.a executed" SWE = { country_event = { id = Sweden_foci.341 days = 5 } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.13 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_defense_industry_opinion = yes ai_chance = { base = 1 } } option = { name = Sweden_foci.34.b log = "[GetDateText]: [This.GetName]: Sweden_foci.34.b executed" navy_experience = 30 set_temp_variable = { temp_opinion = -5 } change_defense_industry_opinion = yes ai_chance = { base = 1 } } } #accept country_event = { id = Sweden_foci.341 title = Sweden_foci.341.t desc = Sweden_foci.341.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = Sweden_foci.341.a log = "[GetDateText]: [This.GetName]: Sweden_foci.341.a executed" create_equipment_variant = { name = "Blekinge Class" type = attack_submarine_hull_4 name_group = SWE_SS_HISTORICAL parent_version = 0 modules = { fixed_ship_engine_slot = module_sub_diesel_electric_power3 fixed_ship_radar_slot = module_sonar_5 fixed_ship_auxillary_slot_3 = module_torpedoes_3 fixed_ship_auxillary_slot_2 = module_sub_esm_2 fixed_ship_auxillary_slot_1 = module_minelaying fixed_ship_auxillary_slot = module_torpedoes_3 fixed_ship_battery_slot = module_anti_ship_torpedoes_3 } } ai_chance = { base = 1 } } } #restructure AA #need country_event = { id = Sweden_foci.40 title = Sweden_foci.40.t desc = Sweden_foci.40.d picture = GFX_fighter_jet is_triggered_only = yes fire_only_once = yes #focus on shortrange option = { name = Sweden_foci.40.a log = "[GetDateText]: [This.GetName]: Sweden_foci.40.a executed" 34 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } 35 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } 550 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } 442 = { add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.1 } modify_treasury_effect = yes ai_chance = { base = 1 } } option = { name = Sweden_foci.40.b log = "[GetDateText]: [This.GetName]: Sweden_foci.40.b executed" 881 = { add_building_construction = { type = rocket_site level = 1 instant_build = yes } } 442 = { add_building_construction = { type = rocket_site level = 1 instant_build = yes } } add_tech_bonus = { name = Sweden_foci.40.t bonus = 0.3 uses = 2 category = CAT_sam category = CAT_abm } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.13 } modify_treasury_effect = yes ai_chance = { base = 1 } } option = { name = Sweden_foci.40.c log = "[GetDateText]: [This.GetName]: Sweden_foci.40.c executed" add_tech_bonus = { name = Sweden_foci.40.t bonus = 0.3 uses = 1 category = CAT_aa category = CAT_sam category = CAT_abm } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.07 } modify_treasury_effect = yes ai_chance = { base = 1 } } #longrange #only mobile } #restructure airpport #need country_event = { id = Sweden_foci.41 title = Sweden_foci.41.t desc = Sweden_foci.41.d picture = GFX_generic_soldiers is_triggered_only = yes fire_only_once = yes #improve Airport capacity option = { name = Sweden_foci.41.a log = "[GetDateText]: [This.GetName]: Sweden_foci.41.a executed" 550 = { add_building_construction = { type = air_base level = 1 instant_build = yes } } 442 = { add_building_construction = { type = air_base level = 1 instant_build = yes } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.09 } modify_treasury_effect = yes ai_chance = { base = 3 } } option = { name = Sweden_foci.41.b log = "[GetDateText]: [This.GetName]: Sweden_foci.41.b executed" 881 = { add_building_construction = { type = air_base level = 3 instant_build = yes } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.12 } modify_treasury_effect = yes ai_chance = { base = 2 } } option = { name = Sweden_foci.41.c log = "[GetDateText]: [This.GetName]: Sweden_foci.41.c executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SWE_army_dynamic_modifier } add_to_variable = { SWE_land_reinforce_rate = 0.1 tooltip = land_reinforce_rate_tt } add_to_variable = { SWE_no_supply_grace = 0.2 tooltip = no_supply_grace_tt } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.15 } modify_treasury_effect = yes ai_chance = { base = 1 } } #build a new in Värmland #improve logistics } #saab present its new gripen #need country_event = { id = Sweden_foci.42 title = Sweden_foci.42.t desc = Sweden_foci.42.d picture = GFX_generic_factory is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.42.a log = "[GetDateText]: [This.GetName]: Sweden_foci.42.a executed" if = { limit = { has_dlc = "By Blood Alone" } create_equipment_variant = { name = "JAS 39E Gripen" type = small_plane_strike_airframe_3 parent_version = 0 modules = { fixed_main_weapon_slot = weap_mp_med_hardpoint_2 fixed_gun_slot = weap_multi_gun_2 fixed_auxiliary_weapon_slot_1 = weap_a2a_hardpoint_2 engine_type_slot = engine_light_single_3 avionics_type_slot = avionics_manned_3 wingform_type_slot = wing_delta_canard special_slot_type_2 = spec_tgp_2 special_slot_type_1 = spec_countermeasures_2 special_slot_type_3 = empty } upgrades = { plane_bba_radar_upgrade = 5 plane_bba_engine_upgrade = 2 } icon = "gfx/interface/technologies/SWE/AIR/J39.dds" model = "SWE_JAS39_entity" } } if = { limit = { has_dlc = "By Blood Alone" } set_technology = { gen_5_light = 1 } add_equipment_to_stockpile = { type = small_plane_strike_airframe_3 variant_name = "JAS 39E Gripen" amount = 60 producer = SWE } #custom_effect_tooltip = SWE_batch_4_TT else = { add_equipment_to_stockpile = { type = MR_Fighter3 #JAS-39E amount = 60 producer = SWE } } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.40 } modify_treasury_effect = yes ai_chance = { base = 4 } } option = { name = Sweden_foci.42.b log = "[GetDateText]: [This.GetName]: Sweden_foci.42.b executed" add_tech_bonus = { name = Sweden_foci.42.t bonus = 0.4 uses = 2 category = CAT_air_eqp } air_experience = 20 mio:SWE_saab_ab_manufacturer = { add_mio_size_up_requirement_factor = -0.15 add_mio_funds = 1500 add_mio_research_bonus = 0.15 } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.020 } modify_treasury_effect = yes ai_chance = { base = 1 } } #we can use the knowledge } #taurus #need country_event = { id = Sweden_foci.43 title = Sweden_foci.43.t desc = Sweden_foci.43.d picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.43.a log = "[GetDateText]: [This.GetName]: Sweden_foci.43.a executed" add_equipment_to_stockpile = { type = guided_missile_equipment_5 amount = 40 producer = GER } add_tech_bonus = { name = Sweden_foci.43.t bonus = 0.2 uses = 1 category = CAT_missile } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.030 } modify_treasury_effect = yes GER = { set_temp_variable = { treasury_change = SWE.gdp_per_capita } multiply_temp_variable = { treasury_change = 0.030 } modify_treasury_effect = yes } ai_chance = { base = 2 } } option = { name = Sweden_foci.43.b log = "[GetDateText]: [This.GetName]: Sweden_foci.43.b executed" add_tech_bonus = { name = Sweden_foci.43.t bonus = 0.7 uses = 2 category = CAT_missile } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.020 } modify_treasury_effect = yes GER = { set_temp_variable = { treasury_change = SWE.gdp_per_capita } multiply_temp_variable = { treasury_change = 0.020 } modify_treasury_effect = yes } ai_chance = { base = 3 } } #take knowhow } #saab present its new gripen #need country_event = { id = Sweden_foci.44 title = Sweden_foci.44.t desc = Sweden_foci.44.d picture = GFX_missiles_on_road is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.44.a log = "[GetDateText]: [This.GetName]: Sweden_foci.44.a executed" SWE = { country_event = { id = Sweden_foci.43 days = 7 } } add_tech_bonus = { name = Sweden_foci.44.t bonus = 0.2 uses = 1 category = CAT_missile } ai_chance = { base = 3 } } option = { name = Sweden_foci.44.b log = "[GetDateText]: [This.GetName]: Sweden_foci.44.b executed" SWE = { country_event = { id = Sweden_foci.45 days = 7 } } ai_chance = { base = 1 } } #take knowhow } #they say no country_event = { id = Sweden_foci.45 title = Sweden_foci.45.t desc = Sweden_foci.45.d picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.45.a log = "[GetDateText]: [This.GetName]: Sweden_foci.45.a executed" add_tech_bonus = { name = Sweden_foci.45.t bonus = 0.2 uses = 1 category = CAT_missile } ai_chance = { base = 1 } } } #mio update country_event = { id = Sweden_foci.46 title = Sweden_foci.46.t desc = Sweden_foci.46.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes #invest national option = { name = Sweden_foci.46.a log = "[GetDateText]: [This.GetName]: Sweden_foci.46.a executed" country_event = { days = 3 id = Sweden_foci.47 } set_temp_variable = { treasury_change = -7.00 } modify_treasury_effect = yes ai_chance = { base = 2 } } option = { name = Sweden_foci.46.b log = "[GetDateText]: [This.GetName]: Sweden_foci.46.b executed" country_event = { days = 30 id = Sweden_foci.48 } set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes ai_chance = { base = 3 } } #a nice man with a handsome suitcase } #they say no country_event = { id = Sweden_foci.47 title = Sweden_foci.47.t desc = Sweden_foci.47.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.47.a log = "[GetDateText]: [This.GetName]: Sweden_foci.47.a executed" if = { limit = { has_dlc = "Arms Against Tyranny" } mio:SWE_kockums_manufacturer = { add_mio_size_up_requirement_factor = -0.2 add_mio_research_bonus = 0.1 add_mio_funds = 1500 } } add_tech_bonus = { name = Sweden_foci.47.t bonus = 0.3 uses = 2 category = CAT_sub } ai_chance = { base = 1 } } } #they say no country_event = { id = Sweden_foci.48 title = Sweden_foci.48.t desc = Sweden_foci.48.d picture = GFX_corvette is_triggered_only = yes fire_only_once = yes #we need it option = { name = Sweden_foci.48.a log = "[GetDateText]: [This.GetName]: Sweden_foci.48.a executed" increase_corruption = yes GER = { if = { limit = { has_dlc = "Arms Against Tyranny" } mio:GER_thyssenkrupp_marine_naval_manufacturer = { add_mio_size_up_requirement_factor = -0.2 add_mio_funds_gain_factor = 0.1 } } } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Type 212 Class" creator = GER } create_ship = { type = attack_submarine_hull_3 equipment_variant = "Type 212 Class" creator = GER } ai_chance = { base = 1 } } } country_event = { id = Sweden_foci.50 title = Sweden_foci.50.t desc = Sweden_foci.50.d picture = GFX_military_exercise is_triggered_only = yes option = { #yes name = Sweden_foci.50.a log = "[GetDateText]: [This.GetName]: Sweden_foci.50.a executed" set_temp_variable = { percent_change = -5 } change_domestic_influence_percentage = yes add_command_power = -10 if = { limit = { NOT = { DEN = { has_completed_focus = DEN_formalize_nordefco } } } add_ideas = SWE_idea_nordefco } ai_chance = { base = 60 modifier = { has_government = FROM add = 10 } } } option = { #no name = Sweden_foci.50.b log = "[GetDateText]: [This.GetName]: Sweden_foci.50.b executed" set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_command_power = 10 country_event = Sweden_foci.51 ai_chance = { base = 30 modifier = { has_government = FROM add = 10 } } } } country_event = { id = Sweden_foci.51 title = Sweden_foci.51.t desc = Sweden_foci.51.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_foci.51.a } } country_event = { id = Sweden_foci.52 title = Sweden_foci.52.t desc = Sweden_foci.52.d picture = GFX_military_exercise is_triggered_only = yes option = { #yes name = Sweden_foci.52.a log = "[GetDateText]: [This.GetName]: Sweden_foci.52.a executed" set_temp_variable = { percent_change = -5 } change_domestic_influence_percentage = yes add_political_power = -10 add_ideas = SWE_idea_nb8 ai_chance = { base = 60 modifier = { has_government = FROM add = 10 } } } option = { #no name = Sweden_foci.52.b log = "[GetDateText]: [This.GetName]: Sweden_foci.52.b executed" set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_political_power = 10 country_event = Sweden_foci.53 ai_chance = { base = 30 modifier = { has_government = FROM add = 10 } } } } country_event = { id = Sweden_foci.53 title = Sweden_foci.53.t desc = Sweden_foci.53.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_foci.53.a } } #found nordbanken country_event = { id = Sweden_foci.54 title = Sweden_foci.54.t desc = Sweden_foci.54.d picture = GFX_military_exercise is_triggered_only = yes option = { #yes name = Sweden_foci.54.a log = "[GetDateText]: [This.GetName]: Sweden_foci.54.a executed" add_ideas = SWE_idea_nordbanken set_temp_variable = { debt_change = SWE.gdp_per_capita } multiply_temp_variable = { debt_change = 0.10 } modify_debt_effect = yes SWE = { country_event = Sweden_foci.70 } hidden_effect = { if = { limit = { country_exists = FROM NOT = { has_war_with = FROM } } set_temp_variable = { target_nation = FROM.id } set_temp_variable = { adding_nation = ROOT.id } change_permanent_investment_target = yes } } ai_chance = { base = 1 } } option = { #no name = Sweden_foci.54.b log = "[GetDateText]: [This.GetName]: Sweden_foci.54.b executed" set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_political_power = 10 SWE = { country_event = Sweden_foci.71 } ai_chance = { base = 1 } } } #mio country_event = { id = Sweden_foci.55 title = Sweden_foci.55.t desc = Sweden_foci.55.d picture = GFX_military_exercise is_triggered_only = yes option = { #yes name = Sweden_foci.55.a log = "[GetDateText]: [This.GetName]: Sweden_foci.55.a executed" add_ideas = SWE_science_nordic_idea SWE = { army_experience = 10 country_event = Sweden_foci.70 } ai_chance = { base = 7 } } option = { #no name = Sweden_foci.55.b log = "[GetDateText]: [This.GetName]: Sweden_foci.55.b executed" set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes add_political_power = 10 SWE = { country_event = Sweden_foci.71 } ai_chance = { base = 3 } } } #techsharing country_event = { id = Sweden_foci.56 title = Sweden_foci.56.t desc = Sweden_foci.56.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_foci.56.a log = "[GetDateText]: [This.GetName]: Sweden_foci.56.a executed" set_country_flag = SWE_tech_sharing_group add_to_tech_sharing_group = SWE_Technologie_Exchange_groupe set_temp_variable = { int_investment_change = SWE.gdp_per_capita } multiply_temp_variable = { int_investment_change = 0.1 } modify_international_investment_effect = yes SWE = { country_event = Sweden_foci.70 } ai_chance = { base = 7 } } option = { name = Sweden_foci.56.b log = "[GetDateText]: [This.GetName]: Sweden_foci.56.b executed" add_political_power = 15 SWE = { country_event = Sweden_foci.71 } ai_chance = { base = 3 } } } country_event = { id = Sweden_foci.57 title = Sweden_foci.57.t desc = Sweden_foci.57.d picture = GFX_Beschaffungsamt is_triggered_only = yes option = { name = Sweden_foci.57.a log = "[GetDateText]: [This.GetName]: Sweden_foci.57.a executed" set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes SWE = { add_equipment_to_stockpile = { type = small_plane_suicide_airframe_2 variant_name = "RQ-1 Predator" amount = 50 producer = USA } country_event = Sweden_foci.70 } ai_chance = { base = 5 } } option = { name = Sweden_foci.57.b log = "[GetDateText]: [This.GetName]: Sweden_foci.57.b executed" SWE = { set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes country_event = Sweden_foci.71 } ai_chance = { base = 3 } } } #yes country_event = { id = Sweden_foci.70 title = Sweden_foci.70.t desc = Sweden_foci.70.d picture = GFX_handshake_black is_triggered_only = yes option = { name = Sweden_foci.70.b } } #no country_event = { id = Sweden_foci.71 title = Sweden_foci.71.t desc = Sweden_foci.71.d picture = GFX_declined_offer_no is_triggered_only = yes option = { name = Sweden_foci.71.b } } ### news events ### # nordic baltic 8 news_event = { id = Sweden_news.2 title = Sweden_news.2.t desc = Sweden_news.2.d picture = GFX_event_news_nordic_council is_triggered_only = yes major = yes option = { name = Sweden_news.2.o1 } } # nordic aliance news_event = { id = Sweden_news.3 title = Sweden_news.3.t desc = Sweden_news.3.d picture = GFX_event_news_nordic_council is_triggered_only = yes major = yes option = { name = Sweden_news.3.o1 log = "[GetDateText]: [This.GetName]: Sweden_news.3.o1 executed" if = { limit = { original_tag = SWE has_idea = SWE_idea_nordefco } if = { limit = { country_exists = NRY NOT = { has_war_with = NRY } NRY = { has_idea = SWE_idea_nordefco } } give_guarantee = NRY } if = { limit = { country_exists = DEN NOT = { has_war_with = DEN } DEN = { has_idea = SWE_idea_nordefco } } give_guarantee = DEN } if = { limit = { country_exists = FIN NOT = { has_war_with = FIN } FIN = { has_idea = SWE_idea_nordefco } } give_guarantee = FIN } if = { limit = { country_exists = ICE NOT = { has_war_with = ICE } ICE = { has_idea = SWE_idea_nordefco } } give_guarantee = ICE } } } } # Totalforsvaret decision announcements, keyed on SWE_notice_type news_event = { id = Sweden_news.4 title = { trigger = { check_variable = { SWE_notice_type = 4 } } text = Sweden_news.4.t } title = { trigger = { check_variable = { SWE_notice_type = 5 } } text = Sweden_news.5.t } title = { trigger = { check_variable = { SWE_notice_type = 6 } } text = Sweden_news.6.t } title = { trigger = { check_variable = { SWE_notice_type = 7 } } text = Sweden_news.7.t } title = { trigger = { check_variable = { SWE_notice_type = 8 } } text = Sweden_news.8.t } title = { trigger = { check_variable = { SWE_notice_type = 9 } } text = Sweden_news.9.t } title = { trigger = { check_variable = { SWE_notice_type = 11 } } text = Sweden_news.11.t } title = { trigger = { check_variable = { SWE_notice_type = 12 } } text = Sweden_news.12.t } title = { trigger = { NOT = { SWE_notice_type_known = yes } } text = Sweden_news.4.other_t } desc = { trigger = { check_variable = { SWE_notice_type = 4 } } text = Sweden_news.4.d } desc = { trigger = { check_variable = { SWE_notice_type = 5 } } text = Sweden_news.5.d } desc = { trigger = { check_variable = { SWE_notice_type = 6 } } text = Sweden_news.6.d } desc = { trigger = { check_variable = { SWE_notice_type = 7 } } text = Sweden_news.7.d } desc = { trigger = { check_variable = { SWE_notice_type = 8 } } text = Sweden_news.8.d } desc = { trigger = { check_variable = { SWE_notice_type = 9 } } text = Sweden_news.9.d } desc = { trigger = { check_variable = { SWE_notice_type = 11 } } text = Sweden_news.11.d } desc = { trigger = { check_variable = { SWE_notice_type = 12 } } text = Sweden_news.12.d } desc = { trigger = { NOT = { SWE_notice_type_known = yes } } text = Sweden_news.4.other_d } picture = GFX_event_news_SWE_army_01 is_triggered_only = yes option = { name = Sweden_news.4.o1 trigger = { check_variable = { SWE_notice_type = 4 } } log = "[GetDateText]: [This.GetName]: Sweden_news.4.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.5.o1 trigger = { check_variable = { SWE_notice_type = 5 } } log = "[GetDateText]: [This.GetName]: Sweden_news.5.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.6.o1 trigger = { check_variable = { SWE_notice_type = 6 } } log = "[GetDateText]: [This.GetName]: Sweden_news.6.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.7.o1 trigger = { check_variable = { SWE_notice_type = 7 } } log = "[GetDateText]: [This.GetName]: Sweden_news.7.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.8.o1 trigger = { check_variable = { SWE_notice_type = 8 } } log = "[GetDateText]: [This.GetName]: Sweden_news.8.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.9.o1 trigger = { check_variable = { SWE_notice_type = 9 } } log = "[GetDateText]: [This.GetName]: Sweden_news.9.o1 executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.11.a trigger = { check_variable = { SWE_notice_type = 11 } } log = "[GetDateText]: [This.GetName]: Sweden_news.11.a executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.12.a trigger = { check_variable = { SWE_notice_type = 12 } } log = "[GetDateText]: [This.GetName]: Sweden_news.12.a executed" set_variable = { SWE_notice_type = 0 } clr_country_flag = SWE_notice_pending } option = { name = Sweden_news.4.other_a trigger = { NOT = { SWE_notice_type_known = yes } } log = "[GetDateText]: [This.GetName]: Sweden_news.4.other_a executed" clr_country_flag = SWE_notice_pending } } # new forces country_event = { id = Sweden_news.10 title = Sweden_news.10.t desc = Sweden_news.10.d picture = GFX_Military_Reform is_triggered_only = yes option = { name = Sweden_news.10.a log = "[GetDateText]: [This.GetName]: Sweden_news.10.a executed" SWE = { country_lock_all_division_template = no load_oob = "SWE_2000_nsb_national_defence" delete_unit_template_and_units = { division_template = "Mekaniseratbrigaden" disband = yes } delete_unit_template_and_units = { division_template = "Infanteribrigaden" disband = yes } delete_unit_template_and_units = { division_template = "Norrlandsbrigad" disband = yes } delete_unit_template_and_units = { division_template = "Amfiberegemente" disband = yes } delete_unit_template_and_units = { division_template = "Helikopterflottiljen" disband = yes } delete_unit_template_and_units = { division_template = "Kavallerietregemente" disband = yes } delete_unit_template_and_units = { division_template = "Arctic light infanterie" disband = yes } delete_unit_template_and_units = { division_template = "Specialförband" disband = yes } } } } #SWE_balance_of_power_category / SWE_open_weapons_depots decision announcements, keyed on SWE_bop_news_type news_event = { id = Sweden_news.20 title = { trigger = { check_variable = { SWE_bop_news_type = 20 } } text = Sweden_news.20.t } title = { trigger = { check_variable = { SWE_bop_news_type = 21 } } text = Sweden_news.21.t } title = { trigger = { check_variable = { SWE_bop_news_type = 22 } } text = Sweden_news.22.t } title = { trigger = { check_variable = { SWE_bop_news_type = 23 } } text = Sweden_news.23.t } title = { trigger = { check_variable = { SWE_bop_news_type = 24 } } text = Sweden_news.24.t } title = { trigger = { check_variable = { SWE_bop_news_type = 25 } } text = Sweden_news.25.t } title = { trigger = { check_variable = { SWE_bop_news_type = 26 } } text = Sweden_news.26.t } title = { trigger = { check_variable = { SWE_bop_news_type = 27 } } text = Sweden_news.27.t } title = { trigger = { check_variable = { SWE_bop_news_type = 28 } } text = Sweden_news.28.t } title = { trigger = { check_variable = { SWE_bop_news_type = 29 } } text = Sweden_news.29.t } title = { trigger = { check_variable = { SWE_bop_news_type = 30 } } text = Sweden_news.30.t } title = { trigger = { check_variable = { SWE_bop_news_type = 31 } } text = Sweden_news.31.t } title = { trigger = { NOT = { SWE_bop_news_type_known = yes } } text = Sweden_news.20.other_t } desc = { trigger = { check_variable = { SWE_bop_news_type = 20 } } text = Sweden_news.20.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 21 } } text = Sweden_news.21.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 22 } } text = Sweden_news.22.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 23 } } text = Sweden_news.23.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 24 } } text = Sweden_news.24.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 25 } } text = Sweden_news.25.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 26 } } text = Sweden_news.26.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 27 } } text = Sweden_news.27.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 28 } } text = Sweden_news.28.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 29 } } text = Sweden_news.29.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 30 } } text = Sweden_news.30.d } desc = { trigger = { check_variable = { SWE_bop_news_type = 31 } } text = Sweden_news.31.d } desc = { trigger = { NOT = { SWE_bop_news_type_known = yes } } text = Sweden_news.20.other_d } picture = GFX_news_press_conference is_triggered_only = yes option = { name = Sweden_news.20.a trigger = { check_variable = { SWE_bop_news_type = 20 } } log = "[GetDateText]: [This.GetName]: Sweden_news.20.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.21.a trigger = { check_variable = { SWE_bop_news_type = 21 } } log = "[GetDateText]: [This.GetName]: Sweden_news.21.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.22.a trigger = { check_variable = { SWE_bop_news_type = 22 } } log = "[GetDateText]: [This.GetName]: Sweden_news.22.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.23.a trigger = { check_variable = { SWE_bop_news_type = 23 } } log = "[GetDateText]: [This.GetName]: Sweden_news.23.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.24.a trigger = { check_variable = { SWE_bop_news_type = 24 } } log = "[GetDateText]: [This.GetName]: Sweden_news.24.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.25.a trigger = { check_variable = { SWE_bop_news_type = 25 } } log = "[GetDateText]: [This.GetName]: Sweden_news.25.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.26.a trigger = { check_variable = { SWE_bop_news_type = 26 } } log = "[GetDateText]: [This.GetName]: Sweden_news.26.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.27.a trigger = { check_variable = { SWE_bop_news_type = 27 } } log = "[GetDateText]: [This.GetName]: Sweden_news.27.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.28.a trigger = { check_variable = { SWE_bop_news_type = 28 } } log = "[GetDateText]: [This.GetName]: Sweden_news.28.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.29.a trigger = { check_variable = { SWE_bop_news_type = 29 } } log = "[GetDateText]: [This.GetName]: Sweden_news.29.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.30.a trigger = { check_variable = { SWE_bop_news_type = 30 } } log = "[GetDateText]: [This.GetName]: Sweden_news.30.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.31.a trigger = { check_variable = { SWE_bop_news_type = 31 } } log = "[GetDateText]: [This.GetName]: Sweden_news.31.a executed" set_variable = { SWE_bop_news_type = 0 } clr_country_flag = SWE_bop_news_pending } option = { name = Sweden_news.20.other_a trigger = { NOT = { SWE_bop_news_type_known = yes } } log = "[GetDateText]: [This.GetName]: Sweden_news.20.other_a executed" clr_country_flag = SWE_bop_news_pending } } #state visit + friendship country_event = { id = Sweden_news.32 title = Sweden_news.32.t desc = Sweden_news.32.d picture = GFX_political_deal is_triggered_only = yes option = { #shine in royal glory name = Sweden_news.32.a log = "[GetDateText]: [This.GetName]: Sweden_news.32.a executed" set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SWE.id } change_influence_percentage = yes SWE = { country_event = { id = Sweden_news.33 days = 1 } } ai_chance = { base = 40 modifier = { has_government = FROM add = 10 } } } option = { #we need to negotiate name = Sweden_news.32.b log = "[GetDateText]: [This.GetName]: Sweden_news.32.b executed" random_owned_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = SWE } change_influence_percentage = yes SWE = { country_event = { id = Sweden_news.34 days = 1 } } ai_chance = { base = 60 modifier = { has_government = FROM add = 10 } } } } country_event = { id = Sweden_news.33 title = Sweden_news.33.t desc = Sweden_news.33.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_news.33.a log = "[GetDateText]: [This.GetName]: Sweden_news.33.a executed" set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes add_opinion_modifier = { target = FROM modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = FROM modifier = declaration_of_friendship } } } country_event = { id = Sweden_news.34 title = Sweden_news.34.t desc = Sweden_news.34.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_news.34.a log = "[GetDateText]: [This.GetName]: Sweden_news.34.a executed" set_temp_variable = { int_investment_change = FROM.gdp_per_capita } multiply_temp_variable = { int_investment_change = 0.09 } modify_international_investment_effect = yes set_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = 0.01 } change_relative_party_popularity = yes add_opinion_modifier = { target = FROM modifier = declaration_of_friendship } reverse_add_opinion_modifier = { target = FROM modifier = declaration_of_friendship } } } ### Forsvarsbeslutet ### country_event = { id = Sweden_Forsvarsbeslutet.1 title = Sweden_Forsvarsbeslutet.1.t desc = Sweden_Forsvarsbeslutet.1.d picture = GFX_generic_soldiers is_triggered_only = yes trigger = { original_tag = SWE } option = { #Increase force name = Sweden_Forsvarsbeslutet.1.o1 log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.1.o1 executed" ### Spendings ### if = { limit = { threat > 0.40 NOT = { has_idea = draft_army } } increase_conscription_effect = yes } if = { limit = { threat > 0.35 NOT = { has_idea = drafted_women } } if = { limit = { has_idea = no_women_in_military } swap_ideas = { remove_idea = no_women_in_military add_idea = volunteer_women } } else_if = { limit = { has_idea = volunteer_women } swap_ideas = { remove_idea = volunteer_women add_idea = drafted_women } } } # Army Size if = { limit = { has_army_manpower = { size < 50000 } } increase_military_spending = yes if = { limit = { has_country_flag = SWE_f20 } hidden_effect = { if = { limit = { NOT = { has_template = "militardistriktet" } } division_template = { name = "militardistriktet" division_names_group = SWE_INF_03 regiments = { Mot_Inf_Bat = { x = 0 y = 0 } Mot_Inf_Bat = { x = 0 y = 1 } Mot_Inf_Bat = { x = 0 y = 2 } Mech_Inf_Bat = { x = 1 y = 0 } Mech_Inf_Bat = { x = 1 y = 1 } } regimental_support = { armor_Comp = { x = 0 y = 0 } Arm_Recce_Comp = { x = 1 y = 0 } } support = { H_Engi_Comp = { x = 0 y = 0 } } } } } capital_scope = { create_unit = { division = "division_template = \"militardistriktet\" start_experience_factor = 0.2 start_equipment_factor = 0.01" owner = SWE prioritize_location = 6040 } } } else = { hidden_effect = { if = { limit = { NOT = { has_template = "Infanteribrigaden" } } division_template = { name = "Infanteribrigaden" division_names_group = SWE_MOT_02 regiments = { Mot_Inf_Bat = { x = 0 y = 0 } Mot_Inf_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 1 y = 0 } } support = { L_Engi_Comp = { x = 0 y = 0 } Arty_Battery = { x = 0 y = 1 } Arm_Recce_Comp = { x = 0 y = 2 } } } } } capital_scope = { create_unit = { division = "division_template = \"Infanteribrigaden\" start_experience_factor = 0.2 start_equipment_factor = 0.01" owner = SWE prioritize_location = 6040 } } } } if = { limit = { has_army_manpower = { size > 50000 } has_army_manpower = { size < 80000 } } if = { limit = { has_country_flag = SWE_f20 } hidden_effect = { if = { limit = { NOT = { has_template = "Pansarregementen" } } division_template = { name = "Pansarregementen" division_names_group = SWE_MEC_04 regiments = { armor_Bat = { x = 0 y = 0 } armor_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 1 y = 0 } } regimental_support = { Arm_Recce_Comp = { x = 0 y = 0 } } support = { H_Engi_Comp = { x = 0 y = 0 } SP_AA_Battery = { x = 0 y = 1 } } } } } capital_scope = { create_unit = { division = "division_template = \"Pansarregementen\" start_experience_factor = 0.2 start_equipment_factor = 0.01" owner = SWE prioritize_location = 6040 } } } else = { hidden_effect = { if = { limit = { NOT = { has_template = "Mekaniseratbrigaden" } } division_template = { name = "Mekaniseratbrigaden" division_names_group = SWE_MEC_04 regiments = { armor_Bat = { x = 0 y = 0 } armor_Bat = { x = 0 y = 1 } Arm_Inf_Bat = { x = 1 y = 0 } } support = { H_Engi_Comp = { x = 0 y = 0 } SP_AA_Battery = { x = 0 y = 1 } Arm_Recce_Comp = { x = 0 y = 2 } } } } } capital_scope = { create_unit = { division = "division_template = \"Mekaniseratbrigaden\" start_experience_factor = 0.2 start_equipment_factor = 0.01" owner = SWE prioritize_location = 6040 } } } } if = { limit = { has_army_manpower = { size > 80000 } } hidden_effect = { if = { limit = { NOT = { has_template = "Kavallerietregemente" } } division_template = { name = "Kavallerietregemente" division_names_group = SWE_AIR_01 regiments = { Mot_Air_Inf_Bat = { x = 0 y = 0 } Mot_Air_Inf_Bat = { x = 0 y = 1 } } support = { L_Engi_Comp = { x = 0 y = 0 } L_Recce_Comp = { x = 0 y = 1 } } priority = 2 } } } capital_scope = { create_unit = { division = "division_template = \"Kavallerietregemente\" start_experience_factor = 0.2 start_equipment_factor = 0.01" owner = SWE prioritize_location = 6040 count = 2 } } } random_list = { 50 = { country_event = { id = Sweden_Forsvarsbeslutet.2 days = 7 } } 50 = { country_event = { id = Sweden_Forsvarsbeslutet.3 days = 7 } } 50 = { country_event = { id = Sweden_Forsvarsbeslutet.4 days = 7 } } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = 0.13 } modify_treasury_effect = yes ai_chance = { base = 5 } } option = { #increase intervention name = Sweden_Forsvarsbeslutet.1.o2 log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.1.o2 executed" ### intervention ### if = { limit = { NOT = { OR = { has_idea = intervention_global_interventionism has_idea = intervention_neo_imperialism } } } increase_intervention_law_effect = yes } if = { limit = { is_in_faction = yes NOT = { OR = { has_idea = intervention_global_interventionism has_idea = intervention_neo_imperialism } } } increase_intervention_law_effect = yes } random_list = { 40 = { add_doctrine_cost_reduction = { name = Sweden_Forsvarsbeslutet.1.t cost_reduction = 0.5 uses = 2 category = CAT_special_forces } } 20 = { add_doctrine_cost_reduction = { name = Sweden_Forsvarsbeslutet.1.t cost_reduction = 0.5 uses = 2 category = CAT_airmobile } } 30 = { add_doctrine_cost_reduction = { name = Sweden_Forsvarsbeslutet.1.t cost_reduction = 0.5 uses = 2 category = CAT_airborne } } 10 = { add_doctrine_cost_reduction = { name = Sweden_Forsvarsbeslutet.1.t cost_reduction = 0.5 uses = 2 category = CAT_marine } } } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.06 } modify_treasury_effect = yes add_war_support = 0.03 ai_chance = { base = 5 } } option = { #save money name = Sweden_Forsvarsbeslutet.1.o3 log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.1.o3 executed" ### Spendings ### if = { limit = { threat < 0.20 NOT = { has_idea = no_military } } decrease_conscription_effect = yes } if = { limit = { threat < 0.20 NOT = { OR = { has_idea = defence_00 has_idea = defence_01 } } } decrease_military_spending = yes } if = { limit = { threat < 0.20 NOT = { has_idea = no_women_in_military } } if = { limit = { has_idea = volunteer_women } swap_ideas = { remove_idea = volunteer_women add_idea = no_women_in_military } } else_if = { limit = { has_idea = drafted_women } swap_ideas = { remove_idea = drafted_women add_idea = volunteer_women } } } if = { limit = { threat < 0.30 NOT = { OR = { has_idea = no_military has_idea = volunteer_army } } } decrease_conscription_effect = yes } add_timed_idea = { idea = SWE_lower_costs days = 300 } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = 0.06 } modify_treasury_effect = yes ai_chance = { base = 5 } } } # tank country_event = { id = Sweden_Forsvarsbeslutet.2 title = Sweden_Forsvarsbeslutet.2.t desc = Sweden_Forsvarsbeslutet.2.d picture = GFX_steel_mill is_triggered_only = yes option = { name = Sweden_Forsvarsbeslutet.2.a log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.2.a executed" add_equipment_to_stockpile = { type = medium_tank_chassis_2 variant_name = "Strv 122" amount = 42 producer = SWE } add_equipment_to_stockpile = { type = medium_tank_flame_chassis_2 variant_name = "Strf 9040B" amount = 60 producer = SWE } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.11 } modify_treasury_effect = yes ai_chance = { base = 3 } } option = { name = Sweden_Forsvarsbeslutet.2.b log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.2.b executed" add_tech_bonus = { name = Sweden_Forsvarsbeslutet.2.t category = CAT_mbt bonus = 0.25 uses = 2 } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.06 } modify_treasury_effect = yes ai_chance = { base = 2 } } option = { name = Sweden_Forsvarsbeslutet.2.c } } # gripen country_event = { id = Sweden_Forsvarsbeslutet.3 title = Sweden_Forsvarsbeslutet.3.t desc = Sweden_Forsvarsbeslutet.3.d picture = GFX_generic_factory is_triggered_only = yes option = { name = Sweden_Forsvarsbeslutet.3.a log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.3.a executed" add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 variant_name = "JAS 39 Gripen A/B" amount = 20 producer = SWE } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.26 } modify_treasury_effect = yes ai_chance = { base = 2 } } option = { name = Sweden_Forsvarsbeslutet.3.b log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.3.b executed" add_tech_bonus = { name = Sweden_Forsvarsbeslutet.3.t category = CAT_air_eqp bonus = 0.25 uses = 2 } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes ai_chance = { base = 3 } } option = { name = Sweden_Forsvarsbeslutet.3.c ai_chance = { base = 1 } } } # gripen country_event = { id = Sweden_Forsvarsbeslutet.4 title = Sweden_Forsvarsbeslutet.4.t desc = Sweden_Forsvarsbeslutet.4.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_Forsvarsbeslutet.4.a log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.4.a executed" add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 variant_name = "JAS 39 Gripen A/B" amount = 15 producer = SWE } add_equipment_to_stockpile = { type = medium_tank_chassis_2 variant_name = "Strv 122" amount = 20 producer = SWE } add_equipment_to_stockpile = { type = medium_tank_flame_chassis_2 variant_name = "Strf 9040B" amount = 40 producer = SWE } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.20 } modify_treasury_effect = yes ai_chance = { base = 4 } } option = { name = Sweden_Forsvarsbeslutet.4.b log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.4.b executed" add_tech_bonus = { name = Sweden_Forsvarsbeslutet.4.t category = CAT_armor bonus = 0.25 uses = 2 } set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.06 } modify_treasury_effect = yes ai_chance = { base = 2 } } option = { name = Sweden_Forsvarsbeslutet.4.c ai_chance = { base = 1 } } } #introduce New army country_event = { id = Sweden_Forsvarsbeslutet.10 title = Sweden_Forsvarsbeslutet.10.t desc = Sweden_Forsvarsbeslutet.10.d picture = GFX_Military_Reform is_triggered_only = yes option = { # ok name = Sweden_Forsvarsbeslutet.10.a log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.10.a executed" decrease_military_spending = yes add_political_power = -25 set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes country_lock_all_division_template = yes SWE = { country_event = { id = Sweden_Forsvarsbeslutet.11 days = 5 } } set_country_flag = SWE_f20 set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.08 } modify_treasury_effect = yes block_defence_change = yes ai_chance = { base = 4 } } option = { # no name = Sweden_Forsvarsbeslutet.10.b log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.10.b executed" add_political_power = 25 set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes if = { limit = { SWE = { NOT = { has_country_flag = SWE_notice_pending } } } SWE = { set_variable = { SWE_notice_type = 11 } set_country_flag = { flag = SWE_notice_pending days = 15 value = 1 } news_event = { id = Sweden_news.4 days = 7 } } } block_defence_change = yes ai_chance = { base = 2 } } } #introduce New army country_event = { id = Sweden_Forsvarsbeslutet.11 title = Sweden_Forsvarsbeslutet.11.t desc = Sweden_Forsvarsbeslutet.11.d picture = GFX_political_deal is_triggered_only = yes option = { # ok name = Sweden_Forsvarsbeslutet.11.a log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.11.a executed" hidden_effect = { country_event = { id = Sweden_news.10 days = 185 } } ai_chance = { base = 2 } } option = { # no name = Sweden_Forsvarsbeslutet.11.b log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.11.b executed" hidden_effect = { country_event = { id = Sweden_news.10 days = 360 } } ai_chance = { base = 3 } } option = { # no name = Sweden_Forsvarsbeslutet.11.c log = "[GetDateText]: [This.GetName]: Sweden_Forsvarsbeslutet.11.c executed" hidden_effect = { country_event = { id = Sweden_news.10 days = 30 } } ai_chance = { base = 1 } } } #royals #mandatory_service country_event = { id = Sweden_royal.1 title = Sweden_royal.1.t desc = Sweden_royal.1.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = no #victoria option = { name = Sweden_royal.1.o1 trigger = { SWE = { NOT = { has_country_flag = victoria_mandatory_service } } } log = "[GetDateText]: [This.GetName]: Sweden_royal.1.o1 executed" custom_effect_tooltip = Sweden_royal.1.o1_desc set_country_flag = victoria_mandatory_service add_war_support = 0.05 army_experience = 50 ai_chance = { base = 1 } } option = { name = Sweden_royal.1.o2 trigger = { SWE = { NOT = { has_country_flag = philip_mandatory_service } } } log = "[GetDateText]: [This.GetName]: Sweden_royal.1.o2 executed" custom_effect_tooltip = Sweden_royal.1.o2_desc set_country_flag = philip_mandatory_service add_war_support = 0.03 navy_experience = 50 add_tech_bonus = { name = Sweden_royal.1.t category = CAT_naval_modules uses = 1 bonus = 0.25 } ai_chance = { base = 1 } } #philip } #training as officer country_event = { id = Sweden_royal.2 title = Sweden_royal.2.t desc = Sweden_royal.2.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = no #victoria option = { name = Sweden_royal.2.o1 trigger = { SWE = { NOT = { has_country_flag = victoria_officer_training } has_country_flag = victoria_mandatory_service } } log = "[GetDateText]: [This.GetName]: Sweden_royal.2.o1 executed" custom_effect_tooltip = Sweden_royal.2.o1_desc set_country_flag = victoria_officer_training clr_country_flag = SWE_royal_officer_training_pending add_war_support = 0.05 add_command_power = 10 ai_chance = { base = 1 } } option = { name = Sweden_royal.2.o2 trigger = { SWE = { NOT = { has_country_flag = philip_officer_training } has_country_flag = philip_mandatory_service } } log = "[GetDateText]: [This.GetName]: Sweden_royal.2.o2 executed" custom_effect_tooltip = Sweden_royal.2.o2_desc set_country_flag = philip_officer_training clr_country_flag = SWE_royal_officer_training_pending army_experience = 15 navy_experience = 15 ai_chance = { base = 1 } } #philip } country_event = { id = Sweden_royal.13 title = Sweden_royal.13.t desc = Sweden_royal.13.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_royal.13.a log = "[GetDateText]: [This.GetName]: Sweden_royal.13.a executed" set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = FROM } change_influence_percentage = yes add_opinion_modifier = { target = FROM modifier = friendly_monarchy } reverse_add_opinion_modifier = { target = FROM modifier = friendly_monarchy } add_ideas = SWE_idea_royal_cultural_institutes SWE = { country_event = Sweden_foci.70 } ai_chance = { base = 2 } } option = { name = Sweden_royal.13.b log = "[GetDateText]: [This.GetName]: Sweden_royal.13.b executed" SWE = { country_event = Sweden_foci.71 } ai_chance = { base = 1 } } } country_event = { id = SWE_eastern.01 title = SWE_eastern.01.t desc = SWE_eastern.01.d picture = GFX_military_exercise is_triggered_only = yes option = { name = SWE_eastern.01.a log = "[GetDateText]: [This.GetName]: SWE_eastern.01.a executed" add_timed_idea = { idea = SWE_russian_excercise days = 180 } ai_chance = { base = 50 modifier = { has_government = FROM add = 20 } modifier = { strength_ratio = { tag = SWE ratio < 2 } add = 10 } } SWE = { country_event = SWE_eastern.101 } } option = { name = Sweden_eastern.01.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.01.b executed" ai_chance = { base = 50 modifier = { NOT = { has_government = FROM } add = 20 } modifier = { strength_ratio = { tag = SWE ratio > 2 } add = 10 } } SWE = { country_event = SWE_eastern.102 } } } country_event = { id = SWE_eastern.101 title = Sweden_eastern.101.t desc = Sweden_eastern.101.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_eastern.101.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.101.a executed" add_timed_idea = { idea = SWE_russian_excercise days = 180 } } } country_event = { id = SWE_eastern.102 title = Sweden_eastern.102.t desc = Sweden_eastern.102.d picture = GFX_military_exercise is_triggered_only = yes option = { name = Sweden_eastern.102.a } } country_event = { id = SWE_eastern.02 title = Sweden_eastern.02.t desc = Sweden_eastern.02.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = Sweden_eastern.02.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.02.a executed" SWE = { country_event = SWE_eastern.03 } ai_chance = { base = 20 modifier = { add = 25 has_opinion = { target = SWE value > 39 } } } } option = { name = Sweden_eastern.02.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.02.b executed" SWE = { country_event = SWE_eastern.04 } ai_chance = { base = 50 } } option = { name = Sweden_eastern.02.c log = "[GetDateText]: [This.GetName]: Sweden_eastern.02.c executed" SWE = { country_event = SWE_eastern.05 } ai_chance = { base = 15 modifier = { add = 25 has_opinion = { target = SWE value < 0 } } } } } country_event = { id = SWE_eastern.03 title = Sweden_eastern.03.t desc = Sweden_eastern.03.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = Sweden_eastern.03.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.03.a executed" set_temp_variable = { percent_change = 8 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes newline = yes random_owned_state = { limit = { free_shared_building_slots = yes } add_building_construction = { type = offices level = 1 instant_build = yes } } random_owned_state = { limit = { free_shared_building_slots = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } country_event = { id = SWE_eastern.04 title = Sweden_eastern.04.t desc = Sweden_eastern.04.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = Sweden_eastern.04.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.04.a executed" set_temp_variable = { percent_change = 4 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes newline = yes random_owned_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } country_event = { id = SWE_eastern.05 title = Sweden_eastern.05.t desc = Sweden_eastern.05.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = Sweden_eastern.05.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.05.a executed" add_stability = -0.03 } } country_event = { id = SWE_eastern.07 title = Sweden_eastern.07.t desc = Sweden_eastern.07.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.07.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.07.a executed" SWE = { country_event = SWE_eastern.08 } add_ideas = SWE_russian_energy_idea ai_chance = { base = 60 modifier = { has_government = FROM add = 20 } } } option = { name = Sweden_eastern.07.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.07.b executed" SWE = { country_event = SWE_eastern.09 } ai_chance = { base = 40 modifier = { NOT = { has_government = FROM } add = 15 } } } } country_event = { id = SWE_eastern.08 title = Sweden_eastern.08.t desc = Sweden_eastern.08.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.08.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.08.a executed" add_ideas = SWE_russian_energy_idea newline = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes } } country_event = { id = SWE_eastern.09 title = Sweden_eastern.09.t desc = Sweden_eastern.09.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.09.a } } country_event = { id = SWE_eastern.10 title = Sweden_eastern.10.t desc = Sweden_eastern.10.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.10.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.10.a executed" SWE = { country_event = SWE_eastern.11 } add_tech_bonus = { name = Sweden_eastern.10.t bonus = 0.15 uses = 2 category = CAT_air_eqp } ai_chance = { base = 60 modifier = { has_government = FROM add = 15 } } } option = { name = Sweden_eastern.10.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.10.b executed" SWE = { country_event = SWE_eastern.12 } ai_chance = { base = 40 modifier = { NOT = { has_government = FROM } add = 10 } } } } country_event = { id = SWE_eastern.11 title = Sweden_eastern.11.t desc = Sweden_eastern.11.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.11.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.11.a executed" if = { limit = { has_dlc = "Arms Against Tyranny" } mio:SWE_saab_ab_manufacturer = { add_mio_size = 2 } } else = { one_random_arms_factory = yes random_list = { 50 = { add_tech_bonus = { name = Sweden_eastern.11.t category = CAT_air_eqp uses = 1 bonus = 0.20 } } 50 = { add_tech_bonus = { name = Sweden_eastern.11.t category = CAT_inf uses = 1 bonus = 0.20 } } } } } } country_event = { id = SWE_eastern.12 title = Sweden_eastern.12.t desc = Sweden_eastern.12.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.12.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.12.a executed" add_stability = -0.02 } } country_event = { id = SWE_eastern.14 title = Sweden_eastern.14.t desc = Sweden_eastern.14.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.14.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.14.a executed" every_owned_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = no } } random_select_amount = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } newline = yes SWE = { country_event = SWE_eastern.15 } set_temp_variable = { percent_change = 7 } set_temp_variable = { tag_index = SWE } set_temp_variable = { influence_target = NKO } change_influence_percentage = yes ai_chance = { base = 60 modifier = { has_government = FROM add = 15 } } } option = { name = Sweden_eastern.14.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.14.b executed" SWE = { country_event = SWE_eastern.16 } ai_chance = { base = 40 modifier = { NOT = { has_government = FROM } add = 10 } } } } country_event = { id = SWE_eastern.15 title = Sweden_eastern.15.t desc = Sweden_eastern.15.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.15.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.15.a executed" random_owned_state = { add_resource = { type = steel amount = 3 } add_manpower = 2500 } random_owned_state = { add_resource = { type = tungsten amount = 3 } add_manpower = 2500 } random_owned_state = { add_resource = { type = aluminium amount = 3 } add_manpower = 2500 } newline = yes set_temp_variable = { percent_change = 7 } set_temp_variable = { tag_index = NKO } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes } } country_event = { id = SWE_eastern.16 title = Sweden_eastern.16.t desc = Sweden_eastern.16.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.16.a } } country_event = { id = SWE_eastern.17 title = Sweden_eastern.17.t desc = Sweden_eastern.17.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.17.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.17.a executed" add_ideas = SWE_industry_exchange_nko SWE = { country_event = SWE_eastern.18 } ai_chance = { base = 60 modifier = { has_government = FROM add = 10 } } } option = { name = Sweden_eastern.17.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.17.b executed" SWE = { country_event = SWE_eastern.19 } ai_chance = { base = 40 modifier = { NOT = { has_government = FROM } add = 10 } } } } country_event = { id = SWE_eastern.18 title = Sweden_eastern.18.t desc = Sweden_eastern.18.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.18.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.18.a executed" add_ideas = SWE_industry_exchange_swe } } country_event = { id = SWE_eastern.19 title = Sweden_eastern.19.t desc = Sweden_eastern.19.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.19.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.19.a executed" add_stability = -0.02 } } country_event = { id = SWE_eastern.20 title = Sweden_eastern.20.t desc = Sweden_eastern.20.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.20.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.20.a executed" set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SWE } set_temp_variable = { influence_target = SOV } change_influence_percentage = yes } } country_event = { id = SWE_eastern.21 title = Sweden_eastern.21.t desc = Sweden_eastern.21.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.21.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.21.a executed" add_timed_idea = { idea = SWE_venezualen_accord_ven years = 1 } SWE = { country_event = SWE_eastern.22 } effect_tooltip = { SWE = { add_ideas = SWE_venezualen_accord random_owned_state = { add_resource = { type = oil amount = 4 } } } } ai_chance = { base = 60 } } option = { name = Sweden_eastern.21.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.21.b executed" SWE = { country_event = SWE_eastern.23 } ai_chance = { base = 40 } } } country_event = { id = SWE_eastern.22 title = Sweden_eastern.22.t desc = Sweden_eastern.22.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.22.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.22.a executed" add_timed_idea = { idea = SWE_venezualen_accord years = 1 } random_owned_state = { add_resource = { type = oil amount = 4 } } set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = VEN } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes } } country_event = { id = SWE_eastern.23 title = Sweden_eastern.23.t desc = Sweden_eastern.23.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.23.a } } country_event = { id = SWE_eastern.24 title = Sweden_eastern.24.t desc = Sweden_eastern.24.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.24.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.24.a executed" every_owned_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } free_building_slots = { building = infrastructure size > 0 include_locked = no } } random_select_amount = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } newline = yes set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = SWE } set_temp_variable = { influence_target = AGL } change_influence_percentage = yes newline = yes SWE = { country_event = SWE_eastern.25 effect_tooltip = { random_owned_state = { limit = { is_coastal = yes } add_resource = { type = oil amount = 6 } } } } ai_chance = { base = 65 } } option = { name = Sweden_eastern.24.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.24.b executed" SWE = { country_event = SWE_eastern.26 } ai_chance = { base = 35 } } } country_event = { id = SWE_eastern.25 title = Sweden_eastern.25.t desc = Sweden_eastern.25.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.25.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.25.a executed" random_owned_state = { limit = { is_coastal = yes } add_resource = { type = oil amount = 6 } } large_expenditure = yes newline = yes set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = AGL } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes } } country_event = { id = SWE_eastern.26 title = Sweden_eastern.26.t desc = Sweden_eastern.26.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.26.a } } country_event = { id = SWE_eastern.27 title = Sweden_eastern.27.t desc = Sweden_eastern.27.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.27.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.27.a executed" random_owned_state = { limit = { has_resources_amount = { resource = chromium amount > 0 } } add_dynamic_modifier = { modifier = SAF_swe_metals_investment } } SWE = { country_event = SWE_eastern.28 effect_tooltip = { random_owned_state = { limit = { has_resources_amount = { resource = tungsten amount > 0 } } add_dynamic_modifier = { modifier = SWE_southafrica_metals } } } } ai_chance = { base = 65 } } option = { name = Sweden_eastern.27.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.27.b executed" SWE = { country_event = SWE_eastern.29 } ai_chance = { base = 35 } } } country_event = { id = SWE_eastern.28 title = Sweden_eastern.28.t desc = Sweden_eastern.28.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.28.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.28.a executed" random_owned_state = { limit = { has_resources_amount = { resource = tungsten amount > 0 } } add_dynamic_modifier = { modifier = SWE_southafrica_metals } } } } country_event = { id = SWE_eastern.29 title = Sweden_eastern.29.t desc = Sweden_eastern.29.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.29.a } } country_event = { id = SWE_eastern.30 title = Sweden_eastern.30.t desc = Sweden_eastern.30.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.30.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.30.a executed" SWE = { country_event = SWE_eastern.31 } add_ideas = SWE_cuba_medical_exchange ai_chance = { base = 70 } } option = { name = Sweden_eastern.30.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.30.b executed" SWE = { country_event = SWE_eastern.32 } ai_chance = { base = 30 } } } country_event = { id = SWE_eastern.31 title = Sweden_eastern.31.t desc = Sweden_eastern.31.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.31.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.31.a executed" swap_ideas = { remove_idea = SWE_easter_horizon_idea3 add_idea = SWE_easter_horizon_idea4 } } } country_event = { id = SWE_eastern.32 title = Sweden_eastern.32.t desc = Sweden_eastern.32.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.32.a } } country_event = { id = SWE_eastern.33 title = Sweden_eastern.33.t desc = Sweden_eastern.33.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.33.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.33.a executed" SWE = { country_event = SWE_eastern.34 } add_ideas = SWE_iran_petrochemical_iran ai_chance = { base = 65 } } option = { name = Sweden_eastern.33.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.33.b executed" SWE = { country_event = SWE_eastern.35 } ai_chance = { base = 35 } } } country_event = { id = SWE_eastern.34 title = Sweden_eastern.34.t desc = Sweden_eastern.34.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.34.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.34.a executed" add_ideas = SWE_iran_petrochemical_swe } } country_event = { id = SWE_eastern.35 title = Sweden_eastern.35.t desc = Sweden_eastern.35.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.35.a } } country_event = { id = SWE_eastern.36 title = Sweden_eastern.36.t desc = Sweden_eastern.36.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.36.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.36.a executed" if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = Sweden_eastern.36.t category = CAT_air_to_air_weapons category = CAT_air_countermeasures category = CAT_air_engine uses = 3 bonus = 0.25 } } else = { add_tech_bonus = { name = Sweden_eastern.36.t category = CAT_air_eqp uses = 3 bonus = 0.25 } } SWE = { country_event = SWE_eastern.37 effect_tooltip = { add_tech_bonus = { name = Sweden_eastern.36.t category = CAT_drones uses = 2 bonus = 0.30 } } } ai_chance = { base = 60 } } option = { name = Sweden_eastern.36.b log = "[GetDateText]: [This.GetName]: Sweden_eastern.36.b executed" SWE = { country_event = SWE_eastern.38 } ai_chance = { base = 40 } } } country_event = { id = SWE_eastern.37 title = Sweden_eastern.37.t desc = Sweden_eastern.37.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.37.a log = "[GetDateText]: [This.GetName]: Sweden_eastern.37.a executed" add_tech_bonus = { name = Sweden_eastern.37.t category = CAT_drones uses = 2 bonus = 0.30 } } } country_event = { id = SWE_eastern.38 title = Sweden_eastern.38.t desc = Sweden_eastern.38.d picture = GFX_political_deal is_triggered_only = yes option = { name = Sweden_eastern.38.a } } # Ericsson corporate history country_event = { id = Sweden.300 title = Sweden.300.t desc = Sweden.300.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_sony_ericsson_joint_venture } NOT = { has_country_flag = SWE_ericsson_retained_handsets } } option = { name = Sweden.300.a log = "[GetDateText]: [Root.GetName]: Sweden.300.a executed" add_political_power = -5 add_tech_bonus = { name = Sweden.300.t bonus = 0.10 uses = 1 category = CAT_computing_tech } SWE_ericsson_apply_joint_venture_outcome = yes ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.300.b log = "[GetDateText]: [Root.GetName]: Sweden.300.b executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.300.t bonus = 0.15 uses = 1 category = CAT_computing_tech } SWE_ericsson_apply_retained_handsets_outcome = yes ai_chance = { base = 50 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = Sweden.301 title = Sweden.301.t desc = Sweden.301.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_ericsson_exited_handsets } NOT = { has_country_flag = SWE_ericsson_full_handset_control } } option = { name = Sweden.301.a log = "[GetDateText]: [Root.GetName]: Sweden.301.a executed" set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes add_political_power = 10 add_tech_bonus = { name = Sweden.301.t bonus = 0.10 uses = 1 category = CAT_internet_tech } SWE_ericsson_apply_handset_exit_outcome = yes ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.301.b log = "[GetDateText]: [Root.GetName]: Sweden.301.b executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.301.t bonus = 0.15 uses = 2 category = CAT_computing_tech } SWE_ericsson_apply_full_handset_control_outcome = yes ai_chance = { base = 50 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = Sweden.302 title = Sweden.302.t desc = Sweden.302.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_ericsson_vonage_platform } NOT = { has_country_flag = SWE_ericsson_radio_network_focus } } option = { name = Sweden.302.a log = "[GetDateText]: [Root.GetName]: Sweden.302.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.302.t bonus = 0.10 uses = 1 category = CAT_internet_tech } SWE_ericsson_apply_vonage_platform_outcome = yes ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.302.b log = "[GetDateText]: [Root.GetName]: Sweden.302.b executed" add_political_power = 15 add_tech_bonus = { name = Sweden.302.t bonus = 0.10 uses = 1 category = CAT_computing_tech } SWE_ericsson_apply_radio_network_outcome = yes ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = Sweden.310 title = Sweden.310.t desc = Sweden.310.d picture = GFX_naval_base is_triggered_only = yes option = { name = Sweden.310.a log = "[GetDateText]: [Root.GetName]: Sweden.310.a executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes set_country_flag = SWE_trossbat_navy_spec add_tech_bonus = { name = Sweden.310.t bonus = 0.15 uses = 1 category = CAT_landing_craft } mio:SWE_swede_ship_marine_manufacturer = { add_mio_size = 1 } ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = Sweden.310.b log = "[GetDateText]: [Root.GetName]: Sweden.310.b executed" set_temp_variable = { treasury_change = 1.50 } modify_treasury_effect = yes mio:SWE_swede_ship_marine_manufacturer = { add_mio_funds = 800 } ai_chance = { base = 50 modifier = { factor = 0.2 is_historical_focus_on = yes } } } } country_event = { id = Sweden.311 title = Sweden.311.t desc = Sweden.311.d picture = GFX_SWE_VisbyEvent is_triggered_only = yes option = { name = Sweden.311.a log = "[GetDateText]: [Root.GetName]: Sweden.311.a executed" if = { limit = { has_country_flag = SWE_trossbat_navy_spec } set_temp_variable = { treasury_change = -1.50 } } else = { set_temp_variable = { treasury_change = -3.00 } } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.311.t bonus = 0.15 uses = 1 category = CAT_naval_sonar } ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = Sweden.311.b log = "[GetDateText]: [Root.GetName]: Sweden.311.b executed" mio:SWE_swede_ship_marine_manufacturer = { add_mio_funds = 600 } ai_chance = { base = 50 modifier = { factor = 0.2 is_historical_focus_on = yes } } } } country_event = { id = Sweden.312 title = Sweden.312.t desc = Sweden.312.d picture = GFX_euro_investments is_triggered_only = yes option = { name = Sweden.312.a log = "[GetDateText]: [Root.GetName]: Sweden.312.a executed" random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = no } } add_building_construction = { type = dockyard level = 1 instant_build = yes } add_extra_state_shared_building_slots = 1 } mio:SWE_swede_ship_marine_manufacturer = { add_mio_size = 1 add_mio_funds = 1000 } ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.312.b log = "[GetDateText]: [Root.GetName]: Sweden.312.b executed" mio:SWE_swede_ship_marine_manufacturer = { add_mio_research_bonus = 0.10 } ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } ### Saab Corporate History ### country_event = { id = Sweden.320 title = Sweden.320.t desc = Sweden.320.d picture = GFX_fighter_jet is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_saab_single_champion } NOT = { has_country_flag = SWE_saab_competitive_base } } option = { name = Sweden.320.a log = "[GetDateText]: [Root.GetName]: Sweden.320.a executed" add_political_power = 15 if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = Sweden.320.t bonus = 0.15 uses = 1 category = CAT_avionics } } else = { add_tech_bonus = { name = Sweden.320.t bonus = 0.15 uses = 1 category = CAT_fighter } } set_country_flag = SWE_saab_single_champion ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.320.b log = "[GetDateText]: [Root.GetName]: Sweden.320.b executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes set_country_flag = SWE_saab_competitive_base ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = Sweden.321 title = Sweden.321.t desc = Sweden.321.d picture = GFX_fighter_jet is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_saab_offset_exports } NOT = { has_country_flag = SWE_saab_domestic_first } } option = { name = Sweden.321.a log = "[GetDateText]: [Root.GetName]: Sweden.321.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.321.t bonus = 0.15 uses = 1 category = CAT_mr_fighter } set_country_flag = SWE_saab_offset_exports ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = Sweden.321.b log = "[GetDateText]: [Root.GetName]: Sweden.321.b executed" add_political_power = 20 set_country_flag = SWE_saab_domestic_first ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = Sweden.322 title = Sweden.322.t desc = Sweden.322.d picture = GFX_fighter_jet is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_saab_export_platform } NOT = { has_country_flag = SWE_saab_national_platform } } option = { name = Sweden.322.a log = "[GetDateText]: [Root.GetName]: Sweden.322.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.322.t bonus = 0.15 uses = 1 category = CAT_fighter } set_country_flag = SWE_saab_export_platform ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = Sweden.322.b log = "[GetDateText]: [Root.GetName]: Sweden.322.b executed" if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = Sweden.322.t bonus = 0.10 uses = 1 category = CAT_avionics } } else = { add_tech_bonus = { name = Sweden.322.t bonus = 0.10 uses = 1 category = CAT_fighter } } set_country_flag = SWE_saab_national_platform ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = Sweden.323 title = Sweden.323.t desc = Sweden.323.d picture = GFX_submarine is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_saab_yards_repatriated } NOT = { has_country_flag = SWE_saab_foreign_yards } } option = { name = Sweden.323.a log = "[GetDateText]: [Root.GetName]: Sweden.323.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.323.t bonus = 0.15 uses = 1 category = CAT_d_sub } set_country_flag = SWE_saab_yards_repatriated ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = Sweden.323.b log = "[GetDateText]: [Root.GetName]: Sweden.323.b executed" add_political_power = 15 set_country_flag = SWE_saab_foreign_yards ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = Sweden.324 title = Sweden.324.t desc = Sweden.324.d picture = GFX_military_exercise is_triggered_only = yes trigger = { NOT = { has_country_flag = SWE_saab_nato_integration } NOT = { has_country_flag = SWE_saab_independent_line } } option = { name = Sweden.324.a log = "[GetDateText]: [Root.GetName]: Sweden.324.a executed" add_tech_bonus = { name = Sweden.324.t bonus = 0.15 uses = 1 category = CAT_awacs } set_country_flag = SWE_saab_nato_integration ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = Sweden.324.b log = "[GetDateText]: [Root.GetName]: Sweden.324.b executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = Sweden.324.t bonus = 0.10 uses = 1 category = CAT_fighter } set_country_flag = SWE_saab_independent_line ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = Sweden.325 title = Sweden.325.t desc = Sweden.325.d picture = GFX_fighter_jet is_triggered_only = yes trigger = { SWE_saab_outcome_settled = no } option = { name = Sweden.325.a trigger = { has_country_flag = SWE_saab_export_platform has_country_flag = SWE_saab_nato_integration } log = "[GetDateText]: [Root.GetName]: Sweden.325.a executed" effect_tooltip = { add_ideas = SWE_saab_allied_arms_exporter } hidden_effect = { SWE_saab_apply_allied_arms_exporter = yes } ai_chance = { base = 100 } } option = { name = Sweden.325.b trigger = { has_country_flag = SWE_saab_export_platform NOT = { has_country_flag = SWE_saab_nato_integration } } log = "[GetDateText]: [Root.GetName]: Sweden.325.b executed" effect_tooltip = { add_timed_idea = { idea = SWE_saab_non_aligned_exporter days = 365 } } hidden_effect = { SWE_saab_apply_non_aligned_exporter = yes } ai_chance = { base = 100 } } option = { name = Sweden.325.c trigger = { NOT = { has_country_flag = SWE_saab_export_platform } has_country_flag = SWE_saab_nato_integration } log = "[GetDateText]: [Root.GetName]: Sweden.325.c executed" effect_tooltip = { add_timed_idea = { idea = SWE_saab_alliance_specialist days = 365 } } hidden_effect = { SWE_saab_apply_alliance_specialist = yes } ai_chance = { base = 100 } } option = { name = Sweden.325.e trigger = { NOT = { has_country_flag = SWE_saab_export_platform } NOT = { has_country_flag = SWE_saab_nato_integration } } log = "[GetDateText]: [Root.GetName]: Sweden.325.e executed" effect_tooltip = { add_timed_idea = { idea = SWE_saab_domestic_arsenal days = 365 } } hidden_effect = { SWE_saab_apply_domestic_arsenal = yes } ai_chance = { base = 100 } } }