add_namespace = norway # Åsta Train Collision country_event = { id = norway.1 title = norway.1.t desc = norway.1.d picture = GFX_train_collision is_triggered_only = yes fire_only_once = yes option = { name = norway.1.o1 log = "[GetDateText]: [This.GetName]: norway.1.o1 executed" add_political_power = -50 set_temp_variable = { arg_popularity = -0.01 } add_ruling_outlook_popularity = yes ai_chance = { base = 1 } } option = { name = norway.1.o2 log = "[GetDateText]: [This.GetName]: norway.1.o2 executed" add_stability = -0.03 set_temp_variable = { arg_popularity = -0.02 } add_ruling_outlook_popularity = yes ai_chance = { base = 0 } } } # New Events # Sends event to ENG, GER, and FRA about oil investments country_event = { id = norway.5 title = norway.5.t desc = norway.5.d picture = GFX_stock_market is_triggered_only = yes option = { name = norway.5.a log = "[GetDateText]: [This.GetName]: norway.5.a executed" NRY = { random_owned_state = { random_list = { 50 = { add_resource = { type = oil amount = 5 } } 50 = { add_resource = { type = oil amount = 6 } } } } } newline = yes random_owned_state = { limit = { is_coastal = yes } add_resource = { type = oil amount = 6 } } newline = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = NRY } change_influence_percentage = yes newline = yes set_temp_variable = { treasury_change = -7.42 } modify_treasury_effect = yes NRY = { country_event = norway.6 } ai_chance = { base = 1 } } # No option = { name = norway.5.b log = "[GetDateText]: [This.GetName]: norway.5.b executed" NRY = { country_event = norway.7 } ai_chance = { base = 0 } } } # X Country Accepts! country_event = { id = norway.6 title = norway.6.t desc = norway.6.d picture = GFX_treaty is_triggered_only = yes # Okay option = { name = norway.6.a ai_chance = { base = 1 } } } # X Country Rejects country_event = { id = norway.7 title = norway.7.t desc = norway.7.d picture = GFX_treaty_rejected is_triggered_only = yes # Okay option = { name = norway.7.a ai_chance = { base = 1 } } } # Packages of Aid to the Levant country_event = { id = norway.8 title = norway.8.t desc = norway.8.d picture = GFX_treaty is_triggered_only = yes # Minimal Amount of Aid option = { name = norway.8.a log = "[GetDateText]: [This.GetName]: norway.8.a executed" set_temp_variable = { treasury_change = -21.00 } modify_treasury_effect = yes newline = yes set_temp_variable = { percent_change = 4 } set_temp_variable = { influence_target = PAL } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = LEB } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = SYR } change_influence_percentage = yes ai_chance = { base = 1 } } # Reasonable Amount of Aid option = { name = norway.8.b log = "[GetDateText]: [This.GetName]: norway.8.b executed" set_temp_variable = { treasury_change = -36.00 } modify_treasury_effect = yes newline = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = PAL } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = LEB } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = SYR } change_influence_percentage = yes ai_chance = { base = 1 } } # Considerable Amount of Aid option = { name = norway.8.c log = "[GetDateText]: [This.GetName]: norway.8.c executed" set_temp_variable = { treasury_change = -50.00 } modify_treasury_effect = yes newline = yes set_temp_variable = { percent_change = 10 } set_temp_variable = { influence_target = PAL } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = LEB } change_influence_percentage = yes newline = yes set_temp_variable = { influence_target = SYR } change_influence_percentage = yes ai_chance = { base = 1 } } } # Norway would like to send us aid! country_event = { id = norway.81 title = norway.81.t desc = norway.81.d picture = GFX_treaty is_triggered_only = yes # Sure option = { name = norway.81.a log = "[GetDateText]: [This.GetName]: norway.81.a executed" NRY = { country_event = { id = norway.8 days = 1 } } ai_chance = { base = 1 modifier = { has_opinion = { target = NRY value > 44 } add = 10 } } } # No option = { name = norway.81.b log = "[GetDateText]: [This.GetName]: norway.81.b executed" NRY = { country_event = { id = norway.82 days = 1 } } ai_chance = { base = 1 } } } # Aid request rejected country_event = { id = norway.82 title = norway.82.t desc = norway.82.d picture = GFX_treaty_rejected is_triggered_only = yes # Ok option = { name = norway.82.a ai_chance = { base = 1 } } } # Weapons Sales # Who do we get weapons from? country_event = { id = norway.91 title = norway.91.t desc = norway.91.d picture = GFX_weapons_arms1 is_triggered_only = yes # Germany option = { name = norway.91.a log = "[GetDateText]: [This.GetName]: norway.91.a executed" GER = { country_event = { id = norway.94 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { NRY_GER_tank_purchase = yes } newline = yes custom_effect_tooltip = NRY_higher_relations_more_likely_TT ai_chance = { base = 1 } } # USA option = { name = norway.91.b log = "[GetDateText]: [This.GetName]: norway.91.b executed" USA = { country_event = { id = norway.94 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { NRY_USA_ifv_purchase = yes } newline = yes custom_effect_tooltip = NRY_higher_relations_more_likely_TT ai_chance = { base = 1 } } } # US / German Government Approves Arms Sales country_event = { id = norway.9 title = { trigger = { FROM = { original_tag = USA } } text = norway.9.t } title = { trigger = { FROM = { original_tag = GER } } text = norway.92.t } desc = { trigger = { FROM = { original_tag = USA } } text = norway.9.d } desc = { trigger = { FROM = { original_tag = GER } } text = norway.92.d } picture = GFX_political_deal is_triggered_only = yes option = { name = norway.9.a log = "[GetDateText]: [This.GetName]: norway.9.a executed" if = { limit = { FROM = { original_tag = USA } } NRY_USA_ifv_purchase = yes } else_if = { limit = { FROM = { original_tag = GER } } NRY_GER_tank_purchase = yes } ai_chance = { base = 1 } } option = { name = norway.9.b ai_chance = { base = 1 } } } # They Reject! country_event = { id = norway.93 title = norway.93.t desc = norway.93.d picture = GFX_weapons_arms1 is_triggered_only = yes # Okay option = { name = norway.93.a ai_chance = { base = 1 } } } # Norway Wants To Purchase Weapons country_event = { id = norway.94 title = norway.94.t desc = norway.94.d picture = GFX_weapons_arms1 is_triggered_only = yes # Okay option = { name = norway.94.a log = "[GetDateText]: [This.GetName]: norway.94.a executed" if = { limit = { original_tag = USA } NRY = { country_event = norway.9 } custom_effect_tooltip = TT_IF_WE_ACCEPT effect_tooltip = { NRY_USA_ifv_purchase = yes } } else_if = { limit = { original_tag = GER } custom_effect_tooltip = TT_IF_WE_ACCEPT effect_tooltip = { NRY_GER_tank_purchase = yes } NRY = { country_event = norway.9 } } ai_chance = { base = 1 modifier = { has_opinion = { target = NRY value > 44 } add = 10 } } } # No option = { name = norway.94.b log = "[GetDateText]: [This.GetName]: norway.94.b executed" NRY = { country_event = norway.93 } ai_chance = { base = 1 } } } # Constructive Dialogue with Russia (Russian Event) country_event = { id = norway.10 title = norway.10.t desc = norway.10.d picture = GFX_treaty is_triggered_only = yes # Okay option = { name = norway.10.a log = "[GetDateText]: [This.GetName]: norway.10.a executed" NRY = { country_event = { id = norway.11 days = 2 } } ai_chance = { base = 5 modifier = { has_opinion = { target = NRY value > 20 } add = 20 } } } # No option = { name = norway.10.b log = "[GetDateText]: [This.GetName]: norway.10.b executed" NRY = { country_event = { id = norway.12 days = 2 } } ai_chance = { base = 1 } } } # Accepts country_event = { id = norway.11 title = norway.11.t desc = norway.11.d picture = GFX_treaty is_triggered_only = yes # Okay option = { name = norway.11.a log = "[GetDateText]: [This.GetName]: norway.11.a executed" set_temp_variable = { receiver_nation = NRY.id } set_temp_variable = { sender_nation = SOV.id } set_improved_trade_agreement = yes diplomatic_relation = { country = SOV relation = non_aggression_pact } ai_chance = { base = 1 } } } # Rejects country_event = { id = norway.12 title = norway.12.t desc = norway.12.d picture = GFX_treaty_rejected is_triggered_only = yes # Okay option = { name = norway.12.a ai_chance = { base = 1 } } } # The Gays country_event = { id = norway.14 title = norway.14.t desc = norway.14.d picture = GFX_treaty is_triggered_only = yes # Legalization option = { name = norway.14.a log = "[GetDateText]: [This.GetName]: norway.14.a executed" add_stability = -0.03 newline = yes set_temp_variable = { temp_opinion = 10 } change_labour_unions_opinion = yes newline = yes add_popularity = { ideology = communism popularity = -0.10 } newline = yes add_popularity = { ideology = nationalist popularity = -0.10 } ai_chance = { base = 1 } } # No Legalization option = { name = norway.14.b log = "[GetDateText]: [This.GetName]: norway.14.b executed" add_stability = 0.03 newline = yes set_temp_variable = { party_popularity_increase = 0.035 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes newline = yes add_popularity = { ideology = nationalist popularity = 0.10 } ai_chance = { base = 1 } } } country_event = { id = norway.16 title = norway.16.t desc = norway.16.d picture = GFX_european_migrant_crisis is_triggered_only = yes # Anti Immigration option = { name = norway.16.a log = "[GetDateText]: [This.GetName]: norway.16.a executed" add_ideas = NRY_anti_migration ai_chance = { base = 1 } } # Pro Immigration option = { name = norway.16.b log = "[GetDateText]: [This.GetName]: norway.16.b executed" add_ideas = NRY_pro_migration ai_chance = { base = 1 } } } # Focus Events # Norway wants to increase cooperation economically country_event = { id = norway.100 title = norway.100.t desc = norway.100.d picture = GFX_treaty is_triggered_only = yes # Ok option = { name = norway.100.a log = "[GetDateText]: [This.GetName]: norway.100.a executed" NRY = { set_country_flag = NRY_UK_AGREED } set_temp_variable = { receiver_nation = NRY.id } set_temp_variable = { sender_nation = ENG.id } set_improved_trade_agreement = yes newline = yes effect_tooltip = { add_resource = { type = oil amount = 5 state = 8 } newline = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = NRY } set_temp_variable = { influence_target = ENG } change_influence_percentage = yes newline = yes set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.05 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = treasury_change } multiply_temp_variable = { int_investment_change = -1.25 } modify_international_investment_effect = yes set_temp_variable = { debt_change = debt } multiply_temp_variable = { debt_change = -0.02 } modify_debt_effect = yes } NRY = { country_event = { id = norway.101 days = 1 } } ai_chance = { base = 1 modifier = { has_opinion = { target = NRY value > 44 } add = 10 } } } # No option = { name = norway.100.b log = "[GetDateText]: [This.GetName]: norway.100.b executed" NRY = { set_country_flag = NRY_UK_DECLINED country_event = { id = norway.102 days = 1 } } ai_chance = { base = 1 } } } # They Accept country_event = { id = norway.101 title = norway.101.t desc = norway.101.d picture = GFX_treaty is_triggered_only = yes # Ok option = { name = norway.101.a ai_chance = { base = 1 } } } # They Reject country_event = { id = norway.102 title = norway.102.t desc = norway.102.d picture = GFX_treaty_rejected is_triggered_only = yes # Ok option = { name = norway.102.a ai_chance = { base = 1 } } } # Norway Wants To Construct Infrastructure for us country_event = { id = norway.103 title = norway.103.t desc = norway.103.d picture = GFX_generic_factory is_triggered_only = yes # Ok option = { name = norway.103.a log = "[GetDateText]: [This.GetName]: norway.103.a executed" custom_effect_tooltip = TT_IF_WE_ACCEPT newline = yes if = { limit = { original_tag = SWE } effect_tooltip = { NRY_veidekke_build_sweden = yes } } else_if = { limit = { original_tag = FIN } effect_tooltip = { NRY_veidekke_build_finland = yes } } newline = yes NRY = { country_event = { id = norway.104 days = 1 } } ai_chance = { base = 1 modifier = { has_opinion = { target = NRY value > 44 } add = 10 } } } option = { name = norway.103.b log = "[GetDateText]: [This.GetName]: norway.103.b executed" NRY = { country_event = { id = norway.105 days = 1 } } ai_chance = { base = 1 } } } # They Accept! country_event = { id = norway.104 title = norway.104.t desc = norway.104.d picture = GFX_generic_factory is_triggered_only = yes # Ok option = { name = norway.104.a log = "[GetDateText]: [This.GetName]: norway.104.a executed" if = { limit = { FROM = { original_tag = SWE } } NRY_veidekke_build_sweden = yes newline = yes set_temp_variable = { treasury_change = -7.00 } modify_treasury_effect = yes } else_if = { limit = { FROM = { original_tag = FIN } } NRY_veidekke_build_finland = yes newline = yes set_temp_variable = { treasury_change = -7.00 } modify_treasury_effect = yes } ai_chance = { base = 1 } } } # They Reject! country_event = { id = norway.105 title = norway.105.t desc = norway.105.d picture = GFX_generic_factory is_triggered_only = yes # Ok option = { name = norway.105.a ai_chance = { base = 1 } } } # Norway is influencing our politics country_event = { id = norway.106 title = norway.106.t desc = norway.106.d picture = GFX_political_deal is_triggered_only = yes # Ok option = { name = norway.106.a ai_chance = { base = 1 } } } ### Kongsberg Corporate History ### country_event = { id = norway.300 title = norway.300.t desc = norway.300.d picture = GFX_military_exercise is_triggered_only = yes trigger = { NOT = { has_country_flag = NRY_kongsberg_dual_use_group } NOT = { has_country_flag = NRY_kongsberg_split_the_group } } option = { name = norway.300.a log = "[GetDateText]: [Root.GetName]: norway.300.a executed" add_political_power = 15 if = { limit = { has_dlc = "No Step Back" } add_tech_bonus = { name = norway.300.t bonus = 0.15 uses = 1 category = CAT_afv_weapons } } else = { add_tech_bonus = { name = norway.300.t bonus = 0.15 uses = 1 category = CAT_support_weapons } } set_country_flag = NRY_kongsberg_dual_use_group ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = norway.300.b log = "[GetDateText]: [Root.GetName]: norway.300.b executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes set_country_flag = NRY_kongsberg_split_the_group ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = norway.301 title = norway.301.t desc = norway.301.d picture = GFX_military_exercise is_triggered_only = yes trigger = { NOT = { has_country_flag = NRY_kongsberg_nsm_production } NOT = { has_country_flag = NRY_kongsberg_bought_abroad } } option = { name = norway.301.a log = "[GetDateText]: [Root.GetName]: norway.301.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = norway.301.t bonus = 0.15 uses = 1 category = CAT_as_missiles } set_country_flag = NRY_kongsberg_nsm_production ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = norway.301.b log = "[GetDateText]: [Root.GetName]: norway.301.b executed" add_political_power = 20 set_country_flag = NRY_kongsberg_bought_abroad ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = norway.302 title = norway.302.t desc = norway.302.d picture = GFX_fighter_jet is_triggered_only = yes trigger = { NOT = { has_country_flag = NRY_kongsberg_jsm_integration } NOT = { has_country_flag = NRY_kongsberg_no_integration } } option = { name = norway.302.a log = "[GetDateText]: [Root.GetName]: norway.302.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = norway.302.t bonus = 0.15 uses = 1 category = CAT_missile } set_country_flag = NRY_kongsberg_jsm_integration ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = norway.302.b log = "[GetDateText]: [Root.GetName]: norway.302.b executed" add_tech_bonus = { name = norway.302.t bonus = 0.10 uses = 1 category = CAT_as_missiles } set_country_flag = NRY_kongsberg_no_integration ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = norway.303 title = norway.303.t desc = norway.303.d picture = GFX_cargo_ship is_triggered_only = yes trigger = { NOT = { has_country_flag = NRY_kongsberg_held_the_yards } NOT = { has_country_flag = NRY_kongsberg_cut_to_defence } } option = { name = norway.303.a log = "[GetDateText]: [Root.GetName]: norway.303.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = norway.303.t bonus = 0.15 uses = 1 category = CAT_naval_electronics } set_country_flag = NRY_kongsberg_held_the_yards ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = norway.303.b log = "[GetDateText]: [Root.GetName]: norway.303.b executed" add_political_power = 20 set_country_flag = NRY_kongsberg_cut_to_defence ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = norway.304 title = norway.304.t desc = norway.304.d picture = GFX_cargo_ship is_triggered_only = yes trigger = { NOT = { has_country_flag = NRY_kongsberg_maritime_scale } NOT = { has_country_flag = NRY_kongsberg_stayed_small } } option = { name = norway.304.a log = "[GetDateText]: [Root.GetName]: norway.304.a executed" set_temp_variable = { treasury_change = -7.00 } modify_treasury_effect = yes add_tech_bonus = { name = norway.304.t bonus = 0.15 uses = 1 category = CAT_surface_ship } set_country_flag = NRY_kongsberg_maritime_scale ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = norway.304.b log = "[GetDateText]: [Root.GetName]: norway.304.b executed" add_political_power = 20 set_country_flag = NRY_kongsberg_stayed_small ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = norway.305 title = norway.305.t desc = norway.305.d picture = GFX_military_exercise is_triggered_only = yes trigger = { NRY_kongsberg_outcome_settled = no } option = { name = norway.305.a trigger = { has_country_flag = NRY_kongsberg_jsm_integration has_country_flag = NRY_kongsberg_maritime_scale } log = "[GetDateText]: [Root.GetName]: norway.305.a executed" effect_tooltip = { add_ideas = NRY_kongsberg_strike_and_sea_group } hidden_effect = { NRY_kongsberg_apply_strike_and_sea_group = yes } ai_chance = { base = 100 } } option = { name = norway.305.b trigger = { has_country_flag = NRY_kongsberg_jsm_integration NOT = { has_country_flag = NRY_kongsberg_maritime_scale } } log = "[GetDateText]: [Root.GetName]: norway.305.b executed" effect_tooltip = { add_timed_idea = { idea = NRY_kongsberg_allied_missile_house days = 365 } } hidden_effect = { NRY_kongsberg_apply_allied_missile_house = yes } ai_chance = { base = 100 } } option = { name = norway.305.c trigger = { NOT = { has_country_flag = NRY_kongsberg_jsm_integration } has_country_flag = NRY_kongsberg_maritime_scale } log = "[GetDateText]: [Root.GetName]: norway.305.c executed" effect_tooltip = { add_timed_idea = { idea = NRY_kongsberg_maritime_systems_leader days = 365 } } hidden_effect = { NRY_kongsberg_apply_maritime_systems_leader = yes } ai_chance = { base = 100 } } option = { name = norway.305.e trigger = { NOT = { has_country_flag = NRY_kongsberg_jsm_integration } NOT = { has_country_flag = NRY_kongsberg_maritime_scale } } log = "[GetDateText]: [Root.GetName]: norway.305.e executed" effect_tooltip = { add_timed_idea = { idea = NRY_kongsberg_niche_supplier days = 365 } } hidden_effect = { NRY_kongsberg_apply_niche_supplier = yes } ai_chance = { base = 100 } } }