add_namespace = morocco # 400 - Random Yearly event # 2003 - Casablanca Bombings country_event = { id = morocco.400 title = morocco.400.t desc = morocco.400.d picture = GFX_MOR_casablanca_bombings is_triggered_only = yes # Truly a Tragedy option = { name = morocco.400.a log = "[GetDateText]: [This.GetName]: event morocco.400.a executed" set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes add_stability = -0.04 ai_chance = { base = 1 } } # Pay for the Funerals option = { name = morocco.400.b log = "[GetDateText]: [This.GetName]: event morocco.400.b executed" set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 11 } set_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = 0.01 } change_relative_party_popularity = yes add_stability = -0.02 set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.01 } modify_treasury_effect = yes ai_chance = { base = 1 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } # 401 - The National Unity Collective (CUN) forms, taking the Nat_Fascism slot. # Idempotent and hidden; scheduled from the ETD year hook (forward play) and the startup # catch-up (mid-game starts) in common/scripted_effects/00_yearly_effects.txt. country_event = { id = morocco.401 is_triggered_only = yes hidden = yes trigger = { NOT = { has_country_flag = MOR_cun_formed } } immediate = { log = "[GetDateText]: [This.GetName]: morocco.401 - National Unity Collective takes the Nat_Fascism slot" set_country_flag = MOR_cun_formed hidden_effect = { update_party_name = yes } } }