add_namespace = denmark add_namespace = denmark_news add_namespace = denmark_agrar_event country_event = { id = denmark.2 title = denmark.2.t desc = denmark.2.d picture = GFX_denmark_conservatives is_triggered_only = yes option = { name = denmark.2.a ai_chance = { base = 1 } } } country_event = { id = denmark.3 title = denmark.3.t desc = denmark.3.d picture = GFX_denmark_margrethe is_triggered_only = yes option = { name = denmark.3.a ai_chance = { base = 1 } } } #Negotiate foreign air license country_event = { id = denmark.4 title = denmark.4.t desc = denmark.4.d picture = GFX_fighter_jet is_triggered_only = yes fire_only_once = yes ##Accept Send Request option = { name = denmark.4.o1 trigger = { has_idea = NATO_member } log = "[GetDateText]: [This.GetName]: denmark.4.o1 executed" USA = { country_event = { id = denmark.4001 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = 15 variant_name = "F-16A Blk 20" producer = USA } } else = { add_equipment_to_stockpile = { type = MR_Fighter2 amount = 15 producer = USA } } } ai_chance = { base = 1 } } option = { name = denmark.4.o2 trigger = { is_in_faction_with = SOV } log = "[GetDateText]: [This.GetName]: denmark.4.o2 executed" SOV = { country_event = { id = denmark.4001 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = 15 variant_name = "MiG-29 Fulcrum" producer = SOV } } else = { add_equipment_to_stockpile = { type = MR_Fighter2 amount = 15 producer = SOV } } } ai_chance = { base = 1 } } #Deny the Request/We Do not have the funds option = { name = denmark.4.o3 log = "[GetDateText]: [This.GetName]: denmark.4.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 } } } } } country_event = { id = denmark.4001 title = denmark.4001.t desc = { trigger = { is_in_faction = yes has_idea = NATO_member } text = denmark.4001.d1 } desc = { trigger = { is_in_faction = yes NOT = { has_idea = NATO_member } } text = denmark.4001.d2 } picture = GFX_fighter_jet is_triggered_only = yes fire_only_once = yes option = { name = denmark.4001.o1 log = "[GetDateText]: [This.GetName]: denmark.4001.o1 executed" DEN = { country_event = { id = denmark.4002 days = 1 } } ai_chance = { base = 1 } } option = { name = denmark.4001.o2 log = "[GetDateText]: [This.GetName]: denmark.4001.o2 executed" DEN = { country_event = { id = denmark.4003 days = 1 } } ai_chance = { base = 0 modifier = { add = 2 THIS = { check_variable = { opinion@DEN < 11 } } } } } } # SOV/USA ACCEPTS OUR REQUEST country_event = { id = denmark.4002 title = denmark.4002.t desc = { trigger = { has_idea = NATO_member DEN = { has_idea = NATO_member } } text = denmark.4002.d1 } desc = { trigger = { is_in_faction_with = DEN DEN = { is_in_faction_with = SOV } } text = denmark.4002.d2 } picture = GFX_fighter_jet is_triggered_only = yes fire_only_once = yes option = { name = denmark.4002.o1 log = "[GetDateText]: [This.GetName]: denmark.4002.o1 executed" if = { limit = { FROM = { original_tag = USA } } if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_strike_airframe_2 amount = 15 variant_name = "F-16A Blk 20" producer = USA } } else = { add_equipment_to_stockpile = { type = MR_Fighter2 amount = 15 producer = USA } } } else_if = { limit = { FROM = { original_tag = SOV } } if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = 15 variant_name = "MiG-29 Fulcrum" producer = SOV } } else = { add_equipment_to_stockpile = { type = MR_Fighter2 amount = 15 producer = SOV } } } } } # SOV/USA DENIES OUR REQUEST country_event = { id = denmark.4003 title = denmark.4003.t desc = { trigger = { has_idea = NATO_member DEN = { has_idea = NATO_member } } text = denmark.4003.d1 } desc = { trigger = { is_in_faction_with = DEN DEN = { is_in_faction_with = SOV } } text = denmark.4003.d2 } picture = GFX_fighter_jet is_triggered_only = yes fire_only_once = yes option = { name = denmark.4003.o1 } } # Reactionary Focus country_event = { id = denmark.6 title = denmark.6.t desc = denmark.6.d picture = GFX_denmark_conservatives is_triggered_only = yes option = { name = denmark.6.o1 ai_chance = { base = 1 } } } # Conservative Focus country_event = { id = denmark.7 title = denmark.7.t desc = denmark.7.d picture = GFX_denmark_conservatives is_triggered_only = yes option = { name = denmark.7.o1 ai_chance = { base = 1 } } } # Monarchist Focus country_event = { id = denmark.8 title = denmark.8.t desc = denmark.8.d picture = GFX_denmark_margrethe is_triggered_only = yes option = { name = denmark.8.a ai_chance = { base = 0.3 } } option = { name = denmark.8.b ai_chance = { base = 0.3 } } option = { name = denmark.8.c ai_chance = { base = 0.3 } } } # Martial Law declared country_event = { id = denmark.9 title = denmark.9.t desc = denmark.9.d picture = GFX_message_signing is_triggered_only = yes option = { name = denmark.9.o1 log = "[GetDateText]: [This.GetName]: denmark.9.o1 executed" add_stability = -0.05 set_temp_variable = { party_index = 4 } set_temp_variable = { temp_outlook_increase = 0.10 } set_temp_variable = { party_popularity_increase = 0.10 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } # Nationalist country_event = { id = denmark.11 title = denmark.11.t desc = denmark.11.d picture = GFX_politics_far_right is_triggered_only = yes option = { name = denmark.11.o1 ai_chance = { base = 1 } } } #Crown Prince Frederik and His little brother becomes Field Marshal and general country_event = { id = denmark.18 title = denmark.18.t desc = denmark.18.d picture = GFX_ace_promoted is_triggered_only = yes fire_only_once = yes option = { name = denmark.18.a log = "[GetDateText]: [This.GetName]: denmark.18.a executed" set_country_flag = DEN_unlock_danish_royals effect_tooltip = { create_field_marshal = { name = "Crown Prince Frederik" portrait_path = "gfx/leaders/DEN/Prince_Frederik_Mil.dds" traits = { ranger commando infantry_officer } skill = 3 attack_skill = 2 defense_skill = 3 planning_skill = 2 logistics_skill = 3 } create_corps_commander = { name = "Prince Joachim" portrait_path = "gfx/leaders/DEN/Prince_Joachim_Mil.dds" traits = { armoured_cavalry_officer artillery_officer } skill = 2 attack_skill = 2 defense_skill = 2 planning_skill = 2 logistics_skill = 2 } } ai_chance = { base = 1 } } } #Crown Prince Frederik Becomes King country_event = { id = denmark.20 title = denmark.20.t desc = denmark.20.d picture = GFX_event_DEN_frederik_crowning is_triggered_only = yes fire_only_once = yes option = { name = denmark.20.a log = "[GetDateText]: [This.GetName]: denmark.20.a executed" create_country_leader = { name = "King Frederik The 10th" picture = Prince_Frederik.dds expire = "2085.1.1" ideology = Monarchist traits = { humble likeable military_career } } ai_chance = { base = 1 } } } #International Diplomacy country_event = { id = denmark.19 title = denmark.19.t desc = denmark.19.d picture = GFX_report_event_Scarico_Merci_1 is_triggered_only = yes option = { name = denmark.19.a #England accepts purchase log = "[GetDateText]: [This.GetName]: denmark.19.a executed" if = { limit = { OR = { ENG = { owns_state = 8 } ENG = { owns_state = 1197 } } } DEN = { if = { limit = { ENG = { owns_state = 8 } } transfer_state = 8 } if = { limit = { ENG = { owns_state = 1197 } } transfer_state = 1197 } set_temp_variable = { treasury_change = -50 } modify_treasury_effect = yes } ENG = { set_temp_variable = { treasury_change = 50 } modify_treasury_effect = yes } } ai_chance = { base = 10 } } option = { name = denmark.19.b #That's gonna be a no from me dog ai_chance = { base = 90 } } } # let's create a faction country_event = { id = denmark.21 title = denmark.21.t desc = denmark.21.d picture = GFX_church_of_sweden is_triggered_only = yes option = { name = denmark.21.a #The Kalmar Union upgraded log = "[GetDateText]: [This.GetName]: denmark.21.a executed" trigger = { is_subject = no } DEN = { add_to_faction = PREV } ai_chance = { base = 90 modifier = { factor = 0.05 is_in_faction = yes } modifier = { factor = 0 is_faction_leader = yes } } } option = { name = denmark.21.b #That's gonna be a no from me dog trigger = { is_subject = no } ai_chance = { base = 10 } } option = { name = denmark.21.c # Not for us to decide trigger = { is_subject = yes } ai_chance = { base = 10 } } } # Fight the Nationalists country_event = { id = denmark.13 title = denmark.13.t desc = denmark.13.d picture = GFX_politics_censorship is_triggered_only = yes option = { name = denmark.13.o1 log = "[GetDateText]: [This.GetName]: denmark.13.o1 executed" add_popularity = { ideology = nationalist popularity = -0.10 } add_popularity = { ideology = democratic popularity = -0.05 } add_popularity = { ideology = neutrality popularity = -0.05 } add_manpower = 10000 recalculate_party = yes ai_chance = { base = 1 } } } # Communism country_event = { id = denmark.17 title = denmark.17.t desc = denmark.17.d picture = GFX_politics_communism is_triggered_only = yes fire_only_once = yes option = { name = denmark.17.o1 ai_chance = { base = 1 } } } #Invite Nordic nation to the Union of Scandinavia (recipient-keyed: ICE/SWE/NRY/FIN) country_event = { id = denmark.39 title = { trigger = { original_tag = ICE } text = denmark.39.t } title = { trigger = { original_tag = SWE } text = denmark.40.t } title = { trigger = { original_tag = NRY } text = denmark.41.t } title = { trigger = { original_tag = FIN } text = denmark.42.t } desc = { trigger = { original_tag = ICE } text = denmark.39.d } desc = { trigger = { original_tag = SWE } text = denmark.40.d } desc = { trigger = { original_tag = NRY } text = denmark.41.d } desc = { trigger = { original_tag = FIN } text = denmark.42.d } picture = GFX_politics_communism is_triggered_only = yes option = { #Yes name = denmark.39.a log = "[GetDateText]: [This.GetName]: denmark.39.a executed" if = { limit = { country_exists = DEN NOT = { has_war_with = DEN } is_subject = no } DEN = { puppet = ROOT } } ai_chance = { base = 0 modifier = { add = 500 has_government = communism } } } option = { #No name = denmark.39.b ai_chance = { base = 95 modifier = { factor = 0 has_government = communism } } } } ##News Event #Abdication of Queen Margrethe II news_event = { id = denmark_news.1 title = denmark_news.1.t desc = denmark_news.1.d picture = GFX_news_press_conference is_triggered_only = yes major = yes fire_only_once = yes trigger = { DEN = { has_completed_focus = DEN_abolish_monarchy } } option = { name = denmark_news.1.o1 trigger = { check_variable = { ruling_party = 23 } } ai_chance = { base = 0.3 } } option = { name = denmark_news.1.o2 trigger = { tag = DEN } ai_chance = { base = 0.3 } } option = { name = denmark_news.1.o3 trigger = { NOT = { check_variable = { ruling_party = 23 } } NOT = { tag = DEN } } ai_chance = { base = 0.3 } } } #Eurovision 2000 country_event = { id = denmark.1 title = denmark.1.t desc = denmark.1.d picture = GFX_olsen is_triggered_only = yes trigger = { original_tag = DEN } option = { name = denmark.1.a log = "[GetDateText]: [This.GetName]: denmark.1.a executed" add_political_power = 50 ai_chance = { base = 1 } } } #Øresundsbroen country_event = { id = denmark.22 title = denmark.22.t desc = denmark.22.d picture = GFX_Oresundsbron is_triggered_only = yes fire_only_once = yes option = { name = denmark.22.a log = "[GetDateText]: [This.GetName]: denmark.22.a executed" add_political_power = 25 add_opinion_modifier = { target = SWE modifier = small_increase } reverse_add_opinion_modifier = { target = SWE modifier = small_increase } ai_chance = { base = 1 } } } #Thule Air Base country_event = { id = denmark.23 title = denmark.23.t desc = denmark.23.d picture = GFX_blizzard is_triggered_only = yes fire_only_once = yes option = { name = denmark.23.a log = "[GetDateText]: [This.GetName]: denmark.23.a executed" add_opinion_modifier = { target = USA modifier = medium_increase } reverse_add_opinion_modifier = { target = USA modifier = medium_increase } 1 = { add_building_construction = { type = air_base level = 1 instant_build = yes } } ai_chance = { base = 1 } } } #Island Of Hans country_event = { id = denmark.24 title = denmark.24.t desc = denmark.24.d picture = GFX_politics_demands is_triggered_only = yes fire_only_once = yes option = { name = denmark.24.a log = "[GetDateText]: [This.GetName]: denmark.24.a executed" add_opinion_modifier = { target = CAN modifier = small_decrease } reverse_add_opinion_modifier = { target = CAN modifier = small_decrease } ai_chance = { base = 1 } } } #Muhammed Cartoon country_event = { id = denmark.25 title = denmark.25.t desc = denmark.25.d picture = GFX_politics_speak is_triggered_only = yes fire_only_once = yes option = { name = denmark.25.a log = "[GetDateText]: [This.GetName]: denmark.25.a executed" reverse_add_opinion_modifier = { target = SAU modifier = large_decrease } reverse_add_opinion_modifier = { target = KUW modifier = large_decrease } reverse_add_opinion_modifier = { target = UAE modifier = large_decrease } reverse_add_opinion_modifier = { target = OMA modifier = large_decrease } reverse_add_opinion_modifier = { target = YEM modifier = large_decrease } ai_chance = { base = 1 } } } #Pulling out of Iraq news_event = { id = denmark.26 title = denmark.26.t desc = denmark.26.d picture = GFX_news_event_war is_triggered_only = yes fire_only_once = yes option = { name = denmark.26.a log = "[GetDateText]: [This.GetName]: denmark.26.a executed" add_manpower = 470 reverse_add_opinion_modifier = { target = USA modifier = small_decrease } reverse_add_opinion_modifier = { target = IRQ modifier = small_increase } ai_chance = { base = 1 } } } #Plot to Kill Kurt Westergaard country_event = { id = denmark.27 title = denmark.27.t desc = denmark.27.d picture = GFX_politics_eye is_triggered_only = yes fire_only_once = yes option = { name = denmark.27.a log = "[GetDateText]: [This.GetName]: denmark.27.a executed" add_stability = -0.01 ai_chance = { base = 1 } } } #Arctic Military Command country_event = { id = denmark.28 title = denmark.28.t desc = denmark.28.d picture = GFX_blizzard is_triggered_only = yes fire_only_once = yes option = { name = denmark.28.a log = "[GetDateText]: [This.GetName]: denmark.28.a executed" army_experience = 10 navy_experience = 15 air_experience = 10 1 = { add_building_construction = { type = air_base level = 1 instant_build = yes } add_building_construction = { type = naval_base level = 1 province = 12512 instant_build = yes } } ai_chance = { base = 1 } } } #Copenhagen Summit country_event = { id = denmark.29 title = denmark.29.t desc = denmark.29.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes option = { name = denmark.29.a log = "[GetDateText]: [This.GetName]: denmark.29.a executed" add_stability = 0.02 set_temp_variable = { treasury_change = 1 } modify_treasury_effect = yes ai_chance = { base = 1 } } } #Axe Attack Kurt Westergaard country_event = { id = denmark.30 title = denmark.30.t desc = denmark.30.d picture = GFX_politics_surveillence is_triggered_only = yes fire_only_once = yes option = { name = denmark.30.a log = "[GetDateText]: [This.GetName]: denmark.30.a executed" add_stability = -0.01 ai_chance = { base = 1 } } } #foiled attack on Jyllandsposten country_event = { id = denmark.31 title = denmark.31.t desc = denmark.31.d picture = GFX_politics_surveillence is_triggered_only = yes fire_only_once = yes option = { name = denmark.31.a log = "[GetDateText]: [This.GetName]: denmark.31.a executed" add_stability = 0.01 add_political_power = 25 ai_chance = { base = 1 } } } #Border Control country_event = { id = denmark.32 title = denmark.32.t desc = denmark.32.d picture = GFX_declined_offer_no is_triggered_only = yes fire_only_once = yes option = { name = denmark.32.a log = "[GetDateText]: [This.GetName]: denmark.32.a executed" add_political_power = -25 ai_chance = { base = 1 } } } #Same-sex Marriage legalised country_event = { id = denmark.33 title = denmark.33.t desc = denmark.33.d picture = GFX_politics_talks is_triggered_only = yes fire_only_once = yes option = { name = denmark.33.a log = "[GetDateText]: [This.GetName]: denmark.33.a executed" add_stability = 0.02 add_political_power = 25 ai_chance = { base = 1 } } } #Union shutting schools down country_event = { id = denmark.34 title = denmark.34.t desc = denmark.34.d picture = GFX_politics_demands is_triggered_only = yes fire_only_once = yes option = { name = denmark.34.a log = "[GetDateText]: [This.GetName]: denmark.34.a executed" add_stability = -0.01 add_political_power = -10 ai_chance = { base = 1 } } } #Islamist Omar El-Hussein country_event = { id = denmark.35 title = denmark.35.t desc = denmark.35.d picture = GFX_politics_salafism is_triggered_only = yes fire_only_once = yes option = { name = denmark.35.a log = "[GetDateText]: [This.GetName]: denmark.35.a executed" add_stability = -0.02 ai_chance = { base = 1 } } } #Asylum Seeker surrender cash or valuables country_event = { id = denmark.36 title = denmark.36.t desc = denmark.36.d picture = GFX_trade_agreement is_triggered_only = yes fire_only_once = yes option = { name = denmark.36.a log = "[GetDateText]: [This.GetName]: denmark.36.a executed" add_stability = -0.03 set_temp_variable = { treasury_change = 1 } modify_treasury_effect = yes ai_chance = { base = 1 } } } #Ban Hate speech country_event = { id = denmark.37 title = denmark.37.t desc = denmark.37.d picture = GFX_declined_offer_no is_triggered_only = yes fire_only_once = yes option = { name = denmark.37.a log = "[GetDateText]: [This.GetName]: denmark.37.a executed" add_stability = 0.02 ai_chance = { base = 1 } } } #Ancient laws country_event = { id = denmark.38 title = denmark.38.t desc = denmark.38.d picture = GFX_declined_offer_no is_triggered_only = yes fire_only_once = yes option = { name = denmark.38.a log = "[GetDateText]: [This.GetName]: denmark.38.a executed" add_stability = 0.01 ai_chance = { base = 1 } } } #Storm Erwin (Gudrun) country_event = { id = denmark.43 title = denmark.43.t desc = denmark.43.d picture = GFX_typhoon is_triggered_only = yes fire_only_once = yes option = { name = denmark.43.a log = "[GetDateText]: [This.GetName]: denmark.43.a executed" add_stability = -0.01 ai_chance = { base = 1 } } } #Greenland Referendum country_event = { id = denmark.44 title = denmark.44.t desc = denmark.44.d picture = GFX_court is_triggered_only = yes fire_only_once = yes option = { name = denmark.44.a log = "[GetDateText]: [This.GetName]: denmark.44.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes GRN = { set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes } 1161 = { add_extra_state_shared_building_slots = 1 } 1162 = { add_extra_state_shared_building_slots = 1 } ai_chance = { base = 1 } } } # Faroese Referendum country_event = { id = denmark.45 title = denmark.45.t desc = denmark.45.d picture = GFX_court is_triggered_only = yes fire_only_once = yes option = { name = denmark.45.a log = "[GetDateText]: [This.GetName]: denmark.45.a executed" set_autonomy = { target = FAO autonomy_state = autonomy_danish_crown_holding end_wars = no end_civil_wars = no } 2 = { if = { limit = { has_dynamic_modifier = { modifier = DEN_faroese_separatism_modifier } } remove_dynamic_modifier = { modifier = DEN_faroese_separatism_modifier } } } FAO = { set_variable = { DEN_colonial_holding_modifier_1 = 0.05 } set_variable = { DEN_colonial_holding_modifier_2 = 0.05 } set_variable = { DEN_colonial_holding_modifier_3 = -0.02 } set_variable = { DEN_colonial_holding_modifier_4 = 0.10 } set_variable = { DEN_colonial_holding_modifier_5 = 0.10 } set_variable = { DEN_colonial_holding_modifier_6 = 0.10 } add_dynamic_modifier = { modifier = DEN_colonial_holding_modifier } } DEN = { set_variable = { DEN_colonial_holding_modifier_1 = 0.10 } set_variable = { DEN_colonial_holding_modifier_2 = 0.05 } } ai_chance = { base = 1 } } } #the Euroreferendum country_event = { id = denmark.46 title = denmark.46.t desc = denmark.46.d picture = GFX_typhoon is_triggered_only = yes fire_only_once = yes # Results option = { name = denmark.46.a log = "[GetDateText]: [This.GetName]: denmark.46.a executed" custom_effect_tooltip = DEN_Euro_referendum_TT hidden_effect = { if = { limit = { check_variable = { var = THIS.europeanism value = 0.5 compare = less_than_or_equals } } random_list = { 40 = { country_event = { id = denmark.47 days = 1 } } 60 = { country_event = { id = denmark.48 days = 1 } } } } else_if = { limit = { check_variable = { var = THIS.europeanism value = 0.6 compare = less_than_or_equals } } random_list = { 50 = { country_event = { id = denmark.47 days = 1 } } 50 = { country_event = { id = denmark.48 days = 1 } } } } else = { random_list = { 60 = { country_event = { id = denmark.47 days = 1 } } 40 = { country_event = { id = denmark.48 days = 1 } } } } } ai_chance = { base = 1 } } } # Yes to Euro country_event = { id = denmark.47 title = denmark.47.t desc = denmark.47.d picture = GFX_typhoon is_triggered_only = yes fire_only_once = yes #accept resulst option = { name = denmark.47.a log = "[GetDateText]: [This.GetName]: denmark.47.a executed" set_country_flag = DEN_accept remove_ideas = DEN_euro_question_idea set_temp_variable = { modify_europeanism = 0.05 } set_temp_variable = { modify_europeanism_target = DEN } europeanism_change = yes ai_chance = { base = 0.5 } } #don´t accept option = { name = denmark.47.b log = "[GetDateText]: [This.GetName]: denmark.47.b executed" add_political_power = -100 add_stability = -0.02 remove_ideas = DEN_euro_question_idea set_temp_variable = { party_popularity_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { modify_europeanism = -0.05 } set_temp_variable = { modify_europeanism_target = DEN } europeanism_change = yes ai_chance = { base = 0.5 } } } # NO to Euro country_event = { id = denmark.48 title = denmark.48.t desc = denmark.48.d picture = GFX_typhoon is_triggered_only = yes fire_only_once = yes #accept resulst option = { name = denmark.48.a log = "[GetDateText]: [This.GetName]: denmark.48.a executed" add_political_power = -50 add_stability = -0.01 remove_ideas = DEN_euro_question_idea set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 0.5 } } #don´t accept option = { name = denmark.48.b log = "[GetDateText]: [This.GetName]: denmark.48.b executed" add_political_power = -100 add_stability = -0.02 remove_ideas = DEN_euro_question_idea set_temp_variable = { party_popularity_increase = -0.04 } change_relative_party_popularity = yes set_temp_variable = { modify_europeanism = 0.05 } set_temp_variable = { modify_europeanism_target = DEN } europeanism_change = yes set_country_flag = DEN_accept ai_chance = { base = 0.5 } } } # Status of Ertholemene country_event = { id = denmark.100 title = denmark.100.t desc = denmark.100.d picture = GFX_politics_cut_taxes is_triggered_only = yes fire_only_once = yes option = { name = denmark.100.a log = "[GetDateText]: [THIS.GetName]: denmark.100.a executed" add_stability = 0.04 set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes ai_chance = { base = 0.5 } } option = { name = denmark.100.b log = "[GetDateText]: [THIS.GetName]: denmark.100.b executed" add_political_power = 100 increase_centralization = yes ai_chance = { base = 0.5 } } } #agrar country_event = { id = denmark_agrar_event.10 title = { trigger = { check_variable = { DEN_agrar_event_tier = 10 } } text = denmark_agrar_event.10.t } title = { trigger = { check_variable = { DEN_agrar_event_tier = 11 } } text = denmark_agrar_event.11.t } title = { trigger = { check_variable = { DEN_agrar_event_tier = 12 } } text = denmark_agrar_event.12.t } title = { trigger = { check_variable = { DEN_agrar_event_tier = 13 } } text = denmark_agrar_event.13.t } title = { trigger = { check_variable = { DEN_agrar_event_tier = 14 } } text = denmark_agrar_event.14.t } title = { trigger = { NOT = { OR = { check_variable = { DEN_agrar_event_tier = 10 } check_variable = { DEN_agrar_event_tier = 11 } check_variable = { DEN_agrar_event_tier = 12 } check_variable = { DEN_agrar_event_tier = 13 } check_variable = { DEN_agrar_event_tier = 14 } } } } text = denmark_agrar_event.10.other_t } desc = { trigger = { check_variable = { DEN_agrar_event_tier = 10 } } text = denmark_agrar_event.10.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier = 11 } } text = denmark_agrar_event.11.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier = 12 } } text = denmark_agrar_event.12.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier = 13 } } text = denmark_agrar_event.13.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier = 14 } } text = denmark_agrar_event.14.d } desc = { trigger = { NOT = { OR = { check_variable = { DEN_agrar_event_tier = 10 } check_variable = { DEN_agrar_event_tier = 11 } check_variable = { DEN_agrar_event_tier = 12 } check_variable = { DEN_agrar_event_tier = 13 } check_variable = { DEN_agrar_event_tier = 14 } } } } text = denmark_agrar_event.10.other_d } picture = GFX_politics_protest is_triggered_only = yes option = { name = denmark_agrar_event.10.a log = "[GetDateText]: [This.GetName]: denmark_agrar_event.10.a executed" if = { limit = { check_variable = { DEN_agrar_event_tier = 11 } } add_popularity = { ideology = neutrality popularity = 0.02 } add_timed_idea = { idea = DEN_peaceful_protests days = 90 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier = 12 } } add_popularity = { ideology = neutrality popularity = 0.03 } add_timed_idea = { idea = DEN_protests days = 90 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier = 13 } } add_popularity = { ideology = nationalist popularity = 0.04 } add_timed_idea = { idea = DEN_harsh_protests days = 90 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier = 14 } } add_popularity = { ideology = neutrality popularity = 0.05 } add_timed_idea = { idea = DEN_harsh_protests days = 90 } DEN_agrar_damage_buildings = yes add_stability = -0.05 add_manpower = -5 } else = { add_popularity = { ideology = neutrality popularity = 0.01 } } recalculate_party = yes clear_variable = DEN_agrar_event_tier clr_country_flag = DEN_agrar_event_pending ai_chance = { base = 1 } } } country_event = { id = denmark_agrar_event.15 title = { trigger = { check_variable = { DEN_agrar_event_tier_II = 15 } } text = denmark_agrar_event.15.t } title = { trigger = { check_variable = { DEN_agrar_event_tier_II = 16 } } text = denmark_agrar_event.16.t } title = { trigger = { check_variable = { DEN_agrar_event_tier_II = 17 } } text = denmark_agrar_event.17.t } title = { trigger = { check_variable = { DEN_agrar_event_tier_II = 18 } } text = denmark_agrar_event.18.t } title = { trigger = { check_variable = { DEN_agrar_event_tier_II = 19 } } text = denmark_agrar_event.19.t } title = { trigger = { NOT = { OR = { check_variable = { DEN_agrar_event_tier_II = 15 } check_variable = { DEN_agrar_event_tier_II = 16 } check_variable = { DEN_agrar_event_tier_II = 17 } check_variable = { DEN_agrar_event_tier_II = 18 } check_variable = { DEN_agrar_event_tier_II = 19 } } } } text = denmark_agrar_event.15.other_t } desc = { trigger = { check_variable = { DEN_agrar_event_tier_II = 15 } } text = denmark_agrar_event.15.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier_II = 16 } } text = denmark_agrar_event.16.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier_II = 17 } } text = denmark_agrar_event.17.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier_II = 18 } } text = denmark_agrar_event.18.d } desc = { trigger = { check_variable = { DEN_agrar_event_tier_II = 19 } } text = denmark_agrar_event.19.d } desc = { trigger = { NOT = { OR = { check_variable = { DEN_agrar_event_tier_II = 15 } check_variable = { DEN_agrar_event_tier_II = 16 } check_variable = { DEN_agrar_event_tier_II = 17 } check_variable = { DEN_agrar_event_tier_II = 18 } check_variable = { DEN_agrar_event_tier_II = 19 } } } } text = denmark_agrar_event.15.other_d } picture = GFX_politics_protest is_triggered_only = yes option = { name = denmark_agrar_event.15.a log = "[GetDateText]: [This.GetName]: denmark_agrar_event.15.a executed" if = { limit = { check_variable = { DEN_agrar_event_tier_II = 16 } } add_popularity = { ideology = nationalist popularity = 0.02 } add_timed_idea = { idea = DEN_peaceful_protests days = 90 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier_II = 17 } } add_popularity = { ideology = nationalist popularity = 0.03 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier_II = 18 } } add_popularity = { ideology = nationalist popularity = 0.04 } add_timed_idea = { idea = DEN_protests days = 90 } } else_if = { limit = { check_variable = { DEN_agrar_event_tier_II = 19 } } add_popularity = { ideology = nationalist popularity = 0.05 } add_timed_idea = { idea = DEN_harsh_protests days = 90 } DEN_agrar_damage_buildings = yes add_manpower = -5 add_stability = -0.05 } else = { add_popularity = { ideology = nationalist popularity = 0.02 } } recalculate_party = yes clear_variable = DEN_agrar_event_tier_II clr_country_flag = DEN_agrar_event_pending_II ai_chance = { base = 1 } } } ### Novo Nordisk Corporate History ### country_event = { id = denmark.310 title = denmark.310.t desc = denmark.310.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = DEN_novo_analogue_bet } NOT = { has_country_flag = DEN_novo_human_insulin } } option = { name = denmark.310.a log = "[GetDateText]: [Root.GetName]: denmark.310.a executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = denmark.310.t bonus = 0.15 uses = 1 category = CAT_genes } set_country_flag = DEN_novo_analogue_bet ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = denmark.310.b log = "[GetDateText]: [Root.GetName]: denmark.310.b executed" add_political_power = 20 set_country_flag = DEN_novo_human_insulin ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = denmark.311 title = denmark.311.t desc = denmark.311.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = DEN_novo_glp1_programme } NOT = { has_country_flag = DEN_novo_insulin_only } } option = { name = denmark.311.a log = "[GetDateText]: [Root.GetName]: denmark.311.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = denmark.311.t bonus = 0.15 uses = 1 category = CAT_genes } set_country_flag = DEN_novo_glp1_programme ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = denmark.311.b log = "[GetDateText]: [Root.GetName]: denmark.311.b executed" add_political_power = 20 set_country_flag = DEN_novo_insulin_only ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = denmark.312 title = denmark.312.t desc = denmark.312.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = DEN_novo_pricing_discipline } NOT = { has_country_flag = DEN_novo_rebate_ladder } } option = { name = denmark.312.a log = "[GetDateText]: [Root.GetName]: denmark.312.a executed" add_political_power = 25 set_country_flag = DEN_novo_pricing_discipline ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = denmark.312.b log = "[GetDateText]: [Root.GetName]: denmark.312.b executed" set_temp_variable = { treasury_change = 4.00 } modify_treasury_effect = yes set_country_flag = DEN_novo_rebate_ladder ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = denmark.313 title = denmark.313.t desc = denmark.313.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = DEN_novo_obesity_indication } NOT = { has_country_flag = DEN_novo_diabetes_only } } option = { name = denmark.313.a log = "[GetDateText]: [Root.GetName]: denmark.313.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = denmark.313.t bonus = 0.15 uses = 1 category = CAT_genes } set_country_flag = DEN_novo_obesity_indication ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = denmark.313.b log = "[GetDateText]: [Root.GetName]: denmark.313.b executed" add_political_power = 20 set_country_flag = DEN_novo_diabetes_only ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = denmark.314 title = denmark.314.t desc = denmark.314.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = DEN_novo_owns_capacity } NOT = { has_country_flag = DEN_novo_contract_fill } } option = { name = denmark.314.a log = "[GetDateText]: [Root.GetName]: denmark.314.a executed" set_temp_variable = { treasury_change = -9.00 } modify_treasury_effect = yes add_tech_bonus = { name = denmark.314.t bonus = 0.15 uses = 1 category = CAT_industry } set_country_flag = DEN_novo_owns_capacity ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = denmark.314.b log = "[GetDateText]: [Root.GetName]: denmark.314.b executed" add_political_power = 20 set_country_flag = DEN_novo_contract_fill ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = denmark.315 title = denmark.315.t desc = denmark.315.d picture = GFX_generic_factory is_triggered_only = yes trigger = { DEN_novo_outcome_settled = no } option = { name = denmark.315.a trigger = { has_country_flag = DEN_novo_pricing_discipline has_country_flag = DEN_novo_owns_capacity } log = "[GetDateText]: [Root.GetName]: denmark.315.a executed" effect_tooltip = { add_ideas = DEN_novo_pharmaceutical_powerhouse } hidden_effect = { DEN_novo_apply_pharmaceutical_powerhouse = yes } ai_chance = { base = 100 } } option = { name = denmark.315.b trigger = { has_country_flag = DEN_novo_pricing_discipline NOT = { has_country_flag = DEN_novo_owns_capacity } } log = "[GetDateText]: [Root.GetName]: denmark.315.b executed" effect_tooltip = { add_timed_idea = { idea = DEN_novo_premium_originator days = 365 } } hidden_effect = { DEN_novo_apply_premium_originator = yes } ai_chance = { base = 100 } } option = { name = denmark.315.c trigger = { NOT = { has_country_flag = DEN_novo_pricing_discipline } has_country_flag = DEN_novo_owns_capacity } log = "[GetDateText]: [Root.GetName]: denmark.315.c executed" effect_tooltip = { add_timed_idea = { idea = DEN_novo_volume_manufacturer days = 365 } } hidden_effect = { DEN_novo_apply_volume_manufacturer = yes } ai_chance = { base = 100 } } option = { name = denmark.315.e trigger = { NOT = { has_country_flag = DEN_novo_pricing_discipline } NOT = { has_country_flag = DEN_novo_owns_capacity } } log = "[GetDateText]: [Root.GetName]: denmark.315.e executed" effect_tooltip = { add_timed_idea = { idea = DEN_novo_licensed_innovator days = 365 } } hidden_effect = { DEN_novo_apply_licensed_innovator = yes } ai_chance = { base = 100 } } }