# Author(s): AngriestBird, Sheep, Fire Hair, Anakin, Borgers DEN_colonial_separatism_category = { develop_infrastructure_kitaa = { cost = 25 icon = GFX_decision_generic_construction days_remove = 30 available = { has_manpower > 199 } visible = { 1161 = { infrastructure < 5 } controls_state = 1161 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision develop_infrastructure_kitaa" 1161 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_manpower = -200 set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } develop_infrastructure_tunu = { icon = GFX_decision_generic_construction cost = 25 days_remove = 30 available = { has_manpower > 199 } visible = { 1162 = { infrastructure < 5 } controls_state = 1162 } complete_effect = { log = "[GetDateText]: [This.GetName]: decision develop_infrastructure_tunu executed" 1162 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_manpower = -200 set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } develop_infrastructure_faeroerne = { icon = GFX_decision_generic_construction cost = 25 days_remove = 30 available = { has_manpower > 199 } visible = { 2 = { infrastructure < 5 } controls_state = 2 } complete_effect = { log = "[GetDateText]: [This.GetName]: decision develop_infrastructure_faeroerne executed" 2 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_manpower = -200 set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } develop_oil_greenland = { icon = oil cost = 50 days_remove = 40 available = { has_manpower > 399 } visible = { controls_state = 1 1 = { oil < 30 infrastructure > 4 } } complete_effect = { log = "[GetDateText]: [This.GetName]: decision develop_oil_greenland executed" 1 = { add_resource = { type = oil amount = 5 } } add_manpower = -400 set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } develop_resources_faeroerne = { icon = GFX_decision_generic_construction cost = 50 days_remove = 40 available = { has_manpower > 399 } visible = { 2 = { infrastructure > 4 steel < 10 } controls_state = 2 } complete_effect = { log = "[GetDateText]: [This.GetName]: decision develop_resources_faeroerne executed" 2 = { add_resource = { type = steel amount = 2 } } add_manpower = -400 set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } develop_resources_greenland = { icon = GFX_decision_generic_construction cost = 50 days_remove = 50 available = { has_manpower > 399 } visible = { 1 = { infrastructure > 4 aluminium < 10 } controls_state = 1 } complete_effect = { log = "[GetDateText]: [This.GetName]: decision develop_resources_greenland executed" 1 = { add_resource = { type = tungsten amount = 1 } add_resource = { type = aluminium amount = 1 } } add_manpower = -400 set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 1 } } } DEN_decision_danish_revolutionary_thought = { spread_communism_sweden = { icon = GFX_decision_eng_propaganda_campaigns cost = 50 days_remove = 30 visible = { country_exists = SWE SWE = { emerging_communist_state_are_in_power = no } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision spread_communism_sweden" SWE = { DEN_spread_nordic_communism = yes } } ai_will_do = { base = 0 } } spread_communism_norway = { icon = GFX_decision_eng_propaganda_campaigns cost = 50 days_remove = 30 visible = { country_exists = NRY NRY = { emerging_communist_state_are_in_power = no } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision spread_communism_norway" NRY = { DEN_spread_nordic_communism = yes } } ai_will_do = { base = 0 } } spread_communism_finland = { icon = GFX_decision_eng_propaganda_campaigns cost = 75 days_remove = 40 visible = { country_exists = FIN FIN = { emerging_communist_state_are_in_power = no } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision spread_communism_finland" FIN = { DEN_spread_nordic_communism = yes } } ai_will_do = { base = 0 } } spread_communism_iceland = { icon = GFX_decision_eng_propaganda_campaigns cost = 25 days_remove = 20 visible = { country_exists = ICE ICE = { emerging_communist_state_are_in_power = no } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision spread_communism_iceland" ICE = { DEN_spread_nordic_communism = yes } } ai_will_do = { base = 0 } } } DEN_urban_development_fund_category = { DEN_expand_resources_of_the_fund = { icon = GFX_decision_eng_trade_unions_support days_remove = 90 days_re_enable = 30 custom_cost_trigger = { check_variable = { treasury > 9.99 } } custom_cost_text = cost_10_0 available = { NOT = { has_active_mission = bankruptcy_incoming_collapse } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_expand_resources_of_the_fund" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes set_temp_variable = { temp_change = 10 } modify_urban_development_fund_effect = yes } ai_will_do = { base = 0.01 modifier = { factor = 10 check_variable = { treasury > 10 } } } } DEN_population_initiatives_decision = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 90 days_re_enable = 30 available = { NOT = { has_active_mission = bankruptcy_incoming_collapse } custom_trigger_tooltip = { check_variable = { DEN.DEN_urban_development_fund_value > 4.99 } tooltip = DEN_urban_development_funds_greater_than_TT } } modifier = { monthly_population = 0.15 } complete_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_population_initiatives_decision executed" set_temp_variable = { temp_change = -5 } modify_urban_development_fund_effect = yes } ai_will_do = { base = 1 modifier = { check_variable = { interest_rate < 10 } factor = 2.5 } } } DEN_local_construction_initiatives_decision = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 90 days_re_enable = 30 state_target = yes on_map_mode = map_and_decisions_view target_array = DEN.core_states target_trigger = { FROM = { NOT = { has_dynamic_modifier = { modifier = DEN_local_construction_initiatives_modifier } } } } target_root_trigger = { NOT = { has_active_mission = bankruptcy_incoming_collapse } check_variable = { DEN.DEN_urban_development_fund_value > 4.99 } } available = { NOT = { has_active_mission = bankruptcy_incoming_collapse } custom_trigger_tooltip = { check_variable = { DEN.DEN_urban_development_fund_value > 4.99 } tooltip = DEN_urban_development_funds_greater_than_TT } } complete_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_local_construction_initiatives_decision executed" set_temp_variable = { temp_change = -5 } modify_urban_development_fund_effect = yes FROM = { add_dynamic_modifier = { modifier = DEN_local_construction_initiatives_modifier days = 120 } } } ai_will_do = { base = 1 } } DEN_local_renewable_investment_decision = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 90 days_re_enable = 30 state_target = yes on_map_mode = map_and_decisions_view target_array = DEN.core_states target_trigger = { FROM = { NOT = { has_state_flag = DEN_invested_in_renewables_flag } NOT = { has_dynamic_modifier = { modifier = DEN_local_construction_renewable_initiatives_modifier } } } } target_root_trigger = { NOT = { has_active_mission = bankruptcy_incoming_collapse } check_variable = { DEN.DEN_urban_development_fund_value > 4.99 } } available = { NOT = { has_active_mission = bankruptcy_incoming_collapse } custom_trigger_tooltip = { check_variable = { DEN.DEN_urban_development_fund_value > 4.99 } tooltip = DEN_urban_development_funds_greater_than_TT } } complete_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_local_renewable_investment_decision executed" set_temp_variable = { temp_change = -5 } modify_urban_development_fund_effect = yes FROM = { set_state_flag = DEN_invested_in_renewables_flag add_dynamic_modifier = { modifier = DEN_local_construction_renewable_initiatives_modifier days = 120 } } } ai_will_do = { base = 1 } } } DEN_Danish_Defence_Force = { DEN_Dental_Plan = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_The_Defence_Dental_Plan } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Dental_Plan" set_country_flag = DEN_The_Defence_Dental_Plan custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_org_factor = 0.10 tooltip = army_org_factor_tt } } ai_will_do = { base = 1 } } DEN_Civilian_Education = { icon = GFX_decision_SOV_place_hq cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_Civilian_Education } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Civilian_Education" set_country_flag = DEN_Civilian_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.05 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } } ai_will_do = { base = 1 } } DEN_Regimental_Doctors = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_Regimental_Doctors } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Regimental_Doctors" set_country_flag = DEN_Regimental_Doctors custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_morale = 0.10 tooltip = army_morale_factor_tt } } ai_will_do = { base = 1 } } DEN_Theoretical_Officer_Education = { icon = GFX_decision_generic_operation cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_Theoretical_Officer_Education } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Theoretical_Officer_Education" set_country_flag = DEN_Theoretical_Officer_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.05 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_command_power_gain = 0.10 tooltip = command_power_gain_tt } add_to_variable = { DEN_army_max_planning = 0.10 tooltip = max_planning_factor_tt } add_to_variable = { DEN_army_planning_speed = -0.10 tooltip = planning_speed_factor_tt } } ai_will_do = { base = 1 } } DEN_Reform_The_NCO_Education = { icon = GFX_decision_generic_break_treaty cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_Reform_The_NCO_Education } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Reform_The_NCO_Education " set_country_flag = DEN_Reform_The_NCO_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_conscription_factor = -0.10 tooltip = conscription_factor_tt } add_to_variable = { DEN_army_supply_factor = -0.05 tooltip = supply_factor_tt } } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay = { icon = GFX_decision_generic_fundraising cost = 50 days_remove = 30 visible = { NOT = { OR = { has_country_flag = DEN_Increase_Soldiers_Pay has_country_flag = DEN_Increase_Soldiers_Pay2 has_country_flag = DEN_Increase_Soldiers_Pay3 } } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Increase_Soldiers_Pay" set_country_flag = DEN_Increase_Soldiers_Pay DEN_soldiers_pay_bonus = yes } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay2 = { icon = GFX_decision_generic_fundraising cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Increase_Soldiers_Pay NOT = { has_country_flag = DEN_Increase_Soldiers_Pay2 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Increase_Soldiers_Pay2 " set_country_flag = DEN_Increase_Soldiers_Pay2 clr_country_flag = DEN_Increase_Soldiers_Pay DEN_soldiers_pay_bonus = yes } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay3 = { icon = GFX_decision_generic_fundraising cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Increase_Soldiers_Pay2 NOT = { has_country_flag = DEN_Increase_Soldiers_Pay3 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Increase_Soldiers_Pay3 " set_country_flag = DEN_Increase_Soldiers_Pay3 clr_country_flag = DEN_Increase_Soldiers_Pay2 DEN_soldiers_pay_bonus = yes } ai_will_do = { base = 1 } } DEN_Professional_Soldier_Education = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { NOT = { has_country_flag = DEN_Professional_Soldier_Education } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Professional_Soldier_Education " set_country_flag = DEN_Professional_Soldier_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_training_time_factor = 0.15 tooltip = training_time_factor_tt } add_to_variable = { DEN_army_max_dig_in = 0.2 tooltip = max_dig_in_tt } add_to_variable = { DEN_army_dig_in_speed_factor = 0.1 tooltip = dig_in_speed_factor_tt } add_to_variable = { DEN_no_supply_grace = 50 tooltip = no_supply_grace_tt } } ai_will_do = { base = 1 } } #Removal DEN_Dental_Plan_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_The_Defence_Dental_Plan } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Dental_Plan_Removal" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = -0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_org_factor = -0.10 tooltip = army_org_factor_tt } clr_country_flag = DEN_The_Defence_Dental_Plan } ai_will_do = { base = 1 } } DEN_Civilian_Education_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Civilian_Education } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Civilian_Education_Removal " clr_country_flag = DEN_Civilian_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = -0.05 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_conscription_factor = -0.05 tooltip = conscription_factor_tt } } ai_will_do = { base = 1 } } DEN_Regimental_Doctors_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Regimental_Doctors } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Regimental_Doctors_Removal " clr_country_flag = DEN_Regimental_Doctors clr_country_flag = DEN_Civilian_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = -0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_morale = -0.10 tooltip = army_morale_factor_tt } } ai_will_do = { base = 1 } } DEN_Theoretical_Officer_Education_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Theoretical_Officer_Education } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Theoretical_Officer_Education_Removal" clr_country_flag = DEN_Theoretical_Officer_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = -0.05 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_command_power_gain = -0.10 tooltip = command_power_gain_tt } add_to_variable = { DEN_army_max_planning = -0.10 tooltip = max_planning_factor_tt } add_to_variable = { DEN_army_planning_speed = 0.10 tooltip = planning_speed_factor_tt } } ai_will_do = { base = 1 } } DEN_Reform_The_NCO_Education_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Reform_The_NCO_Education } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Reform_The_NCO_Education_Removal " clr_country_flag = DEN_Reform_The_NCO_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = 0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_army_conscription_factor = 0.10 tooltip = conscription_factor_tt } add_to_variable = { DEN_army_supply_factor = 0.05 tooltip = supply_factor_tt } } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Increase_Soldiers_Pay } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Increase_Soldiers_Pay_Removal" clr_country_flag = DEN_Increase_Soldiers_Pay DEN_soldiers_pay_removal = yes } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay_Removal2 = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Increase_Soldiers_Pay2 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Increase_Soldiers_Pay_Removal2 " clr_country_flag = DEN_Increase_Soldiers_Pay2 set_country_flag = DEN_Increase_Soldiers_Pay DEN_soldiers_pay_removal = yes } ai_will_do = { base = 1 } } DEN_Increase_Soldiers_Pay_Removal3 = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Increase_Soldiers_Pay3 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Increase_Soldiers_Pay_Removal3 " clr_country_flag = DEN_Increase_Soldiers_Pay3 set_country_flag = DEN_Increase_Soldiers_Pay2 DEN_soldiers_pay_removal = yes } ai_will_do = { base = 1 } } DEN_Professional_Soldier_Education_Removal = { icon = GFX_decision_eng_trade_unions_support cost = 50 days_remove = 30 visible = { has_country_flag = DEN_Professional_Soldier_Education } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decisions DEN_Professional_Soldier_Education_Removal " clr_country_flag = DEN_Professional_Soldier_Education custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = DEN_army_dynamic_modifier } add_to_variable = { DEN_army_personnel_cost_multiplier_modifier = -0.02 tooltip = army_personnel_cost_multiplier_modifier_tt } add_to_variable = { DEN_training_time_factor = -0.15 tooltip = training_time_factor_tt } add_to_variable = { DEN_army_max_dig_in = -0.2 tooltip = max_dig_in_tt } add_to_variable = { DEN_army_dig_in_speed_factor = -0.1 tooltip = dig_in_speed_factor_tt } add_to_variable = { DEN_no_supply_grace = -50 tooltip = no_supply_grace_tt } } ai_will_do = { base = 1 } } } DEN_generic_danish_political_decisions_category = { # Intensify the Flexicurity Model DEN_rollback_flexicurity_model_improvements_decision = { icon = GFX_decision_generic_break_treaty visible = { has_idea = DEN_intensify_the_flexicurity_idea } cost = 50 days_remove = 90 remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_rollback_flexicurity_model_improvements_decision executed" remove_ideas = DEN_intensify_the_flexicurity_idea } ai_will_do = { base = 1 modifier = { factor = 2.5 check_variable = { interest_rate > 9.99 } } } } } DEN_visitdenmark_category = { DEN_TV_campaign = { icon = GFX_decision_generic_brainwash available = { DEN_no_active_visit_campaign = yes } fire_only_once = no cost = 15 days_remove = 180 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_TV_campaign" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.003 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_TV_campaign executed" custom_effect_tooltip = DEN_TV_campaign_tt hidden_effect = { set_temp_variable = { treasury_change = gdp_total } random_list = { 20 = { multiply_temp_variable = { treasury_change = 0.005 } } 20 = { multiply_temp_variable = { treasury_change = 0.004 } } 40 = { multiply_temp_variable = { treasury_change = 0.003 } } 20 = { multiply_temp_variable = { treasury_change = 0.001 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Print_campaign = { icon = GFX_decision_syr_self_button available = { DEN_no_active_visit_campaign = yes } fire_only_once = no cost = 15 days_remove = 180 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Print_campaign" set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.002 } } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Print_campaign executed" custom_effect_tooltip = DEN_Print_campaign_tt hidden_effect = { set_temp_variable = { treasury_change = gdp_total } random_list = { 10 = { multiply_temp_variable = { treasury_change = 0.004 } } 35 = { multiply_temp_variable = { treasury_change = 0.003 } } 30 = { multiply_temp_variable = { treasury_change = 0.002 } } 25 = { multiply_temp_variable = { treasury_change = 0.001 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_socialmedia_campaign = { icon = GFX_decision_generic_brainwash available = { DEN_no_active_visit_campaign = yes } fire_only_once = no cost = 15 days_remove = 180 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_socialmedia_campaign" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_socialmedia_campaign executed" custom_effect_tooltip = DEN_socialmedia_campaign_tt hidden_effect = { set_temp_variable = { treasury_change = gdp_total } random_list = { 25 = { multiply_temp_variable = { treasury_change = 0.005 } } 45 = { multiply_temp_variable = { treasury_change = 0.003 } } 15 = { multiply_temp_variable = { treasury_change = 0.002 } } 15 = { multiply_temp_variable = { treasury_change = 0.001 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_controversal_campaign = { icon = GFX_decision_eng_propaganda_campaigns available = { DEN_no_active_visit_campaign = yes } fire_only_once = no cost = 15 days_remove = 180 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_controversal_campaign" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.001 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_controversal_campaign executed" custom_effect_tooltip = DEN_controversal_campaign_tt hidden_effect = { set_temp_variable = { treasury_change = gdp_total } random_list = { 40 = { multiply_temp_variable = { treasury_change = 0.005 } } 15 = { multiply_temp_variable = { treasury_change = 0.004 } } 15 = { multiply_temp_variable = { treasury_change = 0.002 } } 30 = { multiply_temp_variable = { treasury_change = 0.001 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } } DEN_euro_question_decisions_category = { DEN_euro_referendum_decision = { icon = GFX_decision_generic_eurozone cost = 50 days_remove = 30 visible = { has_idea = DEN_euro_question_idea } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_euro_referendum_decision executed" country_event = { id = denmark.46 days = 1 } } ai_will_do = { base = 1 } } DEN_Increase_Eurosceptism_decision = { icon = GFX_decision_generic_eurozone cost = 50 days_remove = 30 visible = { has_idea = DEN_euro_question_idea } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Increase_Eurosceptism_decision executed" set_temp_variable = { modify_europeanism = -0.05 } set_temp_variable = { modify_europeanism_target = ROOT } europeanism_change = yes } ai_will_do = { base = 0 } } DEN_downcrease_Eurosceptism_decision = { icon = GFX_decision_generic_eurozone cost = 50 days_remove = 30 visible = { has_idea = DEN_euro_question_idea } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_downcrease_Eurosceptism_decision executed" set_temp_variable = { modify_europeanism = 0.05 } set_temp_variable = { modify_europeanism_target = ROOT } europeanism_change = yes } ai_will_do = { base = 1 } } DEN_Bad_Bank_decision = { icon = GFX_decision_generic_eurozone cost = 75 days_remove = 365 days_re_enable = 90 visible = { has_idea = DEN_euro_question_idea } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Bad_Bank_decision" log = "[GetDateText]: [This.GetName]: decision DEN_Bad_Bank_decision executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.02 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = treasury_change } multiply_temp_variable = { int_investment_change = -0.25 } modify_international_investment_effect = yes set_temp_variable = { debt_change = debt } multiply_temp_variable = { debt_change = -0.07 } modify_debt_effect = yes } ai_will_do = { base = 1 } } DEN_Bad_Bank_EZB_decision = { icon = GFX_decision_generic_eurozone cost = 75 days_remove = 365 days_re_enable = 90 visible = { has_idea = DEN_euro_question_idea } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Bad_Bank_EZB_decision" log = "[GetDateText]: [This.GetName]: decision DEN_Bad_Bank_EZB_decision executed" set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.03 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = treasury_change } multiply_temp_variable = { int_investment_change = -0.28 } modify_international_investment_effect = yes set_temp_variable = { debt_change = debt } multiply_temp_variable = { debt_change = -0.08 } modify_debt_effect = yes } ai_will_do = { base = 1 } } } DEN_decision_Investments_Global = { DEN_Maersk_Invest = { icon = generic_prepare_civil_war targets = { all_countries } target_root_trigger = { original_tag = DEN has_completed_focus = DEN_Logistic_Global_Investments } target_trigger = { FROM = { NOT = { has_war_with = ROOT } NOT = { has_country_flag = DEN_Investments } has_stability > 0.15 check_variable = { num_of_naval_factories > 2 } check_variable = { gdp_per_capita > 5.500 } check_variable = { gdp_total > 100.00 } custom_trigger_tooltip = { tooltip = DEN_INVEST_TRADE_LINK_TT OR = { has_country_flag = trade_agreement@ROOT has_country_flag = mutual_investment_treaty_@ROOT } } } has_opinion = { target = FROM value > 5 } } cost = 50 days_re_enable = 365 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Maersk_Invest" FROM = { set_country_flag = DEN_Investments set_temp_variable = { percent_change = 2.1 } change_influence_percentage = yes set_temp_variable = { treasury_change = FROM.gdp_per_capita } multiply_temp_variable = { treasury_change = 0.28 } modify_treasury_effect = yes custom_effect_tooltip = DEN_Maersk_TT hidden_effect = { if = { limit = { NOT = { any_owned_state = { dockyard > 0 free_building_slots = { building = dockyard size > 2 include_locked = yes } } } any_owned_state = { is_coastal = yes free_building_slots = { building = dockyard size > 2 include_locked = yes } } } random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 2 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } else_if = { limit = { any_owned_state = { dockyard > 0 free_building_slots = { building = dockyard size > 1 include_locked = yes } } } random_owned_controlled_state = { limit = { dockyard > 0 free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } else_if = { limit = { NOT = { any_owned_state = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } } } random_controlled_state = { limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } } ROOT = { set_temp_variable = { treasury_change = -7.50 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = FROM.gdp_per_capita } multiply_temp_variable = { int_investment_change = 0.34 } modify_international_investment_effect = yes set_temp_variable = { debt_change = FROM.gdp_per_capita } multiply_temp_variable = { debt_change = 0.31 } modify_debt_effect = yes } } ai_will_do = { base = 1 } } DEN_DSV_Invest = { icon = generic_prepare_civil_war targets = { all_countries } target_root_trigger = { original_tag = DEN has_completed_focus = DEN_Logistic_Global_Investments } target_trigger = { FROM = { NOT = { has_war_with = ROOT } NOT = { has_country_flag = DEN_Investments } has_stability > 0.15 check_variable = { gdp_total > 100.00 } check_variable = { gdp_per_capita > 20.500 } check_variable = { num_of_civilian_factories > 5 } custom_trigger_tooltip = { tooltip = DEN_INVEST_TRADE_LINK_TT OR = { has_country_flag = trade_agreement@ROOT has_country_flag = mutual_investment_treaty_@ROOT } } } has_opinion = { target = FROM value > 5 } } cost = 50 days_re_enable = 365 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_DSV_Invest" FROM = { set_country_flag = DEN_Investments set_temp_variable = { percent_change = 1.9 } change_influence_percentage = yes set_temp_variable = { treasury_change = FROM.gdp_per_capita } multiply_temp_variable = { treasury_change = 0.28 } modify_treasury_effect = yes custom_effect_tooltip = DEN_DSV_TT hidden_effect = { random_list = { 35 = { if = { limit = { NOT = { any_owned_state = { air_base > 0 free_building_slots = { building = air_base size > 0 } } } any_owned_state = { is_coastal = yes } } random_owned_controlled_state = { limit = { free_building_slots = { building = air_base size > 2 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = air_base level = 1 instant_build = yes } } } else_if = { limit = { any_owned_state = { air_base > 0 free_building_slots = { building = air_base size > 1 } } } random_owned_controlled_state = { limit = { air_base > 0 free_building_slots = { building = air_base size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = air_base level = 1 instant_build = yes } } } else_if = { limit = { NOT = { any_owned_state = { free_building_slots = { building = air_base size > 1 } } } } random_controlled_state = { limit = { free_building_slots = { building = air_base size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = air_base level = 1 instant_build = yes } } } } 30 = { if = { limit = { NOT = { any_owned_state = { infrastructure > 0 free_building_slots = { building = infrastructure size > 0 } } } any_owned_state = { is_coastal = yes } } random_owned_controlled_state = { limit = { free_building_slots = { building = infrastructure size > 2 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } else_if = { limit = { any_owned_state = { infrastructure > 0 free_building_slots = { building = infrastructure size > 1 } } } random_owned_controlled_state = { limit = { infrastructure > 0 free_building_slots = { building = infrastructure size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } else_if = { limit = { NOT = { any_owned_state = { free_building_slots = { building = infrastructure size > 1 } } } } random_controlled_state = { limit = { free_building_slots = { building = infrastructure size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } 35 = { if = { limit = { NOT = { any_owned_state = { renewable_energy_infra > 0 free_building_slots = { building = renewable_energy_infra size > 0 } } } any_owned_state = { is_coastal = yes } } random_owned_controlled_state = { limit = { free_building_slots = { building = renewable_energy_infra size > 2 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } } else_if = { limit = { any_owned_state = { renewable_energy_infra > 0 free_building_slots = { building = renewable_energy_infra size > 1 } } } random_owned_controlled_state = { limit = { renewable_energy_infra > 0 free_building_slots = { building = renewable_energy_infra size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } } else_if = { limit = { NOT = { any_owned_state = { free_building_slots = { building = renewable_energy_infra size > 1 } } } } random_controlled_state = { limit = { free_building_slots = { building = renewable_energy_infra size > 1 } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = renewable_energy_infra level = 1 instant_build = yes } } } } } } } ROOT = { set_temp_variable = { treasury_change = -4.90 } modify_treasury_effect = yes set_temp_variable = { int_investment_change = FROM.gdp_per_capita } multiply_temp_variable = { int_investment_change = 0.34 } modify_international_investment_effect = yes set_temp_variable = { debt_change = FROM.gdp_per_capita } multiply_temp_variable = { debt_change = 0.31 } modify_debt_effect = yes } } ai_will_do = { base = 25 } } } DEN_decision_Agriculture = { DEN_Subventions_for_Grain_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Subventions_for_Grain_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.2 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_idea_Agriculture_II days = 365 } DEN_agri_subvention_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Subventions_for_Grain_decision executed" custom_effect_tooltip = DEN_Agriculture_subvention_TT add_stability = 0.03 hidden_effect = { set_temp_variable = { treasury_change = gdp_from_agriculture } random_list = { 40 = { multiply_temp_variable = { treasury_change = 0.5 } } 15 = { multiply_temp_variable = { treasury_change = 0.4 } } 15 = { multiply_temp_variable = { treasury_change = 0.2 } } 30 = { multiply_temp_variable = { treasury_change = 0.1 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Subventions_for_Pigs_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Subventions_for_Pigs_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.3 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_idea_Agriculture_II days = 365 } custom_effect_tooltip = DEN_agricultural_income DEN_agri_subvention_anger = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Subventions_for_Pigs_decision executed" custom_effect_tooltip = DEN_Agriculture_subvention_TT add_stability = 0.03 hidden_effect = { set_temp_variable = { treasury_change = gdp_from_agriculture } random_list = { 40 = { multiply_temp_variable = { treasury_change = 0.5 } } 15 = { multiply_temp_variable = { treasury_change = 0.4 } } 15 = { multiply_temp_variable = { treasury_change = 0.2 } } 30 = { multiply_temp_variable = { treasury_change = 0.1 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Subventions_for_Beef_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Subventions_for_Beef_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.4 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_idea_Agriculture_II days = 365 } DEN_agri_subvention_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Subventions_for_Beef_decision executed" custom_effect_tooltip = DEN_Agriculture_subvention_TT add_stability = 0.03 hidden_effect = { set_temp_variable = { treasury_change = gdp_from_agriculture } random_list = { 35 = { multiply_temp_variable = { treasury_change = 0.5 } } 25 = { multiply_temp_variable = { treasury_change = 0.4 } } 15 = { multiply_temp_variable = { treasury_change = 0.2 } } 25 = { multiply_temp_variable = { treasury_change = 0.1 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Subventions_for_Fishing_decision = { fixed_random_seed = no icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Subventions_for_Fishing_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.7 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_idea_Agriculture_II days = 365 } DEN_agri_subvention_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Subventions_for_Fishing_decision executed" custom_effect_tooltip = DEN_Agriculture_subvention_TT add_stability = 0.03 hidden_effect = { set_temp_variable = { treasury_change = gdp_from_agriculture } random_list = { 40 = { multiply_temp_variable = { treasury_change = 0.9 } } 15 = { multiply_temp_variable = { treasury_change = 0.46 } } 15 = { multiply_temp_variable = { treasury_change = 0.7 } } 30 = { multiply_temp_variable = { treasury_change = 0.3 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Request_Whine_grow_by_EU_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Request_Whine_grow_by_EU_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -1 } modify_treasury_effect = yes custom_effect_tooltip = DEN_wine_grow_tt set_temp_variable = { modify_farmer_anger = -5 } DEN_modify_farmer_anger = yes set_temp_variable = { modify_environmentalist_anger = -5 } DEN_modify_environmentalist_anger = yes } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Request_Whine_grow_by_EU_decision executed" custom_effect_tooltip = DEN_wine_grow_tt_II add_stability = 0.03 add_ideas = DEN_wineland hidden_effect = { set_temp_variable = { treasury_change = gdp_from_agriculture } random_list = { 40 = { multiply_temp_variable = { treasury_change = 2 } } 15 = { multiply_temp_variable = { treasury_change = 1.2 } } 15 = { multiply_temp_variable = { treasury_change = 0.8 } } 30 = { multiply_temp_variable = { treasury_change = 0.4 } } } modify_treasury_effect = yes } } ai_will_do = { base = 1 } } DEN_Reforestation_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Reforestation_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.2 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_a_green_initiative days = 365 } DEN_green_policy_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Reforestation_decision executed" custom_effect_tooltip = DEN_Envirement_subvention_TT add_stability = 0.03 hidden_effect = { DEN_conservation_policy_payout = yes } } ai_will_do = { base = 1 } } DEN_wildlife_conservation_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_wildlife_conservation_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.5 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_a_green_initiative days = 365 } DEN_green_policy_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_wildlife_conservation_decision executed" custom_effect_tooltip = DEN_Envirement_subvention_TT add_stability = 0.03 hidden_effect = { DEN_conservation_policy_payout = yes } } ai_will_do = { base = 1 } } DEN_water_conservation_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_water_conservation_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.3 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_a_green_initiative days = 365 } DEN_green_policy_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_water_conservation_decision executed" custom_effect_tooltip = DEN_Envirement_subvention_TT add_stability = 0.03 hidden_effect = { DEN_conservation_policy_payout = yes } } ai_will_do = { base = 1 } } DEN_marine_conservation_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 fixed_random_seed = yes available = { DEN_no_active_agri_policy = yes } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_marine_conservation_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.4 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_a_green_initiative days = 365 } DEN_green_policy_anger = yes custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_marine_conservation_decision executed" custom_effect_tooltip = DEN_Envirement_subvention_TT add_stability = 0.03 hidden_effect = { DEN_conservation_policy_payout = yes } } ai_will_do = { base = 1 } } DEN_Subventions_modernization_decision = { icon = GFX_decision_eng_trade_unions_support cost = 75 days_remove = 365 days_re_enable = 90 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_Subventions_modernization_decision" set_temp_variable = { treasury_change = gdp_from_agriculture } multiply_temp_variable = { treasury_change = -0.9 } modify_treasury_effect = yes add_timed_idea = { idea = DEN_idea_Agriculture_II days = 365 } custom_effect_tooltip = DEN_agricultural_income } remove_effect = { log = "[GetDateText]: [This.GetName]: decision DEN_Subventions_modernization_decision executed" set_temp_variable = { modify_farmer_anger = -6 } DEN_modify_farmer_anger = yes set_temp_variable = { modify_environmentalist_anger = -4 } DEN_modify_environmentalist_anger = yes } ai_will_do = { base = 1 } } } DEN_ai_path_category = { DEN_rally_the_monarchists = { cost = 25 days_re_enable = 30 visible = { has_global_flag = DEN_MONARCHIST_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^23 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_rally_the_monarchists" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } DEN_monarchists_take_the_country = { cost = 150 days_re_enable = 180 visible = { has_global_flag = DEN_MONARCHIST_FOCUS_PATH } available = { has_civil_war = no nationalist_monarchists_are_in_power = no check_variable = { party_pop_array^23 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_monarchists_take_the_country" set_temp_variable = { rul_party_temp = 23 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } DEN_rally_the_nationalists = { cost = 25 days_re_enable = 30 visible = { has_global_flag = DEN_NATIONALIST_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^20 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_rally_the_nationalists" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } DEN_nationalists_take_the_country = { cost = 150 days_re_enable = 180 visible = { has_global_flag = DEN_NATIONALIST_FOCUS_PATH } available = { has_civil_war = no nationalist_right_wing_populists_are_in_power = no check_variable = { party_pop_array^20 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_nationalists_take_the_country" set_temp_variable = { rul_party_temp = 20 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } DEN_rally_the_communists = { cost = 25 days_re_enable = 30 visible = { has_global_flag = DEN_SOCIALIST_FOCUS_PATH } available = { has_civil_war = no has_completed_focus = DEN_the_socialist_agenda check_variable = { party_pop_array^4 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_rally_the_communists" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } DEN_communists_take_the_country = { cost = 150 days_re_enable = 180 visible = { has_global_flag = DEN_SOCIALIST_FOCUS_PATH } available = { has_civil_war = no emerging_communist_state_are_in_power = no check_variable = { party_pop_array^4 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision DEN_communists_take_the_country" set_temp_variable = { rul_party_temp = 4 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } }