add_namespace = brotherhood ################ Muslim Brotherhood path to civil war ########### #####Muslim Brotherhood demands elections / set crackdown country_event = { id = brotherhood.6 title = brotherhood.6.t desc = brotherhood.6.d picture = GFX_election_day is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.5 neutrality > 0.40 } modifier = { factor = 1.5 neutrality > 0.45 } modifier = { factor = 1.5 neutrality > 0.55 } modifier = { factor = 1.5 neutrality > 0.60 } } trigger = { is_in_array = { global.possible_muslim_brotherhood_nation = THIS.id } has_game_rule = { rule = rule_disable_muslim_brotherhood_civil_war option = no } has_elections = no NOT = { has_government = neutrality } NOT = { is_muslim_brotherhood = yes } NOT = { has_country_flag = BROTHER_civil_war_has_started } NOT = { has_country_flag = recently_had_muslim_brotherhood_demanded_election } NOT = { has_country_flag = mb_accommodation } NOT = { has_idea = muslim_brotherhood_crackdown } neutrality > 0.35 } immediate = { set_country_flag = { flag = recently_had_muslim_brotherhood_demanded_election value = 1 days = 180 } } option = { name = brotherhood.6.a log = "[GetDateText]: [This.GetName]: brotherhood.6.a option executed" custom_effect_tooltip = muslim_brotherhood_crackdown_tt hidden_effect = { add_ideas = muslim_brotherhood_crackdown } if = { limit = { has_idea = al_jazeera_allowed } swap_ideas = { remove_idea = al_jazeera_allowed add_idea = al_jazeera_banned } } ai_chance = { base = 1 } } option = { name = brotherhood.6.b log = "[GetDateText]: [This.GetName]: brotherhood.6.b option executed" enable_elections_with_no_leader_change = yes if = { limit = { has_idea = al_jazeera_banned } swap_ideas = { remove_idea = al_jazeera_banned add_idea = al_jazeera_allowed } } if = { limit = { has_idea = muslim_brotherhood_crackdown } remove_ideas = muslim_brotherhood_crackdown } ai_chance = { base = 0 modifier = { add = 1 has_government = democratic neutrality < 0.45 } } } # Co-opt moderate Brotherhood figures without conceding elections option = { name = brotherhood.6.c log = "[GetDateText]: [This.GetName]: brotherhood.6.c option executed" trigger = { neutrality < 0.6 } set_country_flag = { flag = mb_accommodation value = 1 days = 1825 } add_popularity = { ideology = neutrality popularity = -0.05 } recalculate_party = yes add_stability = 0.03 add_political_power = -75 ai_chance = { base = 0 modifier = { add = 2 has_government = democratic neutrality < 0.45 } } } } #####Muslim Brotherhood crackdown backfires country_event = { id = brotherhood.7 title = brotherhood.7.t desc = brotherhood.7.d picture = GFX_marketplace is_triggered_only = yes mean_time_to_happen = { modifier = { factor = 1.5 neutrality > 0.40 } modifier = { factor = 1.5 neutrality > 0.45 } modifier = { factor = 1.5 neutrality > 0.55 } modifier = { factor = 1.5 neutrality > 0.60 } } trigger = { can_fire_muslim_brotherhood_crackdown_event = yes } option = { name = brotherhood.7.a log = "[GetDateText]: [This.GetName]: brotherhood.7.a option executed" add_popularity = { ideology = neutrality popularity = 0.03 } recalculate_party = yes ai_chance = { base = 1 } } } country_event = { id = brotherhood.8 title = brotherhood.8.t desc = brotherhood.8.d picture = GFX_generic_soldiers is_triggered_only = yes trigger = { can_fire_muslim_brotherhood_crackdown_event = yes } option = { name = brotherhood.8.a log = "[GetDateText]: [This.GetName]: brotherhood.8.a option executed" add_popularity = { ideology = neutrality popularity = 0.05 } recalculate_party = yes ai_chance = { base = 1 } } } country_event = { id = brotherhood.9 title = brotherhood.9.t desc = brotherhood.9.d picture = GFX_generic_soldiers is_triggered_only = yes trigger = { can_fire_muslim_brotherhood_crackdown_event = yes } option = { name = brotherhood.9.a log = "[GetDateText]: [This.GetName]: brotherhood.9.a option executed" add_popularity = { ideology = neutrality popularity = -0.1 } recalculate_party = yes ai_chance = { base = 1 } } } country_event = { id = brotherhood.10 title = brotherhood.10.t desc = brotherhood.10.d picture = GFX_generic_soldiers is_triggered_only = yes trigger = { can_fire_muslim_brotherhood_crackdown_event = yes NOT = { has_war = yes } neutrality > 0.5 } immediate = { set_country_flag = BROTHER_civil_war_has_started } option = { name = brotherhood.10.a log = "[GetDateText]: [This.GetName]: brotherhood.10.a executed" start_civil_war = { ideology = neutrality size = 0.5 } add_popularity = { ideology = neutrality popularity = -0.3 } recalculate_party = yes ai_chance = { base = 1 } } # Play as the Brotherhood option = { name = brotherhood.10.b log = "[GetDateText]: [This.GetName]: brotherhood.10.b executed" trigger = { is_ai = no } if = { limit = { has_government = democratic } start_civil_war = { ruling_party = neutrality ideology = democratic size = 0.6 } } else_if = { limit = { has_government = communism } start_civil_war = { ruling_party = neutrality ideology = communism size = 0.6 } } else_if = { limit = { has_government = fascism } start_civil_war = { ruling_party = neutrality ideology = fascism size = 0.6 } } else_if = { limit = { has_government = nationalist } start_civil_war = { ruling_party = neutrality ideology = nationalist size = 0.6 } } hidden_effect = { every_other_country = { limit = { original_tag = PREV } set_country_flag = BROTHER_civil_war_has_started } } ai_chance = { base = 0 } } } ##### A foreign patron offers to bankroll a crackdown (fired by MB_bankroll_crackdown) # FROM = the patron country country_event = { id = brotherhood.11 title = brotherhood.11.t desc = brotherhood.11.d picture = GFX_treaty is_triggered_only = yes trigger = { is_in_array = { global.possible_muslim_brotherhood_nation = THIS.id } has_game_rule = { rule = rule_disable_muslim_brotherhood_civil_war option = no } NOT = { is_muslim_brotherhood = yes } NOT = { has_government = neutrality } NOT = { has_country_flag = BROTHER_civil_war_has_started } has_elections = no NOT = { has_idea = muslim_brotherhood_crackdown } } option = { name = brotherhood.11.a log = "[GetDateText]: [This.GetName]: brotherhood.11.a option executed" custom_effect_tooltip = muslim_brotherhood_crackdown_tt hidden_effect = { add_ideas = muslim_brotherhood_crackdown } add_political_power = 50 add_opinion_modifier = { target = FROM modifier = MB_crackdown_patron } reverse_add_opinion_modifier = { target = FROM modifier = MB_crackdown_patron } ai_chance = { base = 1 modifier = { factor = 4 neutrality > 0.4 } modifier = { factor = 0 democratic > 0.6 } } } option = { name = brotherhood.11.b ai_chance = { base = 1 modifier = { factor = 0 neutrality > 0.45 } } } }