# Author(s): Angriest Bird NIG_religious_divide_decisions_category = { NIG_hold_off_on_conversion_decision = { icon = GFX_decision_SWI_dismiss_council available = { has_war = no has_stability < 0.40 } cost = 100 days_remove = 90 days_re_enable = 14 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_hold_off_on_conversion_decision" custom_effect_tooltip = NIG_hold_off_on_conversion_flag_set_TT } modifier = { stability_weekly = 0.0010 } remove_effect = { log = "[GetDateText]: [This.GetName]: decision NIG_hold_off_on_conversion_decision executed" custom_effect_tooltip = NIG_hold_off_on_conversion_flag_remove_TT } ai_will_do = { base = 0 modifier = { factor = 10 has_stability < 0.40 } modifier = { factor = 10 has_stability < 0.30 } modifier = { factor = 10 has_stability < 0.20 } modifier = { factor = 10 has_stability < 0.10 } modifier = { factor = 5 has_active_mission = NIG_religious_civil_war_mission } } } # Convert Biafra NIG_convert_state_332 = { icon = eng_blackshirt_march available = { has_war = no has_full_control_of_state = 332 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 100 days_remove = 100 highlight_states = { highlight_states_trigger = { state = 332 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } cancel_if_not_visible = yes fixed_random_seed = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_332" log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_332 executed" 332 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { #Peaceful Religious Conversion country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.032 } set_temp_variable = { temp_outlook_increase = 0.032 } change_relative_party_popularity = yes add_stability = -0.008 } } 50 = { #Non-Violent Protests country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.016 } set_temp_variable = { temp_outlook_increase = 0.016 } change_relative_party_popularity = yes add_stability = -0.016 } } 25 = { #Violent Protests/Death in the Provinces modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.008 } set_temp_variable = { temp_outlook_increase = 0.008 } change_relative_party_popularity = yes add_stability = -0.032 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_biafra } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_339 = { icon = eng_blackshirt_march available = { has_war = no has_full_control_of_state = 339 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 100 days_remove = 90 highlight_states = { highlight_states_trigger = { state = 339 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_339" log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_339 executed" 339 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.018 } set_temp_variable = { temp_outlook_increase = 0.018 } change_relative_party_popularity = yes add_stability = -0.004 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.009 } set_temp_variable = { temp_outlook_increase = 0.009 } change_relative_party_popularity = yes add_stability = -0.009 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.004 } set_temp_variable = { temp_outlook_increase = 0.004 } change_relative_party_popularity = yes add_stability = -0.036 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_kano } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_338 = { icon = eng_blackshirt_march available = { has_war = no has_full_control_of_state = 338 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 100 days_remove = 90 highlight_states = { highlight_states_trigger = { state = 338 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_338" log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_338 executed" 338 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.029 } set_temp_variable = { temp_outlook_increase = 0.029 } change_relative_party_popularity = yes add_stability = -0.007 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.014 } set_temp_variable = { temp_outlook_increase = 0.014 } change_relative_party_popularity = yes add_stability = -0.014 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.007 } set_temp_variable = { temp_outlook_increase = 0.007 } change_relative_party_popularity = yes add_stability = -0.029 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_sokoto } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_340 = { icon = eng_blackshirt_march available = { has_war = no has_full_control_of_state = 340 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 175 days_remove = 120 highlight_states = { highlight_states_trigger = { state = 340 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_340" log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_340 executed" 340 = { save_event_target_as = NIG_religious_conversion_state } random_list = { ###Main Province of Boko Haram 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.056 } set_temp_variable = { temp_outlook_increase = 0.056 } change_relative_party_popularity = yes add_stability = -0.014 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.028 } set_temp_variable = { temp_outlook_increase = 0.028 } change_relative_party_popularity = yes add_stability = -0.028 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.014 } set_temp_variable = { temp_outlook_increase = 0.014 } change_relative_party_popularity = yes add_stability = -0.056 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_borno } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_334 = { icon = eng_blackshirt_march available = { owns_state = 334 has_full_control_of_state = 334 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 175 days_remove = 150 highlight_states = { highlight_states_trigger = { state = 334 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_334" 334 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.093 } set_temp_variable = { temp_outlook_increase = 0.093 } change_relative_party_popularity = yes add_stability = -0.023 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.047 } set_temp_variable = { temp_outlook_increase = 0.047 } change_relative_party_popularity = yes add_stability = -0.047 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.023 } set_temp_variable = { temp_outlook_increase = 0.023 } change_relative_party_popularity = yes add_stability = -0.093 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_lagos } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_336 = { icon = eng_blackshirt_march available = { owns_state = 336 has_full_control_of_state = 336 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 150 days_remove = 90 highlight_states = { highlight_states_trigger = { state = 336 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_336 executed" 336 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.034 } set_temp_variable = { temp_outlook_increase = 0.034 } change_relative_party_popularity = yes add_stability = -0.008 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.017 } set_temp_variable = { temp_outlook_increase = 0.017 } change_relative_party_popularity = yes add_stability = -0.017 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.008 } set_temp_variable = { temp_outlook_increase = 0.008 } change_relative_party_popularity = yes add_stability = -0.034 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_benue } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } # Ambazonia NIG_convert_state_322 = { icon = eng_blackshirt_march available = { has_full_control_of_state = 322 owns_state = 322 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 75 days_remove = 1 highlight_states = { highlight_states_trigger = { state = 322 } } on_map_mode = map_only fire_only_once = yes visible = { owns_state = 322 has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [This.GetName]: decision NIG_convert_state_322 executed" 322 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.023 } set_temp_variable = { temp_outlook_increase = 0.023 } change_relative_party_popularity = yes add_stability = -0.006 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.013 } set_temp_variable = { temp_outlook_increase = 0.013 } change_relative_party_popularity = yes add_stability = -0.013 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.006 } set_temp_variable = { temp_outlook_increase = 0.006 } change_relative_party_popularity = yes add_stability = -0.023 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_ambazonia } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } NIG_convert_state_337 = { icon = eng_blackshirt_march available = { owns_state = 337 has_full_control_of_state = 337 NOT = { has_decision = NIG_hold_off_on_conversion_decision } } cost = 100 days_remove = 120 highlight_states = { highlight_states_trigger = { state = 337 } } on_map_mode = map_only fire_only_once = yes visible = { has_war = no } fixed_random_seed = no cancel_if_not_visible = yes remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_convert_state_337" 337 = { save_event_target_as = NIG_religious_conversion_state } random_list = { 25 = { country_event = { id = nigeria_md.1 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.064 } set_temp_variable = { temp_outlook_increase = 0.064 } change_relative_party_popularity = yes add_stability = -0.016 } } 50 = { country_event = { id = nigeria_md.2 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.032 } set_temp_variable = { temp_outlook_increase = 0.032 } change_relative_party_popularity = yes add_stability = -0.032 } } 25 = { modifier = { factor = 1.25 has_country_flag = NIG_sharia_law_warning_flag } country_event = { id = nigeria_md.3 days = 1 } effect_tooltip = { if = { limit = { has_completed_focus = NIG_suppression_of_islam } set_temp_variable = { party_index = 14 } } else_if = { limit = { has_completed_focus = NIG_convert_the_christians } set_temp_variable = { party_index = 11 } } set_temp_variable = { party_popularity_increase = 0.016 } set_temp_variable = { temp_outlook_increase = 0.016 } change_relative_party_popularity = yes add_stability = -0.064 } } } custom_effect_tooltip = NIG_religious_conversion_TT set_country_flag = NIG_religious_conversion_abuja } ai_will_do = { base = 10 modifier = { factor = 20 has_stability > 0.40 } modifier = { factor = 0 has_stability < 0.41 } modifier = { factor = 50 has_active_mission = NIG_religious_civil_war_mission } } } # End of Conversion Decisions # Needs something relating to stabilizing for tolerance NIG_religious_civil_war_mission = { icon = GFX_decision_zsr_unrest activation = { NOT = { has_country_flag = NIG_religious_war_flag } count_triggers = { amount = 5 has_completed_focus = NIG_contract_boko_haram has_completed_focus = NIG_enlist_the_militas has_stability < 0.50 322 = { NIG_has_been_converted = yes } 337 = { NIG_has_been_converted = yes } 336 = { NIG_has_been_converted = yes } 334 = { NIG_has_been_converted = yes } 340 = { NIG_has_been_converted = yes } 338 = { NIG_has_been_converted = yes } 339 = { NIG_has_been_converted = yes } 332 = { NIG_has_been_converted = yes } } } available = { has_country_flag = NIG_has_converted_everything } fire_only_once = yes is_good = no days_mission_timeout = 364 complete_effect = { log = "[GetDateText]: [Root.GetName]: Mission NIG_religious_civil_war_mission complete" country_event = { id = nigeria_md.11 days = 1 } } timeout_effect = { log = "[GetDateText]: [This.GetName]: mission NIG_religious_civil_war_mission executed" country_event = { id = nigeria_md.4 days = 1 } } } } NIG_expand_hydro_decisions_category = { NIG_construct_the_mambilla_hydroelectric_power_plant = { icon = attract_foreign_investor days_remove = 730 available = { has_full_control_of_state = 336 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_construct_the_mambilla_hydroelectric_power_plant complete" set_temp_variable = { treasury_change = -18 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_construct_the_mambilla_hydroelectric_power_plant" 336 = { set_temp_variable = { electric_addition = 5.3 } set_temp_variable = { storage_addition = 0.75 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 10 modifier = { add = 25 check_variable = { interest_rate < 8 } } } } NIG_construct_the_kashimbila_hydroelectric_power_plant = { icon = attract_foreign_investor days_remove = 730 available = { has_full_control_of_state = 336 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_construct_the_kashimbila_hydroelectric_power_plant complete" set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_construct_the_kashimbila_hydroelectric_power_plant" 336 = { set_temp_variable = { electric_addition = 3.25 } set_temp_variable = { storage_addition = 0.25 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 10 modifier = { add = 25 check_variable = { interest_rate < 8 } } } } NIG_construct_the_zungeru_hydroelectric_power_plant = { icon = attract_foreign_investor days_remove = 730 available = { has_full_control_of_state = 338 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_construct_the_zungeru_hydroelectric_power_plant complete" set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_construct_the_zungeru_hydroelectric_power_plant" 338 = { set_temp_variable = { electric_addition = 2.35 } set_temp_variable = { storage_addition = 0.15 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 10 modifier = { add = 25 check_variable = { interest_rate < 8 } } } } NIG_construct_the_gurara_hydroelectric_power_plant = { icon = attract_foreign_investor days_remove = 560 available = { has_full_control_of_state = 339 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_construct_the_gurara_hydroelectric_power_plant complete" set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_construct_the_gurara_hydroelectric_power_plant" 339 = { set_temp_variable = { electric_addition = 3.45 } set_temp_variable = { storage_addition = 0.75 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 10 modifier = { add = 25 check_variable = { interest_rate < 8 } } } } } # Niger Delta Crisis Decisions NIG_niger_delta_decisions_category = { NIG_naval_patrol_gulf_of_guinea = { icon = GFX_decision_generic_naval available = { has_full_control_of_state = 332 OR = { has_idea = NIG_niger_delta_crisis_1 has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 has_idea = NIG_niger_delta_avengers_idea has_idea = NIG_unrestrained_piracy_idea has_idea = NIG_restrained_piracy_idea } } visible = { OR = { has_idea = NIG_niger_delta_crisis_1 has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 has_idea = NIG_niger_delta_avengers_idea has_idea = NIG_unrestrained_piracy_idea has_idea = NIG_restrained_piracy_idea } } cost = 50 days_remove = 120 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_naval_patrol_gulf_of_guinea" set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } modifier = { local_resources_oil_factor = 0.05 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_naval_patrol_gulf_of_guinea" add_stability = 0.01 } ai_will_do = { base = 10 } } NIG_protect_oil_infrastructure = { icon = GFX_decision_generic_protection available = { has_full_control_of_state = 332 OR = { has_idea = NIG_niger_delta_crisis_1 has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 has_idea = NIG_niger_delta_avengers_idea } } visible = { OR = { has_idea = NIG_niger_delta_crisis_1 has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 has_idea = NIG_niger_delta_avengers_idea } } cost = 100 days_remove = 365 fire_only_once = no highlight_states = { highlight_states_trigger = { state = 332 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_protect_oil_infrastructure" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } modifier = { local_resources_oil_factor = 0.10 } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_protect_oil_infrastructure" } ai_will_do = { base = 10 modifier = { add = 20 has_idea = NIG_niger_delta_crisis_2 } modifier = { add = 30 has_idea = NIG_niger_delta_crisis_3 } } } NIG_reintegration_training = { icon = GFX_decision_generic_political_discourse available = { has_country_flag = NIG_amnesty_succeeded has_idea = NIG_amnesty_program_idea } visible = { has_country_flag = NIG_amnesty_succeeded } cost = 25 days_remove = 90 fire_only_once = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_reintegration_training" set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_reintegration_training" add_stability = 0.02 } ai_will_do = { base = 20 } } NIG_environmental_cleanup_program = { icon = GFX_decision_Decision_tree_smol custom_cost_trigger = { check_variable = { treasury > 5 } } custom_cost_text = cost_5_0 available = { has_full_control_of_state = 332 has_completed_focus = NIG_negotiate_peace has_completed_focus = NIG_address_niger_delta OR = { has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 } NOT = { has_country_flag = NIG_amnesty_succeeded } } visible = { has_country_flag = NIG_niger_delta_started OR = { has_idea = NIG_niger_delta_crisis_1 has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 } } days_remove = 365 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 332 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_environmental_cleanup_program" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_environmental_cleanup_program" add_stability = 0.05 # Reduce crisis by one level if active if = { limit = { has_idea = NIG_niger_delta_crisis_3 } swap_ideas = { remove_idea = NIG_niger_delta_crisis_3 add_idea = NIG_niger_delta_crisis_2 } } else_if = { limit = { has_idea = NIG_niger_delta_crisis_2 } swap_ideas = { remove_idea = NIG_niger_delta_crisis_2 add_idea = NIG_niger_delta_crisis_1 } } 332 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } ai_will_do = { base = 10 modifier = { add = 20 has_country_flag = NIG_amnesty_succeeded } } } NIG_suppress_delta_militants = { icon = GFX_decision_generic_police_action available = { has_equipment = { infantry_weapons_type > 4999 } has_full_control_of_state = 332 has_completed_focus = NIG_military_solution has_completed_focus = NIG_address_niger_delta OR = { has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 } } visible = { has_country_flag = NIG_niger_delta_started } cost = 75 days_remove = 365 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 332 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_suppress_delta_militants" set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = infantry_weapons_type amount = -5000 } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision remove NIG_suppress_delta_militants" add_stability = 0.05 # Reduce crisis by one level if active if = { limit = { has_idea = NIG_niger_delta_crisis_3 } swap_ideas = { remove_idea = NIG_niger_delta_crisis_3 add_idea = NIG_niger_delta_crisis_2 } } else_if = { limit = { has_idea = NIG_niger_delta_crisis_2 } swap_ideas = { remove_idea = NIG_niger_delta_crisis_2 add_idea = NIG_niger_delta_crisis_1 } } 332 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } ai_will_do = { base = 10 modifier = { add = 20 has_country_flag = NIG_amnesty_succeeded } } } NIG_request_international_mediation = { icon = GFX_decision_generic_speech available = { OR = { has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 } NOT = { has_country_flag = NIG_accepted_international_help } } visible = { OR = { has_idea = NIG_niger_delta_crisis_2 has_idea = NIG_niger_delta_crisis_3 } } cost = 25 fire_only_once = yes complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_request_international_mediation" country_event = { id = nigeria_delta.5 days = 7 } } ai_will_do = { base = 10 modifier = { add = 20 has_idea = NIG_niger_delta_crisis_3 } } } } NIG_ai_path_category = { NIG_rally_the_socialists = { icon = generic_decision cost = 25 days_re_enable = 30 visible = { has_global_flag = NIG_SOCIAL_DEMOCRACY_FOCUS_PATH } available = { has_civil_war = no check_variable = { party_pop_array^3 < 0.55 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_rally_the_socialists" set_temp_variable = { party_index = 3 } 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 } } NIG_socialists_take_the_country = { icon = generic_decision cost = 150 days_re_enable = 180 visible = { has_global_flag = NIG_SOCIAL_DEMOCRACY_FOCUS_PATH } available = { has_civil_war = no western_social_democrats_are_in_power = no check_variable = { party_pop_array^3 > 0.5 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_socialists_take_the_country" set_temp_variable = { rul_party_temp = 3 } change_ruling_party_effect = yes } ai_will_do = { base = 100 } } NIG_curb_population_growth = { icon = generic_decision cost = 100 days_re_enable = 365 visible = { has_global_flag = NIG_CALIPHATE_FOCUS_PATH } available = { has_civil_war = no has_idea = NIG_uncontrollable_population_growth_idea } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision NIG_curb_population_growth" swap_ideas = { remove_idea = NIG_uncontrollable_population_growth_idea add_idea = NIG_controlled_population_program_idea } } ai_will_do = { base = 100 } } }