# Norwegian event helper effects # Leopard 2A5 purchase from Germany; reads no inputs, buyer is always NRY regardless of ROOT NRY_GER_tank_purchase = { if = { limit = { has_dlc = "No Step Back" } NRY = { set_temp_variable = { treasury_change = -45.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = medium_tank_chassis_1 variant_name = "Leopard 2A5" amount = 45 producer = GER } } if = { limit = { country_exists = GER } GER = { set_temp_variable = { treasury_change = 45.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = medium_tank_chassis_1 variant_name = "Leopard 2A5" amount = -45 producer = GER } } } } else = { NRY = { set_temp_variable = { treasury_change = -45.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = MBT_2 amount = 45 producer = GER } } if = { limit = { country_exists = GER } GER = { set_temp_variable = { treasury_change = 45.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = MBT_2 amount = -45 producer = GER } } } } } # M2 Bradley / IFV purchase from the USA; reads no inputs, buyer is always NRY regardless of ROOT NRY_USA_ifv_purchase = { if = { limit = { has_dlc = "No Step Back" } NRY = { set_temp_variable = { treasury_change = -35.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = medium_tank_flame_chassis_1 variant_name = "M2 Bradley" amount = 125 producer = USA } } if = { limit = { country_exists = USA } USA = { set_temp_variable = { treasury_change = 35.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = medium_tank_flame_chassis_1 variant_name = "M2 Bradley" amount = -125 producer = USA } } } } else = { NRY = { set_temp_variable = { treasury_change = -35.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = IFV_2 amount = 125 producer = USA } } if = { limit = { country_exists = USA } USA = { set_temp_variable = { treasury_change = 35.29 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = IFV_2 amount = -125 producer = USA } } } } } # Veidekke road-build offers; tag_index = NRY is set inside so the 103 previews (SWE/FIN scope) attribute influence to Norway NRY_veidekke_build_sweden = { 881 = { add_building_construction = { type = infrastructure level = 1 } } newline = yes 34 = { add_building_construction = { type = infrastructure level = 1 } } newline = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = NRY } set_temp_variable = { influence_target = SWE } change_influence_percentage = yes } NRY_veidekke_build_finland = { 104 = { add_building_construction = { type = infrastructure level = 1 } } newline = yes 102 = { add_building_construction = { type = infrastructure level = 1 } } newline = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = NRY } set_temp_variable = { influence_target = FIN } change_influence_percentage = yes } NRY_boost_agri_opinions = { set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes set_temp_variable = { temp_opinion = 5 } change_oligarchs_opinion = yes } # Kongsberg corporate history. Five milestones set the route; the closing milestone # resolves strike integration against maritime scale into one of four outcomes. NRY_kongsberg_apply_strike_and_sea_group = { if = { limit = { NRY_kongsberg_outcome_settled = no } add_ideas = NRY_kongsberg_strike_and_sea_group } } NRY_kongsberg_apply_allied_missile_house = { if = { limit = { NRY_kongsberg_outcome_settled = no } add_timed_idea = { idea = NRY_kongsberg_allied_missile_house days = 365 } } } NRY_kongsberg_apply_maritime_systems_leader = { if = { limit = { NRY_kongsberg_outcome_settled = no } add_timed_idea = { idea = NRY_kongsberg_maritime_systems_leader days = 365 } } } NRY_kongsberg_apply_niche_supplier = { if = { limit = { NRY_kongsberg_outcome_settled = no } add_timed_idea = { idea = NRY_kongsberg_niche_supplier days = 365 } } } NRY_kongsberg_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.300 days = 252 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = NRY_kongsberg_dual_use_group } } NRY_kongsberg_milestone_2007 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.301 days = 170 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = NRY_kongsberg_nsm_production } } NRY_kongsberg_milestone_2008 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.302 days = 324 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = NRY_kongsberg_jsm_integration } } NRY_kongsberg_milestone_2014 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.303 days = 330 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = NRY_kongsberg_held_the_yards } } NRY_kongsberg_milestone_2019 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.304 days = 90 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = NRY_kongsberg_maritime_scale } } NRY_kongsberg_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = norway.305 days = 170 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } NRY_kongsberg_apply_strike_and_sea_group = yes } }