add_namespace = ita_military

#equipment specialization
country_event = {
	id = ita_military.1
	title = ita_military.1.t
	desc = ita_military.1.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.1.o1
		log = "[GetDateText]: [This.GetName]: ita_military.1.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_ariete_spirit_1 }
		custom_effect_tooltip = ITA_specialize_ariete_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.1.o2
		log = "[GetDateText]: [This.GetName]: ita_military.1.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_ariete_spirit_2 }
		custom_effect_tooltip = ITA_specialize_ariete_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.2
	title = ita_military.2.t
	desc = ita_military.2.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.2.o1
		log = "[GetDateText]: [This.GetName]: ita_military.2.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_freccia_spirit_1 }
		custom_effect_tooltip = ITA_specialize_freccia_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.2.o2
		log = "[GetDateText]: [This.GetName]: ita_military.2.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_freccia_spirit_2 }
		custom_effect_tooltip = ITA_specialize_freccia_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.3
	title = ita_military.3.t
	desc = ita_military.3.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.3.o1
		log = "[GetDateText]: [This.GetName]: ita_military.3.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_dardo_spirit_1 }
		custom_effect_tooltip = ITA_specialize_dardo_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.3.o2
		log = "[GetDateText]: [This.GetName]: ita_military.3.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_dardo_spirit_2 }
		custom_effect_tooltip = ITA_specialize_dardo_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.4
	title = ita_military.4.t
	desc = ita_military.4.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.4.o1
		log = "[GetDateText]: [This.GetName]: ita_military.4.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_centauro_spirit_1 }
		custom_effect_tooltip = ITA_specialize_centauro_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.4.o2
		log = "[GetDateText]: [This.GetName]: ita_military.4.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_centauro_spirit_2 }
		custom_effect_tooltip = ITA_specialize_centauro_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.5
	title = ita_military.5.t
	desc = ita_military.5.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.5.o1
		log = "[GetDateText]: [This.GetName]: ita_military.5.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_lince_spirit_1 }
		custom_effect_tooltip = ITA_specialize_lince_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.5.o2
		log = "[GetDateText]: [This.GetName]: ita_military.5.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_lince_spirit_2 }
		custom_effect_tooltip = ITA_specialize_lince_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.6
	title = ita_military.6.t
	desc = ita_military.6.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.6.o1
		log = "[GetDateText]: [This.GetName]: ita_military.6.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_arx_spirit_1 }
		custom_effect_tooltip = ITA_specialize_arx_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.6.o2
		log = "[GetDateText]: [This.GetName]: ita_military.6.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_arx_spirit_2 }
		custom_effect_tooltip = ITA_specialize_arx_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.7
	title = ita_military.7.t
	desc = ita_military.7.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.7.o1
		log = "[GetDateText]: [This.GetName]: ita_military.7.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_siaccon_spirit_1 }
		custom_effect_tooltip = ITA_specialize_siaccon_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.7.o2
		log = "[GetDateText]: [This.GetName]: ita_military.7.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_siaccon_spirit_2 }
		custom_effect_tooltip = ITA_specialize_siaccon_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.8
	title = ita_military.8.t
	desc = ita_military.8.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.8.o1
		log = "[GetDateText]: [This.GetName]: ita_military.8.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_spike_spirit_1 }
		custom_effect_tooltip = ITA_specialize_spike_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.8.o2
		log = "[GetDateText]: [This.GetName]: ita_military.8.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_spike_spirit_2 }
		custom_effect_tooltip = ITA_specialize_spike_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.9
	title = ita_military.9.t
	desc = ita_military.9.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.9.o1
		log = "[GetDateText]: [This.GetName]: ita_military.9.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_stinger_spirit_1 }
		custom_effect_tooltip = ITA_specialize_stinger_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.9.o2
		log = "[GetDateText]: [This.GetName]: ita_military.9.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_stinger_spirit_2 }
		custom_effect_tooltip = ITA_specialize_stinger_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.10
	title = ita_military.10.t
	desc = ita_military.10.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.10.o1
		log = "[GetDateText]: [This.GetName]: ita_military.10.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_obice_fh_spirit_1 }
		custom_effect_tooltip = ITA_specialize_obice_fh_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.10.o2
		log = "[GetDateText]: [This.GetName]: ita_military.10.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_obice_fh_spirit_2 }
		custom_effect_tooltip = ITA_specialize_obice_fh_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.11
	title = ita_military.11.t
	desc = ita_military.11.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.11.o1
		log = "[GetDateText]: [This.GetName]: ita_military.11.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_semovente_spirit_1 }
		custom_effect_tooltip = ITA_specialize_semovente_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.11.o2
		log = "[GetDateText]: [This.GetName]: ita_military.11.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_semovente_spirit_2 }
		custom_effect_tooltip = ITA_specialize_semovente_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.12
	title = ita_military.12.t
	desc = ita_military.12.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.12.o1
		log = "[GetDateText]: [This.GetName]: ita_military.12.o1 executed"
		hidden_effect = { add_ideas = ITA_specialized_as_fighter_spirit_1 }
		custom_effect_tooltip = ITA_specialized_as_fighter_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.12.o2
		log = "[GetDateText]: [This.GetName]: ita_military.12.o2 executed"
		hidden_effect = { add_ideas = ITA_specialized_as_fighter_spirit_2 }
		custom_effect_tooltip = ITA_specialized_as_fighter_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.14
	title = ita_military.14.t
	desc = ita_military.14.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.14.o1
		log = "[GetDateText]: [This.GetName]: ita_military.14.o1 executed"
		hidden_effect = { add_ideas = ITA_light_fighters_spirit_1 }
		custom_effect_tooltip = ITA_light_fighters_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.14.o2
		log = "[GetDateText]: [This.GetName]: ita_military.14.o2 executed"
		hidden_effect = { add_ideas = ITA_light_fighters_spirit_2 }
		custom_effect_tooltip = ITA_light_fighters_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.15
	title = ita_military.15.t
	desc = ita_military.15.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.15.o1
		log = "[GetDateText]: [This.GetName]: ita_military.15.o1 executed"
		hidden_effect = { add_ideas = ITA_specialized_cas_spirit_1 }
		custom_effect_tooltip = ITA_specialized_cas_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.15.o2
		log = "[GetDateText]: [This.GetName]: ita_military.15.o2 executed"
		hidden_effect = { add_ideas = ITA_specialized_cas_spirit_2 }
		custom_effect_tooltip = ITA_specialized_cas_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.16
	title = ita_military.16.t
	desc = ita_military.16.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.16.o1
		log = "[GetDateText]: [This.GetName]: ita_military.16.o1 executed"
		hidden_effect = { add_ideas = ITA_multirole_attack_plane_spirit_1 }
		custom_effect_tooltip = ITA_multirole_attack_plane_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.16.o2
		log = "[GetDateText]: [This.GetName]: ita_military.16.o2 executed"
		hidden_effect = { add_ideas = ITA_multirole_attack_plane_spirit_2 }
		custom_effect_tooltip = ITA_multirole_attack_plane_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.17
	title = ita_military.17.t
	desc = ita_military.17.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.17.o1
		log = "[GetDateText]: [This.GetName]: ita_military.17.o1 executed"
		hidden_effect = { add_ideas = ITA_ground_attack_drones_spirit_1 }
		custom_effect_tooltip = ITA_ground_attack_drones_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.17.o2
		log = "[GetDateText]: [This.GetName]: ita_military.17.o2 executed"
		hidden_effect = { add_ideas = ITA_ground_attack_drones_spirit_2 }
		custom_effect_tooltip = ITA_ground_attack_drones_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.18
	title = ita_military.18.t
	desc = ita_military.18.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.18.o1
		log = "[GetDateText]: [This.GetName]: ita_military.18.o1 executed"
		hidden_effect = { add_ideas = ITA_naval_bomber_spirit_1 }
		custom_effect_tooltip = ITA_naval_bomber_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.18.o2
		log = "[GetDateText]: [This.GetName]: ita_military.18.o2 executed"
		hidden_effect = { add_ideas = ITA_naval_bomber_spirit_2 }
		custom_effect_tooltip = ITA_naval_bomber_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.19
	title = ita_military.19.t
	desc = ita_military.19.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.19.o1
		log = "[GetDateText]: [This.GetName]: ita_military.19.o1 executed"
		hidden_effect = { add_ideas = ITA_naval_multirole_spirit_1 }
		custom_effect_tooltip = ITA_naval_multirole_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.19.o2
		log = "[GetDateText]: [This.GetName]: ita_military.19.o2 executed"
		hidden_effect = { add_ideas = ITA_naval_multirole_spirit_2 }
		custom_effect_tooltip = ITA_naval_multirole_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.20
	title = ita_military.20.t
	desc = ita_military.20.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.20.o1
		log = "[GetDateText]: [This.GetName]: ita_military.20.o1 executed"
		hidden_effect = { add_ideas = ITA_naval_light_multirole_spirit_1 }
		custom_effect_tooltip = ITA_naval_light_multirole_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.20.o2
		log = "[GetDateText]: [This.GetName]: ita_military.20.o2 executed"
		hidden_effect = { add_ideas = ITA_naval_light_multirole_spirit_2 }
		custom_effect_tooltip = ITA_naval_light_multirole_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.21
	title = ita_military.21.t
	desc = ita_military.21.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.21.o1
		log = "[GetDateText]: [This.GetName]: ita_military.21.o1 executed"
		hidden_effect = { add_ideas = ITA_strategic_bomber_spirit_1 }
		custom_effect_tooltip = ITA_strategic_bomber_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.21.o2
		log = "[GetDateText]: [This.GetName]: ita_military.21.o2 executed"
		hidden_effect = { add_ideas = ITA_strategic_bomber_spirit_2 }
		custom_effect_tooltip = ITA_strategic_bomber_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.22
	title = ita_military.22.t
	desc = ita_military.22.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.22.o1
		log = "[GetDateText]: [This.GetName]: ita_military.22.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_mangusta_spirit_1 }
		custom_effect_tooltip = ITA_specialize_mangusta_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.22.o2
		log = "[GetDateText]: [This.GetName]: ita_military.22.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_mangusta_spirit_2 }
		custom_effect_tooltip = ITA_specialize_mangusta_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.22.o3
		log = "[GetDateText]: [This.GetName]: ita_military.22.o3 executed"
		hidden_effect = { add_ideas = ITA_specialize_mangusta_spirit_3 }
		custom_effect_tooltip = ITA_specialize_mangusta_spirit_loc_3
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

country_event = {
	id = ita_military.23
	title = ita_military.23.t
	desc = ita_military.23.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = ita_military.23.o1
		log = "[GetDateText]: [This.GetName]: ita_military.23.o1 executed"
		hidden_effect = { add_ideas = ITA_specialize_otomatic_spirit_1 }
		custom_effect_tooltip = ITA_specialize_otomatic_spirit_loc_1
		ai_chance = {
			base = 10
			modifier = {
				factor = 4
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 0.5
				ai_is_threatened = yes
			}
		}
	}

	option = {
		name = ita_military.23.o2
		log = "[GetDateText]: [This.GetName]: ita_military.23.o2 executed"
		hidden_effect = { add_ideas = ITA_specialize_otomatic_spirit_2 }
		custom_effect_tooltip = ITA_specialize_otomatic_spirit_loc_2
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
			modifier = {
				factor = 4
				ai_is_threatened = yes
			}
		}
	}
}

add_namespace = italy_md

#Lateran Treaties Accepted
country_event = {
	id = italy_md.1
	title = italy_md.1.t
	desc = italy_md.1.d
	picture = GFX_report_event_crocifisso
	is_triggered_only = yes

	option = {
		name = italy_md.1.o1
		log = "[GetDateText]: [This.GetName]: italy_md.1.o1 executed"
		add_ideas = ITA_vatican_support
		set_temp_variable = { temp_opinion = 5 }
		change_the_clergy_opinion = yes
		add_opinion_modifier = {
			target = HLS
			modifier = lateran_treaties_accepted
		}
	}
}
#Lateran Treaties Refused
country_event = {
	id = italy_md.2
	title = italy_md.2.t
	desc = italy_md.2.d
	picture = GFX_report_event_San_Pietro
	is_triggered_only = yes

	option = {
		name = italy_md.2.o1
		log = "[GetDateText]: [This.GetName]: italy_md.2.o1 executed"
		clr_country_flag = HLS_lateran_treaties
		set_temp_variable = { temp_opinion = -5 }
		change_the_clergy_opinion = yes
		add_opinion_modifier = {
			target = HLS
			modifier = lateran_treaties_refused
		}
	}
}
#Demand Subjugation to Minors
country_event = {
	id = italy_md.3
	title = italy_md.3.t
	desc = italy_md.3.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #Accept
		name = italy_md.3.o1
		log = "[GetDateText]: [This.GetName]: italy_md.3.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		ITA = { country_event = italy_md.4 }
		every_owned_state = {
			add_core_of = ITA
		}
		ai_chance = {
			base = 1
		}
	}

	option = { #Refuse
		name = italy_md.3.o2
		log = "[GetDateText]: [This.GetName]: italy_md.3.o2 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		add_opinion_modifier = {
			target = ITA
			modifier = outrageous_demands
		}
		ITA = { country_event = italy_md.5 }
		ai_chance = {
			base = 0
		}
	}
}
#Minor accepted to be annexed
country_event = {
	id = italy_md.4
	title = italy_md.4.t
	desc = italy_md.4.d
	picture = GFX_report_event_Vittoriano
	is_triggered_only = yes

	option = {
		name = italy_md.4.o1
		log = "[GetDateText]: [This.GetName]: italy_md.4.o1 executed"
		annex_country = { target = FROM transfer_troops = no }
	}
}
#Minor refused to be annexed
country_event = {
	id = italy_md.5
	title = italy_md.5.t
	desc = italy_md.5.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = {
		name = italy_md.5.o1
		log = "[GetDateText]: [This.GetName]: italy_md.5.o1 executed"
		set_temp_variable = { wargoal_on = FROM }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			type = annex_everything
			target = FROM
		}
		add_opinion_modifier = {
			target = FROM
			modifier = refused_to_be_annexed
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				FROM = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}

	option = {
		name = italy_md.5.o2
		log = "[GetDateText]: [This.GetName]: italy_md.5.o2 executed"
		add_opinion_modifier = {
			target = FROM
			modifier = refused_to_be_annexed
		}
		ai_chance = {
			base = 5
			modifier = {
				factor = 20
				FROM = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}
}
#Support ENI in Africa/Arabia
country_event = {
	id = italy_md.6
	title = italy_md.6.t
	desc = italy_md.6.d
	picture = GFX_report_event_ENI
	is_triggered_only = yes

	option = {
		name = italy_md.6.o1
		log = "[GetDateText]: [This.GetName]: italy_md.6.o1 executed"
		ITA = { country_event = italy_md.8 }
		add_opinion_modifier = {
			target = ITA
			modifier = ITA_oil_investments_africa
		}
		if = {
			limit = {
				tag = EGY
			}
			add_resource = { #Egyptian Coast on the Red Sea
				type = oil
				amount = 4
				state = 457
			}
		}
		if = {
			limit = {
				tag = NGR
			}
			add_resource = { #Lagos
				type = oil
				amount = 4
				state = 558
			}
		}
		if = {
			limit = {
				tag = SAU
			}
			add_resource = { #Rihad
				type = oil
				amount = 4
				state = 678
			}
		}
		if = {
			limit = {
				tag = UAE
			}
			add_resource = { #Abu Dhabi
				type = oil
				amount = 4
				state = 658
			}
		}
		if = {
			limit = {
				tag = AGL
			}
			add_resource = { #Cabinda
				type = oil
				amount = 4
				state = 296
			}
		}
		if = {
			limit = {
				tag = PER
			}
			add_resource = { #Khuzestan
				type = oil
				amount = 4
				state = 399
			}
		}
		if = {
			limit = {
				tag = SYR
			}
			add_resource = { #Deir ez zor
				type = oil
				amount = 4
				state = 192
			}
		}
		if = {
			limit = {
				tag = IRQ
			}
			add_resource = { #Basrah
				type = oil
				amount = 4
				state = 171
			}
		}
		if = {
			limit = {
				tag = KUW
			}
			add_resource = {
				type = oil
				amount = 4
				state = 172
			}
		}
		if = {
			limit = {
				tag = BHR
			}
			add_resource = {
				type = oil
				amount = 4
				state = 423
			}
		}
		if = {
			limit = {
				tag = QAT
			}
			add_resource = {
				type = oil
				amount = 4
				state = 181
			}
		}
		ai_chance = {
			base = 10
		}
	}

	option = {
		name = italy_md.6.o2
		log = "[GetDateText]: [This.GetName]: italy_md.6.o2 executed"
		ITA = { country_event = italy_md.7 }
		if = {
			limit = {
				tag = EGY
			}
			add_resource = { #Egyptian Coast on the Red Sea
				type = oil
				amount = 5
				state = 457
			}
		}
		if = {
			limit = {
				tag = NGR
			}
			add_resource = { #Lagos
				type = oil
				amount = 5
				state = 558
			}
		}
		if = {
			limit = {
				tag = SAU
			}
			add_resource = { #Rihad
				type = oil
				amount = 5
				state = 678
			}
		}
		if = {
			limit = {
				tag = UAE
			}
			add_resource = { #Abu Dhabi
				type = oil
				amount = 5
				state = 658
			}
		}
		if = {
			limit = {
				tag = AGL
			}
			add_resource = { #Cabinda
				type = oil
				amount = 5
				state = 296
			}
		}
		if = {
			limit = {
				tag = PER
			}
			add_resource = { #Khuzestan
				type = oil
				amount = 5
				state = 399
			}
		}
		if = {
			limit = {
				tag = SYR
			}
			add_resource = { #Deir ez zor
				type = oil
				amount = 5
				state = 192
			}
		}
		if = {
			limit = {
				tag = IRQ
			}
			add_resource = { #Basrah
				type = oil
				amount = 5
				state = 171
			}
		}
		if = {
			limit = {
				tag = KUW
			}
			add_resource = {
				type = oil
				amount = 5
				state = 172
			}
		}
		if = {
			limit = {
				tag = BHR
			}
			add_resource = {
				type = oil
				amount = 5
				state = 423
			}
		}
		if = {
			limit = {
				tag = QAT
			}
			add_resource = {
				type = oil
				amount = 5
				state = 181
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				add = 20
				strength_ratio = {
					tag = ITA
					ratio > 1
				}
			}
		}
	}
}
#[From.GetName] refuses
country_event = {
	id = italy_md.7
	title = italy_md.7.t
	desc = italy_md.7.d
	picture = GFX_report_event_ENI_2
	is_triggered_only = yes

	option = {
		name = italy_md.7.o1
		log = "[GetDateText]: [This.GetName]: italy_md.7.o1 executed"
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_refused_oil_investments_africa
		}
		set_temp_variable = { wargoal_on = FROM }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			type = puppet_wargoal_focus
			target = FROM
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				FROM = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}

	option = {
		name = italy_md.7.o2
		log = "[GetDateText]: [This.GetName]: italy_md.7.o2 executed"
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_refused_oil_investments_africa
		}
		ai_chance = {
			base = 5
			modifier = {
				factor = 20
				FROM = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}
}
#[From.GetName] accepts!
country_event = {
	id = italy_md.8
	title = italy_md.8.t
	desc = italy_md.8.d
	picture = GFX_report_event_ENI_3
	is_triggered_only = yes

	option = {
		name = italy_md.8.o1
		log = "[GetDateText]: [This.GetName]: italy_md.8.o1 executed"
		add_opinion_modifier = {
			target = FROM
			modifier = ITA_accepted_oil_investments_africa
		}
		random_owned_state = {
			add_resource = {
				type = oil
				amount = 3
			}
		}
	}
}
country_event = {
	id = italy_md.9
	title = italy_md.9.t
	desc = italy_md.9.d
	picture = GFX_report_event_ENI_1
	is_triggered_only = yes

	option = {
		name = italy_md.9.o1
		log = "[GetDateText]: [This.GetName]: italy_md.9.o1 executed"
		add_resource = { #Egyptian Coast on the Red Sea
			type = oil
			amount = 16
			state = 219
		}
		add_opinion_modifier = {
			target = ITA
			modifier = ITA_oil_investments_africa
		}
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { tag_index = ITA.id }
		set_temp_variable = { percent_change = 5 }
		change_influence_percentage = yes
		ITA = { country_event = italy_md.8 }
	}

	option = {
		name = italy_md.9.o2
		log = "[GetDateText]: [This.GetName]: italy_md.9.o2 executed"
		add_resource = { #Egyptian Coast on the Red Sea
			type = oil
			amount = 8
			state = 219
		}
		set_temp_variable = { percent_change = 4 }
		change_domestic_influence_percentage = yes
		ITA = { country_event = italy_md.10 }
	}
}
#Egypt refuses!
country_event = {
	id = italy_md.10
	title = italy_md.10.t
	desc = italy_md.10.d
	picture = GFX_report_event_ENI_2
	is_triggered_only = yes

	option = {
		name = italy_md.10.o1
		log = "[GetDateText]: [This.GetName]: italy_md.10.o1 executed"
		if = {
			limit = { country_exists = EGY }
			EGY = { every_core_state = { add_claim_by = ROOT } }
			set_temp_variable = { wargoal_on = EGY }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = annex_everything
				target = EGY
			}
			add_opinion_modifier = {
				target = EGY
				modifier = ITA_refused_oil_investments_africa
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				EGY = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}

	option = {
		name = italy_md.10.o2
		log = "[GetDateText]: [This.GetName]: italy_md.10.o2 executed"
		if = {
			limit = { country_exists = EGY }
			add_opinion_modifier = {
				target = EGY
				modifier = ITA_refused_oil_investments_africa
			}
		}
		ai_chance = {
			base = 5
			modifier = {
				factor = 20
				EGY = { strength_ratio = { tag = ROOT ratio > 1 } }
			}
		}
	}
}
country_event = { #Space Income-Event
	id = italy_md.11
	title = italy_md.11.t
	desc = italy_md.11.d
	picture = GFX_report_event_Italy_From_Space_1
	is_triggered_only = yes

	option = {
		name = italy_md.11.o1
		log = "[GetDateText]: [This.GetName]: italy_md.11.o1 executed"
		add_to_variable = { treasury = ITA_space_income_var }
		custom_effect_tooltip = ITA_income_TT
		subtract_from_variable = { treasury = ITA_space_expenses_var }
		custom_effect_tooltip = ITA_expenses_TT
	}
}
#Attempt to Join SCO
country_event = {
	id = italy_md.12
	title = italy_md.12.t
	desc = italy_md.12.d
	picture = GFX_report_event_Tavolo_Trattative_2
	is_triggered_only = yes

	option = { #Accept
		name = italy_md.12.o1
		log = "[GetDateText]: [This.GetName]: italy_md.12.o1 executed"
		set_country_flag = accepted_italy_as_sco_candidate
		ITA = { country_event = diplomatic_response.1 }
		ai_chance = { base = 90 }
	}

	option = { #Decline
		name = italy_md.12.o2
		log = "[GetDateText]: [This.GetName]: italy_md.12.o2 executed"
		ITA = { country_event = diplomatic_response.2 }
		ai_chance = { base = 10 }
	}
}
#Reduce Expenses
country_event = {
	id = italy_md.13
	title = italy_md.13.t
	desc = italy_md.13.d
	picture = GFX_report_event_Money_ITA_3
	is_triggered_only = yes

	option = { #Education
		name = italy_md.13.o1
		log = "[GetDateText]: [This.GetName]: italy_md.13.o1 executed"
		decrease_education_budget = yes
	}

	option = { #Healthcare
		name = italy_md.13.o2
		log = "[GetDateText]: [This.GetName]: italy_md.13.o2 executed"
		decrease_healthcare_budget = yes
	}

	option = { #Welfare
		name = italy_md.13.o3
		log = "[GetDateText]: [This.GetName]: italy_md.13.o3 executed"
		decrease_social_spending = yes
	}
}
#Tutorial pt.2
country_event = {
	id = italy_md.14
	title = italy_md.14.t
	desc = italy_md.14.d
	picture = GFX_report_event_Italy_From_Space
	is_triggered_only = yes

	option = {
		name = italy_md.14.o1
		log = "[GetDateText]: [This.GetName]: italy_md.14.o1 executed"
		country_event = italy_md.25
	}

	option = {
		name = italy_md.14.o2
		log = "[GetDateText]: [This.GetName]: italy_md.14.o2 executed"
		country_event = italy_md.31
	}

	option = {
		name = italy_md.14.o3
		log = "[GetDateText]: [This.GetName]: italy_md.14.o3 executed"
		country_event = italy_md.39
	}

	option = {
		name = italy_md.14.o4
		log = "[GetDateText]: [This.GetName]: italy_md.14.o4 executed"
		country_event = italy_md.23
	}
}
#24th of August 2016 Earthquake
country_event = {
	id = italy_md.15
	title = italy_md.15.t
	desc = italy_md.15.d
	picture = GFX_report_event_Terremoto_2016
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.15.o1
		log = "[GetDateText]: [This.GetName]: italy_md.15.o1 executed"
		if = {
			limit = { has_idea = ITA_building_abuse_1 }
				960 = {
					if = {
						limit = { industrial_complex > 0 }
						damage_building = {
							type = industrial_complex
							damage = 1
						}
					}
					if = {
						limit = { infrastructure > 0 }
						damage_building = {
							type = infrastructure
							damage = 1
						}
					}
				}
				add_political_power = -200
				add_stability = -0.15
		}
		else_if = {
			limit = { has_completed_focus = ITA_stop_building_abuse }
				960 = {
					if = {
						limit = { industrial_complex > 0 }
						damage_building = {
							type = industrial_complex
							damage = 0.5
						}
					}
					if = {
						limit = { infrastructure > 0 }
						damage_building = {
							type = infrastructure
							damage = 0.2
						}
					}
				}
		}
	}
}
#6th of April 2009 Earthquake
country_event = {
	id = italy_md.16
	title = italy_md.16.t
	desc = italy_md.16.d
	picture = GFX_report_event_Terremoto_2009
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.16.o1
		log = "[GetDateText]: [This.GetName]: italy_md.16.o1 executed"
		if = {
			limit = { has_idea = ITA_building_abuse_1 }
				960 = {
					if = {
						limit = { industrial_complex > 0 }
						damage_building = {
							type = industrial_complex
							damage = 1
						}
					}
					if = {
						limit = { infrastructure > 0 }
						damage_building = {
							type = infrastructure
							damage = 1
						}
					}
				}
				add_political_power = -200
				add_stability = -0.15
		}
		else_if = {
			limit = { has_completed_focus = ITA_stop_building_abuse }
				960 = {
					if = {
						limit = { industrial_complex > 0 }
						damage_building = {
							type = industrial_complex
							damage = 0.5
						}
					}
					if = {
						limit = { infrastructure > 0 }
						damage_building = {
							type = infrastructure
							damage = 0.2
						}
					}
				}
		}
	}
}
#industrial cooperation trade deal
country_event = {
	id = italy_md.17
	title = italy_md.17.t
	desc = italy_md.17.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = { #accept
		name = italy_md.17.o1
		trigger = {
			any_owned_state = {
				is_controlled_by = OWNER
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = no
				}
			}
			ITA = {
				any_owned_state = {
					is_controlled_by = OWNER
					region = 23
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = no
					}
				}
			}
		}
		log = "[GetDateText]: [This.GetName]: italy_md.17.o1 executed"
		if = {
			limit = {
				has_cartels_penalties = yes
				has_country_flag = is_cartel_nation
			}
			set_temp_variable = { cart_influence_change = -3 }
			modify_cartel_variables_effect = yes
		}
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { receiver_nation = THIS.id }
		set_temp_variable = { sender_nation = ITA.id }
		set_improved_trade_agreement = yes
		set_temp_variable = { treasury_change = -8.5 }
		modify_treasury_effect = yes
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = no
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		ITA = {
			country_event = diplomatic_response.1
			set_temp_variable = { mafia_industrial_focus_base_cost = -8.5 }
			mafia_industrial_focus_north_effect = yes
			random_owned_controlled_state = {
				limit = {
					region = 23
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = no
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		ai_chance = {
			base = 2
		}
	}

	option = { #refuse
		name = italy_md.17.o2
		log = "[GetDateText]: [This.GetName]: italy_md.17.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
		}
		ai_chance = {
			base = 0
		}
	}
}
#resource trade deal
country_event = {
	id = italy_md.18
	title = italy_md.18.t
	desc = italy_md.18.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = {
		name = italy_md.18.o1
		log = "[GetDateText]: [This.GetName]: italy_md.18.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { receiver_nation = THIS.id }
		set_temp_variable = { sender_nation = ITA.id }
		set_improved_trade_agreement = yes
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		if = {
			limit = {
				OR = {
					tag = CHL
					tag = AST
					tag = ARG
				}
			}
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = tungsten
						amount > 7
					}
				}
				add_resource = {
					type = tungsten
					amount = -8
				}
			}
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { mafia_industrial_focus_base_cost = -7.5 }
				mafia_industrial_focus_north_effect = yes
				capital_scope = {
					add_resource = {
						type = tungsten
						amount = 8
					}
				}
			}
		}
		else_if = {
			limit = {
				OR = {
					tag = SAF
					tag = DRC
					tag = CAN
				}
			}
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = chromium
						amount > 7
					}
				}
				add_resource = {
					type = chromium
					amount = -8
				}
			}
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { mafia_industrial_focus_base_cost = -7.5 }
				mafia_industrial_focus_north_effect = yes
				capital_scope = {
					add_resource = {
						type = chromium
						amount = 8
					}
				}
			}
		}
		else_if = {
			limit = {
				OR = {
					tag = IND
					tag = MAY
					tag = SIA
					tag = VIE
				}
			}
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = rubber
						amount > 7
					}
				}
				add_resource = {
					type = rubber
					amount = -8
				}
			}
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { mafia_industrial_focus_base_cost = -7.5 }
				mafia_industrial_focus_north_effect = yes
				capital_scope = {
					add_resource = {
						type = rubber
						amount = 8
					}
				}
			}
		}
		else_if = {
			limit = {
				OR = {
					tag = SAU
					tag = IRQ
					tag = PER
				}
			}
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = oil
						amount > 7
					}
				}
				add_resource = {
					type = oil
					amount = -8
				}
			}
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { mafia_industrial_focus_base_cost = -7.5 }
				mafia_industrial_focus_north_effect = yes
				capital_scope = {
					add_resource = {
						type = oil
						amount = 8
					}
				}
			}
		}
		else_if = {
			limit = { tag = KAZ }
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = tungsten
						amount > 3
					}
				}
				add_resource = {
					type = tungsten
					amount = -4
				}
			}
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = oil
						amount > 3
					}
				}
				add_resource = {
					type = oil
					amount = -4
				}
			}
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { mafia_industrial_focus_base_cost = -7.5 }
				mafia_industrial_focus_north_effect = yes
				capital_scope = {
					add_resource = {
						type = oil
						amount = 4
					}
					add_resource = {
						type = tungsten
						amount = 4
					}
				}
			}
		}
		ai_chance = { base = 2 }
	}

	option = {
		name = italy_md.18.o2
		log = "[GetDateText]: [This.GetName]: italy_md.18.o2 executed"
		ITA = { country_event = diplomatic_response.2 }
		ai_chance = { base = 0 }
	}
}
#Italeave
country_event = {
	id = italy_md.19
	title = italy_md.19.t
	desc = italy_md.19.d
	picture = GFX_report_event_ITA_EU_Flag
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.19.o1
		log = "[GetDateText]: [This.GetName]: italy_md.19.o1 executed"
		custom_effect_tooltip = ITA_italeave_referendum
		hidden_effect = {
			if = {
				limit = {
					check_variable = {
							var = THIS.europeanism
							value = 0.5
							compare = less_than_or_equals
					}
				}
				random_list = {
					80 = {
						country_event = { id = italy_md.20 days = 1 }
					}
					20 = {
						country_event = { id = italy_md.21 days = 1 }
					}
				}
			}
			else_if = {
				limit = {
					check_variable = {
							var = THIS.europeanism
							value = 0.6
							compare = less_than_or_equals
					}
				}
				random_list = {
					60 = {
						country_event = { id = italy_md.20 days = 1 }
					}
					40 = {
						country_event = { id = italy_md.21 days = 1 }
					}
				}
			}
			else = {
				random_list = {
					50 = {
						country_event = { id = italy_md.20 days = 1 }
					}
					50 = {
						country_event = { id = italy_md.21 days = 1 }
					}
				}
			}
		}
	}
}
#Italeave: Leave
country_event = {
	id = italy_md.20
	title = italy_md.20.t
	desc = italy_md.20.d
	picture = GFX_report_event_Italexit
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.20.o1
		log = "[GetDateText]: [This.GetName]: italy_md.20.o1 executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_stability_factor_var = -0.05 tooltip = stability_factor_tt }
		set_temp_variable = { modify_europeanism = -0.20 }
		set_temp_variable = { modify_europeanism_target = ROOT }
		europeanism_change = yes
	}
}
#Italeave: Remain
country_event = {
	id = italy_md.21
	title = italy_md.21.t
	desc = italy_md.21.d
	picture = GFX_report_event_ITA_EU_Flag
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.21.o1
		log = "[GetDateText]: [This.GetName]: italy_md.21.o1 executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_stability_factor_var = 0.05 tooltip = stability_factor_tt }
		set_temp_variable = { modify_europeanism = 0.10 }
		set_temp_variable = { modify_europeanism_target = ROOT }
		europeanism_change = yes
	}
}
#Tutorial for Reform Expectance
country_event = {
	id = italy_md.22
	title = italy_md.22.t
	desc = italy_md.22.d
	picture = GFX_report_event_Reform_ITA
	is_triggered_only = yes

	option = {
		name = italy_md.22.o1
		log = "[GetDateText]: [This.GetName]: italy_md.22.o1 executed"
		country_event = italy_md.23
	}

	option = { name = italy_md.22.o2 }
}
#Tutorial for Italian Mechanics
country_event = {
	id = italy_md.23
	title = italy_md.23.t
	desc = italy_md.23.d
	picture = GFX_report_event_Italy_From_Space
	is_triggered_only = yes

	option = {
		name = italy_md.23.o1
		log = "[GetDateText]: [This.GetName]: italy_md.23.o1 executed"
		country_event = italy_md.22
	}

	option = {
		name = italy_md.23.o2
		log = "[GetDateText]: [This.GetName]: italy_md.23.o2 executed"
		country_event = italy_md.30
	}

	option = {
		name = italy_md.23.o3
		log = "[GetDateText]: [This.GetName]: italy_md.23.o3 executed"
		country_event = italy_md.14
	}

	option = { name = italy_md.23.o4 }
}
#Salerno-to-Reggio Calabria Motorway
country_event = {
	id = italy_md.24
	title = italy_md.24.t
	desc = italy_md.24.d
	picture = GFX_report_event_Salerno_reggio_calabria
	is_triggered_only = yes

	trigger = {
		original_tag = ITA
		owns_state = 82
	}

	option = {
		name = italy_md.24.o1
		log = "[GetDateText]: [This.GetName]: italy_md.24.o1 executed"
		if = {
			limit = { 82 = { infrastructure < 5 } }
			82 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
}
#Tutorial for Italian Space Decisions
country_event = {
	id = italy_md.25
	title = italy_md.25.t
	desc = italy_md.25.d
	picture = GFX_report_event_Italy_From_Space_1
	is_triggered_only = yes

	option = {
		name = italy_md.25.o1
		log = "[GetDateText]: [This.GetName]: italy_md.25.o1 executed"
		country_event = italy_md.14
	}

	option = { name = italy_md.25.o2 }
}
#event to change internal factions
country_event = {
	id = italy_md.26
	title = italy_md.26.t
	desc = italy_md.26.d
	picture = GFX_report_event_Reform_ITA
	is_triggered_only = yes

	option = {
		name = italy_md.26.o1 #confindustria
		trigger = {
			NOT = { has_idea = industrial_conglomerates }
		}
		log = "[GetDateText]: [This.GetName]: italy_md.26.o1 executed"
		if = {
			limit = {
				has_country_flag = ITA_replace_clergy_flag
			}
			swap_ideas = {
				remove_idea = the_clergy
				add_idea = industrial_conglomerates
			}
			clr_country_flag = ITA_replace_clergy_flag
		}
		if = {
			limit = {
				has_country_flag = ITA_replace_labour_unions
			}
			swap_ideas = {
				remove_idea = labour_unions
				add_idea = industrial_conglomerates
			}
			clr_country_flag = ITA_replace_labour_unions
		}
		ai_chance = {
			base = 4
		}
	}

	option = {
		name = italy_md.26.o2 #piazza affari
		trigger = {
			NOT = { has_idea = international_bankers }
		}
		log = "[GetDateText]: [This.GetName]: italy_md.26.o2 executed"
		if = {
			limit = {
				has_country_flag = ITA_replace_clergy_flag
			}
			swap_ideas = {
				remove_idea = the_clergy
				add_idea = international_bankers
			}
			clr_country_flag = ITA_replace_clergy_flag
		}
		if = {
			limit = {
				has_country_flag = ITA_replace_labour_unions
			}
			swap_ideas = {
				remove_idea = labour_unions
				add_idea = international_bankers
			}
			clr_country_flag = ITA_replace_labour_unions
		}
		ai_chance = {
			base = 8
		}
	}

	option = {
		name = italy_md.26.o3 #finmeccanica
		trigger = {
			NOT = { has_idea = defense_industry }
		}
		log = "[GetDateText]: [This.GetName]: italy_md.26.o3 executed"
		if = {
			limit = {
				has_country_flag = ITA_replace_clergy_flag
			}
			swap_ideas = {
				remove_idea = the_clergy
				add_idea = defense_industry
			}
			clr_country_flag = ITA_replace_clergy_flag
		}
		if = {
			limit = {
				has_country_flag = ITA_replace_labour_unions
			}
			swap_ideas = {
				remove_idea = labour_unions
				add_idea = defense_industry
			}
			clr_country_flag = ITA_replace_labour_unions
		}
		ai_chance = {
			base = 2
		}
	}

	option = {
		name = italy_md.26.o4 #coldiretti
		trigger = {
			NOT = { has_idea = farmers }
		}
		log = "[GetDateText]: [This.GetName]: italy_md.26.o4 executed"
		if = {
			limit = {
				has_country_flag = ITA_replace_clergy_flag
			}
			swap_ideas = {
				remove_idea = the_clergy
				add_idea = farmers
			}
			clr_country_flag = ITA_replace_clergy_flag
		}
		if = {
			limit = {
				has_country_flag = ITA_replace_labour_unions
			}
			swap_ideas = {
				remove_idea = labour_unions
				add_idea = farmers
			}
			clr_country_flag = ITA_replace_labour_unions
		}
		ai_chance = {
			base = 1
		}
	}
}
#Investments Abroad
country_event = {
	id = italy_md.27
	title = italy_md.27.t
	desc = italy_md.27.d
	picture = GFX_report_event_Money_ITA_1
	is_triggered_only = yes

	option = {
		name = italy_md.27.o1
		log = "[GetDateText]: [This.GetName]: italy_md.27.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = accepted_investment_request
		}
		ITA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = accepted_investment_request
			}
			hidden_effect = {
				country_event = {
					id = italy_md.270
					days = 2
				}
		}
	}
	random_core_state = {
		limit = { is_owned_and_controlled_by = ROOT }
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
					type = offices
					level = 1
					instant_build = yes
			}
		}
	}

	option = {
		name = italy_md.27.o2
		log = "[GetDateText]: [This.GetName]: italy_md.27.o2 executed"
		add_political_power = 50
		add_opinion_modifier = {
			target = ITA
			modifier = denied_investment_request
		}
		ITA = {
			add_opinion_modifier = {
				target = ROOT
				modifier = denied_investment_request
			}
			hidden_effect = {
				country_event = {
					id = italy_md.271
					days = 2
					}
				}
			}
		}
}
#Investments Abroad Yes
country_event = {
	id = italy_md.270
	title = italy_md.270.t
	desc = italy_md.270.d
	picture = GFX_report_event_Money_ITA_2
	is_triggered_only = yes

	option = {
		name = italy_md.270.o1
		log = "[GetDateText]: [This.GetName]: italy_md.270.o1 executed"
		every_core_state = {
		random_select_amount = 3
		limit = { is_owned_and_controlled_by = ROOT }
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
					type = offices
					level = 1
					instant_build = yes
			}
		}
	}
}
#Investments Abroad No
country_event = {
	id = italy_md.271
	title = italy_md.271.t
	desc = italy_md.271.d
	picture = GFX_report_event_Closed_Factory_1
	is_triggered_only = yes

	option = {
		name = italy_md.271.o1
		log = "[GetDateText]: [This.GetName]: italy_md.271.o1 executed"
		add_political_power = 50
	}
}


#Mafia Sabotages 1
country_event = {
	id = italy_md.28
	title = italy_md.28.t
	desc = italy_md.28.d
	picture = GFX_report_event_Closed_Factory_1
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		NOT = { has_country_flag = ITA_mafia_sabotages_1 }
		has_country_flag = ITA_attacked_hideouts
		any_owned_state = { industrial_complex > 0 }
		any_owned_state = { infrastructure > 0 }
	}

	option = {
		name = italy_md.28.o2
		log = "[GetDateText]: [This.GetName]: italy_md.28.o2 executed"
		set_country_flag = { flag = ITA_mafia_sabotages_1 value = 1 days = 180 }
		random_owned_state = {
			limit = { industrial_complex > 0 }
			damage_building = {
				type = industrial_complex
				damage = 0.5
			}
		}
		random_owned_state = {
			limit = { infrastructure > 0 }
			damage_building = {
				type = infrastructure
				damage = 0.5
			}
		}
		ai_chance = { base = 100 }
	}
}
#Mafia Sabotages 2
country_event = {
	id = italy_md.29
	title = italy_md.29.t
	desc = italy_md.29.d
	picture = GFX_report_event_Closed_Factory_1
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		NOT = { has_country_flag = ITA_mafia_sabotages_2 }
		has_country_flag = ITA_deployed_army_against_mafia
		any_owned_state = { arms_factory > 0 }
		any_owned_state = { industrial_complex > 0 }
	}

	option = {
		name = italy_md.29.o2
		log = "[GetDateText]: [This.GetName]: italy_md.29.o2 executed"
		set_country_flag = { flag = ITA_mafia_sabotages_2 value = 1 days = 180 }
		random_owned_state = {
			limit = { industrial_complex > 0 }
			damage_building = {
				type = industrial_complex
				damage = 1
			}
		}
		random_owned_state = {
			limit = { arms_factory > 0 }
			damage_building = {
				type = arms_factory
				damage = 1
			}
		}
		custom_effect_tooltip = ITA_continue_war_on_mafia_tt
		ai_chance = { base = 100 }
	}
}
#Tutorial for Mafia
country_event = {
	id = italy_md.30
	title = italy_md.30.t
	desc = italy_md.30.d
	picture = GFX_report_event_Mafia
	is_triggered_only = yes

	option = {
		name = italy_md.30.o1
		log = "[GetDateText]: [This.GetName]: italy_md.30.o1 executed"
		country_event = italy_md.23
	}

	option = { name = italy_md.30.o2 }
}
#Tutorial for weekly stability
country_event = {
	id = italy_md.31
	title = italy_md.31.t
	desc = italy_md.31.d
	picture = GFX_report_event_Pisa_Tower
	is_triggered_only = yes

	option = {
		name = italy_md.31.o1
		log = "[GetDateText]: [This.GetName]: italy_md.31.o1 executed"
		country_event = italy_md.14
	}

	option = { name = italy_md.31.o2 }
}
#Victory over Mafia
country_event = {
	id = italy_md.32
	title = italy_md.32.t
	desc = italy_md.32.d
	picture = GFX_report_event_Victory_over_mafia
	is_triggered_only = yes

	option = {
		name = italy_md.32.o1
		log = "[GetDateText]: [This.GetName]: italy_md.32.o1 executed"
		swap_ideas = {
			add_idea = ITA_victory_over_mafia
			remove_idea = ITA_mafia
		}
		clr_country_flag = ITA_mafia_sabotages_1
		clr_country_flag = ITA_mafia_sabotages_2
		clr_country_flag = ITA_deployed_army_against_mafia
		clr_country_flag = extraordinary_police_funding_flag
		clr_country_flag = protect_from_pizzo_sicily_flag
		clr_country_flag = protect_from_pizzo_campania_flag
		clr_country_flag = protect_from_pizzo_calabria_flag
		clr_country_flag = protect_from_pizzo_puglia_flag
		if = { limit = { has_dynamic_modifier = { modifier = ITA_mafia_modifier } } remove_dynamic_modifier = { modifier = ITA_mafia_modifier } }
		news_event = italy_news.8
		custom_effect_tooltip = ITA_end_war_on_mafia_tt
		82 = {
			if = { limit = { has_dynamic_modifier = { modifier = camorra_infiltrations_modifier } } remove_dynamic_modifier = { modifier = camorra_infiltrations_modifier } }
			clear_variable = camorra_infiltrations_var
			if = {
				limit = { has_dynamic_modifier = { modifier = mafia_foreign_investment } }
				remove_dynamic_modifier = { modifier = mafia_foreign_investment }
			}
		}
		956 = {
			if = { limit = { has_dynamic_modifier = { modifier = ndrangheta_infiltrations_modifier } } remove_dynamic_modifier = { modifier = ndrangheta_infiltrations_modifier } }
			clear_variable = ndrangheta_infiltrations_var
			if = {
				limit = { has_dynamic_modifier = { modifier = mafia_foreign_investment } }
				remove_dynamic_modifier = { modifier = mafia_foreign_investment }
			}
		}
		957 = {
			if = { limit = { has_dynamic_modifier = { modifier = sacra_corona_unita_infiltrations_modifier } } remove_dynamic_modifier = { modifier = sacra_corona_unita_infiltrations_modifier } }
			clear_variable = sacra_corona_unita_infiltrations_var
			if = {
				limit = { has_dynamic_modifier = { modifier = mafia_foreign_investment } }
				remove_dynamic_modifier = { modifier = mafia_foreign_investment }
			}
		}
		83 = {
			if = { limit = { has_dynamic_modifier = { modifier = cosa_nostra_infiltrations_modifier } } remove_dynamic_modifier = { modifier = cosa_nostra_infiltrations_modifier } }
			clear_variable = cosa_nostra_infiltrations_var
			if = {
				limit = { has_dynamic_modifier = { modifier = mafia_foreign_investment } }
				remove_dynamic_modifier = { modifier = mafia_foreign_investment }
			}
		}
		remove_ideas = ITA_war_with_Mafia
		if = {
			limit = { has_idea = ITA_mafia_unchallenged }
			remove_ideas = ITA_mafia_unchallenged
		}
		clear_variable = mafia_relapse_counter
		clear_variable = mafia_strength
		clear_variable = cosa_nostra_strength
		clear_variable = camorra_strength
		clear_variable = ndrangheta_strength
		clear_variable = sacra_corona_unita_strength
		clear_variable = mafia_strength_stab_var
		clear_variable = mafia_strength_construction_var
		clear_variable = mafia_strength_investment_var
		clear_variable = mafia_strength_pp_var
		clear_variable = mafia_strength_lega_drift_var
		clear_variable = police_effectivness
		clear_variable = police_effectiveness_sicily
		clear_variable = police_effectiveness_campania
		clear_variable = police_effectiveness_calabria
		clear_variable = police_effectiveness_puglia
		clear_variable = event_counter_1_sicily
		clear_variable = event_counter_2_sicily
		clear_variable = event_counter_3_sicily
		clear_variable = event_counter_4_sicily
		clear_variable = event_counter_1_campania
		clear_variable = event_counter_2_campania
		clear_variable = event_counter_3_campania
		clear_variable = event_counter_4_campania
		clear_variable = event_counter_1_calabria
		clear_variable = event_counter_2_calabria
		clear_variable = event_counter_3_calabria
		clear_variable = event_counter_4_calabria
		clear_variable = event_counter_1_puglia
		clear_variable = event_counter_2_puglia
		clear_variable = event_counter_3_puglia
		clear_variable = event_counter_4_puglia
		clear_variable = event_counter_1_mafia
		clear_variable = undercover_agents_sicily
		clear_variable = undercover_agents_campania
		clear_variable = undercover_agents_calabria
		clear_variable = undercover_agents_puglia
		clear_variable = extraordinary_police_funding_cost
		clear_variable = lega_subparty_drift
		clear_variable = monthly_drift_events_cosa_nostra
		clear_variable = monthly_drift_events_camorra
		clear_variable = monthly_drift_events_ndrangheta
		clear_variable = monthly_drift_events_sacra_corona_unita
		clear_variable = mafia_strength_ai_factor_var
		set_variable = { ITA_max_command_power_var = 0 }
	}
}
#lateran treaties
country_event = {
	id = italy_md.33
	title = italy_md.33.t
	desc = italy_md.33.d
	picture = GFX_report_event_crocifisso
	is_triggered_only = yes

	option = {
		name = italy_md.33.o1
		log = "[GetDateText]: [This.GetName]: italy_md.33.o1 executed"
		add_stability = 0.05
		add_political_power = -200
		ITA = {
			set_country_flag = HLS_lateran_treaties
			country_event = italy_md.1
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_opinion = {
					target = ITA
					value < 0
				}
			}
		}
	}

	option = {
		name = italy_md.33.o2
		log = "[GetDateText]: [This.GetName]: italy_md.33.o2 executed"
		add_stability = -0.05
		add_political_power = 200
		ITA = { country_event = italy_md.2 }
	}
}
#seek foreign investments
country_event = {
	id = italy_md.34
	title = italy_md.34.t
	desc = italy_md.34.d
	picture = GFX_report_event_Money_ITA_1
	is_triggered_only = yes

	option = {
		name = italy_md.34.o1
		log = "[GetDateText]: [This.GetName]: italy_md.34.o1 executed"
		if = {
			limit = { tag = CHI }
				set_country_flag = italy_china_trade_deal
				ITA = {
					set_country_flag = italy_china_trade_deal
					random_owned_controlled_state = { invest_cic = yes }
					country_event = italy_md.35
					add_opinion_modifier = {
						target = CHI
						modifier = accepted_investment_request
					}
					reverse_add_opinion_modifier = {
						target = CHI
						modifier = accepted_investment_request
					}
				}
		}
		else_if = {
			limit = { NOT = { tag = CHI } }
			set_temp_variable = { modify_europeanism = 0.05 }
			set_temp_variable = { modify_europeanism_target = ITA }
			europeanism_change = yes
			ITA = {
				random_owned_controlled_state = { invest_cic = yes }
				country_event = italy_md.35
				add_opinion_modifier = {
					target = ROOT
					modifier = accepted_investment_request
				}
			}
		}
	}

	option = {
		name = italy_md.34.o2
		log = "[GetDateText]: [This.GetName]: italy_md.34.o2 executed"
		ITA = {
			country_event = italy_md.36
			add_opinion_modifier = {
				target = ROOT
				modifier = denied_investment_request
			}
		}
	}
}
#foreign investments request accepted
country_event = {
	id = italy_md.35
	title = italy_md.35.t
	desc = italy_md.35.d
	picture = GFX_report_event_Money_ITA_2
	is_triggered_only = yes

	option = { name = italy_md.35.o1 }
}
#foreign investments request denied
country_event = {
	id = italy_md.36
	title = italy_md.36.t
	desc = italy_md.36.d
	picture = GFX_report_event_Infrastructure_1
	is_triggered_only = yes

	option = { name = italy_md.36.o1 }
}
#tag switch to SCL (padania)
country_event = {
	id = italy_md.37
	title = italy_md.37.t
	desc = italy_md.37.d
	picture = GFX_report_event_Scissor_Italy
	is_triggered_only = yes

	option = {
		name = italy_md.37.o1
		log = "[GetDateText]: [This.GetName]: italy_md.37.o1 executed"
		SCL = { change_tag_from = ITA }
		# Playing on as Padania throws away the rest of the Italian tree.
		ai_chance = { base = 0 }
	}

	option = {
		name = italy_md.37.o2
		ai_chance = { base = 100 }
	}
}
#government crisis
country_event = {
	id = italy_md.38
	title = italy_md.38.t
	desc = italy_md.38.d
	picture = GFX_report_event_camera
	is_triggered_only = yes

	option = {
		name = italy_md.38.o1
		log = "[GetDateText]: [This.GetName]: italy_md.38.o1 executed"
		add_political_power = 300
		country_event = MD4_election_campaign.0
		hidden_effect = { set_elections_60_months = yes }
		ai_chance = { base = 10 }
	}

	option = {
		trigger = { NOT = { has_country_leader_with_trait = western_technocrat } }
		name = italy_md.38.o2
		log = "[GetDateText]: [This.GetName]: italy_md.38.o2 executed"
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_stability_factor_var = -0.04 tooltip = stability_factor_tt }
		if = {
			limit = { has_country_flag = delayed_government_crisis_1 }
				set_country_flag = delayed_government_crisis_2
		}
		else = { set_country_flag = delayed_government_crisis_1 }
		ai_chance = {
			base = 1
			modifier = {
				factor = 0.1
				has_country_flag = delayed_government_crisis_1
			}
			modifier = {
				factor = 0.1
				has_country_flag = delayed_government_crisis_2
			}
			modifier = {
				factor = 100
				OR = {
					focus_progress = {
						focus = ITA_anti_corruption_measures
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_relax_legal_framework
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_war_with_mafia
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_fire_excessive_government_employees
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_let_salaries_decrease
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_reduce_expenses
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_stimulate_growth
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_increase_pension_age_requirements
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_recalculate_baby_pensions
						progress < 0.9
					}
					focus_progress = {
						focus = ITA_modern_education
						progress < 0.9
					}
				}
			}
		}
	}

	option = {
		trigger = { has_country_leader_with_trait = western_technocrat }
		name = italy_md.38.o3
		log = "[GetDateText]: [This.GetName]: italy_md.38.o3 executed"
		recalculate_party_strength = yes
		set_country_flag = coalition_forming
		activate_mission = coalition_countdown
		ai_chance = { base = 100 }
	}
}
#Tutorial for policy change
country_event = {
	id = italy_md.39
	title = italy_md.39.t
	desc = italy_md.39.d
	picture = GFX_report_event_Italy
	is_triggered_only = yes

	option = {
		name = italy_md.39.o1
		log = "[GetDateText]: [This.GetName]: italy_md.39.o1 executed"
		country_event = italy_md.14
	}

	option = { name = italy_md.39.o2 }
}
#Salvini rises
country_event = {
	id = italy_md.40
	title = italy_md.40.t
	desc = italy_md.40.d
	picture = GFX_report_event_Tavolo_Trattative_2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.40.o1
		log = "[GetDateText]: [This.GetName]: italy_md.40.o1 executed"
		add_ideas = ITA_russian_propaganda
		set_country_flag = ITA_salvini_took_over_lega
		set_temp_variable = { negative_lega_popularity = party_pop_array^14 }
		multiply_temp_variable = { negative_lega_popularity = -1 }
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = party_pop_array^14 }
		set_temp_variable = { temp_outlook_increase = party_pop_array^14 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = negative_lega_popularity }
		set_temp_variable = { temp_outlook_increase = negative_lega_popularity }
		change_relative_party_popularity = yes
	}
}
#Movimento 5 stelle is born
country_event = {
	id = italy_md.41
	title = italy_md.41.t
	desc = italy_md.41.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.41.o1
		log = "[GetDateText]: [This.GetName]: italy_md.41.o1 executed"
		set_country_flag = ITA_five_star_movement_founded
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.033 }
		change_relative_party_popularity = yes
	}
}
#Naples waste crysis
country_event = {
	id = italy_md.42
	title = italy_md.42.t
	desc = italy_md.42.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.42.o1
		log = "[GetDateText]: [This.GetName]: italy_md.42.o1 executed"
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { nimby_culture_change = 0.05 }
		modify_nimby_modifier_effect = yes
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_energy_gain_var = 0.25 tooltip = energy_gain_tt }
	}

	option = {
		name = italy_md.42.o2
		log = "[GetDateText]: [This.GetName]: italy_md.42.o2 executed"
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
	}

	option = {
		trigger = { has_idea = ITA_mafia }
		name = italy_md.42.o3
		log = "[GetDateText]: [This.GetName]: italy_md.42.o3 executed"
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		add_to_variable = { camorra_strength = 0.05 }
	}
}
#Rome waste crysis
country_event = {
	id = italy_md.43
	title = italy_md.43.t
	desc = italy_md.43.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes

	option = {
		name = italy_md.43.o1
		log = "[GetDateText]: [This.GetName]: italy_md.43.o1 executed"
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { nimby_culture_change = 0.05 }
		modify_nimby_modifier_effect = yes
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_energy_gain_var = 0.25 tooltip = energy_gain_tt }
	}

	option = {
		name = italy_md.43.o2
		log = "[GetDateText]: [This.GetName]: italy_md.43.o2 executed"
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
	}

	option = {
		trigger = { has_idea = ITA_mafia }
		name = italy_md.43.o3
		log = "[GetDateText]: [This.GetName]: italy_md.43.o3 executed"
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		add_to_variable = { camorra_strength = 0.05 }
	}
}
#military cooperation diplo focuses
country_event = {
	id = italy_md.44
	title = italy_md.44.t
	desc = italy_md.44.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = {
		name = italy_md.44.o1
		log = "[GetDateText]: [This.GetName]: italy_md.44.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { treasury_change = 20 }
		modify_treasury_effect = yes
		if = {
			limit = { tag = CHI }
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { treasury_change = -15 }
				modify_treasury_effect = yes
				if = {
					limit = { has_dlc = "By Blood Alone" }
					add_equipment_to_stockpile = {
						type = medium_plane_fighter_airframe_1
						amount = 50
						producer = CHI
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = AS_Fighter2
						amount = 50
						producer = CHI
					}
				}
				if = {
					limit = { has_dlc = "No Step Back" }
					add_equipment_to_stockpile = {
						type = medium_tank_amphibious_chassis_1
						amount = 1000
						producer = CHI
					}
					add_equipment_to_stockpile = {
						type = medium_tank_flame_chassis_0
						amount = 1000
						producer = CHI
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = APC_2
						amount = 1000
						producer = CHI
					}
					add_equipment_to_stockpile = {
						type = IFV_2
						amount = 1000
						producer = CHI
					}
				}
			}
		}
		else_if = {
			limit = { tag = SOV }
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { treasury_change = -15 }
				modify_treasury_effect = yes
				if = {
					limit = { has_dlc = "By Blood Alone" }
					add_equipment_to_stockpile = {
						type = medium_plane_fighter_airframe_1
						amount = 50
						producer = SOV
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = AS_Fighter2
						amount = 50
						producer = SOV
					}
				}
				if = {
					limit = { has_dlc = "No Step Back" }
					add_equipment_to_stockpile = {
						type = medium_tank_amphibious_chassis_1
						amount = 1000
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = medium_tank_flame_chassis_0
						amount = 1000
						producer = SOV
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = APC_2
						amount = 1000
						producer = SOV
					}
					add_equipment_to_stockpile = {
						type = IFV_2
						amount = 1000
						producer = SOV
					}
				}
			}
		}
		else_if = {
			limit = { tag = USA }
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { treasury_change = -20 }
				modify_treasury_effect = yes
				if = {
					limit = { has_dlc = "By Blood Alone" }
					add_equipment_to_stockpile = {
						type = medium_plane_fighter_airframe_2
						amount = 100
						producer = USA
					}
				}
				else = {
					add_equipment_to_stockpile = {
						type = AS_Fighter3
						amount = 100
						producer = USA
					}
				}
			}
		}
		ai_chance = { base = 2 }
	}

	option = {
		name = italy_md.44.o2
		log = "[GetDateText]: [This.GetName]: italy_md.44.o2 executed"
		ITA = { country_event = diplomatic_response.2 }
		ai_chance = { base = 0 }
	}
}
#restored roman borders
country_event = {
	id = italy_md.45
	title = italy_md.45.t
	desc = italy_md.45.d
	picture = GFX_report_event_Vittoriano
	is_triggered_only = yes

	option = {
		name = italy_md.45.o1
		log = "[GetDateText]: [This.GetName]: italy_md.45.o1 executed"
		add_ideas = ITA_roma_invicta
	}
}
#restored all monuments
country_event = {
	id = italy_md.46
	title = italy_md.46.t
	desc = italy_md.46.d
	picture = GFX_report_event_Vittoriano
	is_triggered_only = yes

	option = {
		name = italy_md.46.o1
		log = "[GetDateText]: [This.GetName]: italy_md.46.o1 executed"
		add_ideas = ITA_architectural_masters
	}
}
#a party has left the coalition
country_event = {
	id = italy_md.47
	title = italy_md.47.t
	desc = italy_md.47.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	option = { name = italy_md.47.o1 }
}
#romanization decision complete notification
country_event = {
	id = italy_md.48
	title = italy_md.48.t
	desc = italy_md.48.d
	picture = GFX_report_event_Vittoriano
	is_triggered_only = yes

	option = { name = italy_md.48.o1 }
}
#Italy threatens neighbour for territory
country_event = {
	id = italy_md.49
	title = italy_md.49.t
	desc = italy_md.49.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #Accept
		name = italy_md.49.o1
		log = "[GetDateText]: [This.GetName]: italy_md.49.o1 executed"
		every_owned_state = {
			limit = { is_core_of = ITA }
			transfer_state_to = ITA
		}
		ITA = {
			country_event = diplomatic_response.1
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = ITA
					ratio > 1
				}
			}
		}
	}

	option = { #Refuse
		name = italy_md.49.o2
		log = "[GetDateText]: [This.GetName]: italy_md.49.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = take_core_state
				target = ROOT
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				add = 10
				strength_ratio = {
					tag = ITA
					ratio > 1
				}
			}
		}
	}
}
#Italy bribes neighbour for territory
country_event = {
	id = italy_md.50
	title = italy_md.50.t
	desc = italy_md.50.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #Accept
		name = italy_md.50.o1
		log = "[GetDateText]: [This.GetName]: italy_md.50.o1 executed"
		every_owned_state = {
			limit = { is_core_of = ITA }
			transfer_state_to = ITA
			ITA = {
				country_event = diplomatic_response.1
				set_temp_variable = { treasury_change = -50 }
				modify_treasury_effect = yes
			}
		}
		set_temp_variable = { treasury_change = 50 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				has_opinion = {
					target = ITA
					value > 0
				}
			}
		}
	}

	option = { #Refuse
		name = italy_md.50.o2
		log = "[GetDateText]: [This.GetName]: italy_md.50.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = take_core_state
				target = ROOT
			}
		}
		ai_chance = {
			base = 0
			modifier = {
				add = 10
				has_opinion = {
					target = ITA
					value < 0
				}
			}
		}
	}
}
#demand carniola
country_event = {
	id = italy_md.51
	title = italy_md.51.t
	desc = italy_md.51.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.51.o1
		log = "[GetDateText]: [This.GetName]: italy_md.51.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		124 = {
			controller = {
				country_event = italy_md.49
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = SLV
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.51.o2
		log = "[GetDateText]: [This.GetName]: italy_md.51.o2 executed"
		124 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#demand dalmatia
country_event = {
	id = italy_md.52
	title = italy_md.52.t
	desc = italy_md.52.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.52.o1
		log = "[GetDateText]: [This.GetName]: italy_md.52.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		127 = {
			controller = {
				country_event = italy_md.49
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = CRO
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.52.o2
		log = "[GetDateText]: [This.GetName]: italy_md.52.o2 executed"
		127 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#demand savoy
country_event = {
	id = italy_md.53
	title = italy_md.53.t
	desc = italy_md.53.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.53.o1
		log = "[GetDateText]: [This.GetName]: italy_md.53.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		857 = {
			controller = {
				country_event = italy_md.49
				add_opinion_modifier = {
					target = ITA
					modifier = declaration_of_hostility
				}
				remove_opinion_modifier = {
					target = ITA
					modifier = declaration_of_friendship
				}
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = FRA
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.53.o2
		log = "[GetDateText]: [This.GetName]: italy_md.53.o2 executed"
		857 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#alitalia
country_event = {
	id = italy_md.54
	title = italy_md.54.t
	desc = italy_md.54.d
	picture = GFX_passenger_plane
	is_triggered_only = yes

	option = {
		name = italy_md.54.o1
		log = "[GetDateText]: [This.GetName]: italy_md.54.o1 executed"
		set_temp_variable = { money_amount = gdp_total }
		multiply_temp_variable = { money_amount = -0.01 }
		set_temp_variable = { treasury_change = money_amount }
		modify_treasury_effect = yes
		set_temp_variable = { temp_opinion = 5 }
		change_labour_unions_opinion = yes
	}

	option = {
		trigger = {
			has_idea = ITA_privatizations
			has_idea = ITA_dynamic_economy
		}
		name = italy_md.54.o2
		log = "[GetDateText]: [This.GetName]: italy_md.54.o2 executed"
		set_country_flag = privatized_alitalia
		set_temp_variable = { money_amount = gdp_total }
		multiply_temp_variable = { money_amount = 0.02 }
		set_temp_variable = { treasury_change = money_amount }
		modify_treasury_effect = yes
		set_temp_variable = { temp_opinion = -10 }
		change_labour_unions_opinion = yes
		set_temp_variable = { temp_opinion = 10 }
		change_international_bankers_opinion = yes
	}

	option = {
		name = italy_md.54.o3
		log = "[GetDateText]: [This.GetName]: italy_md.54.o3 executed"
		set_country_flag = ITA_alitalia_collapsed
		set_temp_variable = { temp_opinion = -15 }
		change_labour_unions_opinion = yes
		set_temp_variable = { temp_opinion = 5 }
		change_international_bankers_opinion = yes
		add_stability = -0.02
	}
}
#demand ticino-grabunden
country_event = {
	id = italy_md.55
	title = italy_md.55.t
	desc = italy_md.55.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.55.o1
		log = "[GetDateText]: [This.GetName]: italy_md.55.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		73 = {
			controller = {
				country_event = italy_md.49
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = SWI
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.55.o2
		log = "[GetDateText]: [This.GetName]: italy_md.55.o2 executed"
		73 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#demand corsica
country_event = {
	id = italy_md.56
	title = italy_md.56.t
	desc = italy_md.56.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.56.o1
		log = "[GetDateText]: [This.GetName]: italy_md.56.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		65 = {
			controller = {
				country_event = italy_md.49
				add_opinion_modifier = {
					target = ITA
					modifier = declaration_of_hostility
				}
				remove_opinion_modifier = {
					target = ITA
					modifier = declaration_of_friendship
				}
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = FRA
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.56.o2
		log = "[GetDateText]: [This.GetName]: italy_md.56.o2 executed"
		65 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#demand nice
country_event = {
	id = italy_md.57
	title = italy_md.57.t
	desc = italy_md.57.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.57.o1
		log = "[GetDateText]: [This.GetName]: italy_md.57.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		1000 = {
			controller = {
				country_event = italy_md.49
				add_opinion_modifier = {
					target = ITA
					modifier = declaration_of_hostility
				}
				remove_opinion_modifier = {
					target = ITA
					modifier = declaration_of_friendship
				}
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = FRA
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.57.o2
		log = "[GetDateText]: [This.GetName]: italy_md.57.o2 executed"
		1000 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#demand ionian islands
country_event = {
	id = italy_md.58
	title = italy_md.58.t
	desc = italy_md.58.d
	picture = GFX_report_event_Parata_2_Giugno
	is_triggered_only = yes

	option = { #threaten
		name = italy_md.58.o1
		log = "[GetDateText]: [This.GetName]: italy_md.58.o1 executed"
		add_named_threat = {
			name = demanded_subjugation
			threat = 1
		}
		1062 = {
			controller = {
				country_event = italy_md.49
				add_opinion_modifier = {
					target = ITA
					modifier = declaration_of_hostility
				}
				remove_opinion_modifier = {
					target = ITA
					modifier = declaration_of_friendship
				}
			}
		}
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				strength_ratio = {
					tag = GRE
					ratio < 1
				}
			}
		}
	}

	option = { #bribe
		name = italy_md.58.o2
		log = "[GetDateText]: [This.GetName]: italy_md.58.o2 executed"
		1062 = {
			controller = {
				country_event = italy_md.50
			}
		}
		ai_chance = {
			base = 5
		}
	}
}
#xylella in puglia
country_event = {
	id = italy_md.59
	title = italy_md.59.t
	desc = italy_md.59.d
	picture = GFX_report_event_Sicily_Farms
	is_triggered_only = yes

	option = {
		trigger = { NOT = { has_idea = ITA_gmos_encouraged } }
		name = italy_md.59.o1
		log = "[GetDateText]: [This.GetName]: italy_md.59.o1 executed"
		957 = { add_dynamic_modifier = { modifier = xylella_epidemic } }
		add_to_variable = { ITA_additional_expenses_var = 0.05 }
		ai_chance = { base = 5 }
	}

	option = {
		trigger = { has_idea = ITA_gmos_encouraged }
		name = italy_md.59.o2
		ai_chance = { base = 5 }
	}
}
#g8 genova
country_event = {
	id = italy_md.60
	title = italy_md.60.t
	desc = italy_md.60.d
	picture = GFX_report_event_Protest_ITA_1
	is_triggered_only = yes

	option = {
		name = italy_md.60.o1
		log = "[GetDateText]: [This.GetName]: italy_md.60.o1 executed"
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}

	option = {
		name = italy_md.60.o2
		log = "[GetDateText]: [This.GetName]: italy_md.60.o2 executed"
		add_political_power = -150
		ai_chance = { base = 5 }
	}
}
#morandi bridge
country_event = {
	id = italy_md.61
	title = italy_md.61.t
	desc = italy_md.61.d
	picture = GFX_report_event_Infrastructure_1
	is_triggered_only = yes

	option = {
		name = italy_md.61.o1
		log = "[GetDateText]: [This.GetName]: italy_md.61.o1 executed"
		1060 = {
			if = {
				limit = { infrastructure > 0 }
				damage_building = {
					type = infrastructure
					damage = 1
				}
			}
		}
		ai_chance = { base = 5 }
	}
}
#drought
country_event = {
	id = italy_md.62
	title = italy_md.62.t
	desc = italy_md.62.d
	picture = GFX_report_event_Sicily_Farms
	is_triggered_only = yes

	option = {
		trigger = { NOT = { has_country_flag = ITA_private_water } }
		name = italy_md.62.o1
		log = "[GetDateText]: [This.GetName]: italy_md.62.o1 executed"
		add_timed_idea = {
			idea = ITA_drought
			days = 150
		}
		ai_chance = { base = 5 }
	}

	option = {
		trigger = { has_country_flag = ITA_private_water }
		name = italy_md.62.o2
		ai_chance = { base = 5 }
	}
}
#tourism trade deal
country_event = {
	id = italy_md.63
	title = italy_md.63.t
	desc = italy_md.63.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = { #accept
		name = italy_md.63.o1
		log = "[GetDateText]: [This.GetName]: italy_md.63.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { receiver_nation = THIS.id }
		set_temp_variable = { sender_nation = ITA.id }
		set_improved_trade_agreement = yes
		set_temp_variable = { treasury_change = -13 }
		modify_treasury_effect = yes
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = offices
				level = 1
				instant_build = yes
			}
		}
		ITA = {
			country_event = diplomatic_response.1
			set_temp_variable = { mafia_industrial_focus_base_cost = -13 }
			mafia_industrial_focus_north_effect = yes
			random_owned_state = {
				limit = {
					region = 23
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
					instant_build = yes
				}
			}
		}
		ai_chance = {
			base = 2
		}
	}

	option = { #refuse
		name = italy_md.63.o2
		log = "[GetDateText]: [This.GetName]: italy_md.63.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
		}
		ai_chance = {
			base = 0
		}
	}
}
#migration deal
country_event = {
	id = italy_md.64
	title = italy_md.64.t
	desc = italy_md.64.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = { #accept
		name = italy_md.64.o1
		log = "[GetDateText]: [This.GetName]: italy_md.64.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { treasury_change = 5 }
		modify_treasury_effect = yes
		ITA = {
			country_event = diplomatic_response.1
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
			if = {
				limit = {
					OR = {
						has_idea = ITA_migrants_from_africa
						has_idea = ITA_migrants_from_africa_limited
					}
				}
				custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
				add_to_variable = { ITA_police_cost_multiplier_modifier_var = -0.025 tooltip = police_cost_multiplier_modifier_tt }
			}
			else_if = {
				limit = {
					OR = {
						has_idea = ITA_migrants_from_africa_encouraged
						has_idea = ITA_migration_tolerated
					}
				}
				custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
				add_to_variable = { ITA_MONTHLY_POPULATION_var = 0.05 tooltip = MONTHLY_POPULATION_tt }
			}
		}
		ai_chance = {
			base = 2
		}
	}

	option = { #refuse
		name = italy_md.64.o2
		log = "[GetDateText]: [This.GetName]: italy_md.64.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
		}
		ai_chance = {
			base = 0
		}
	}
}
#tech deal
country_event = {
	id = italy_md.65
	title = italy_md.65.t
	desc = italy_md.65.d
	picture = GFX_report_event_Tavolo_Trattative_1
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = ITA }
		NOT = { is_subject_of = ITA }
	}

	option = { #accept
		name = italy_md.65.o1
		log = "[GetDateText]: [This.GetName]: italy_md.65.o1 executed"
		add_opinion_modifier = {
			target = ITA
			modifier = declaration_of_friendship
		}
		set_temp_variable = { receiver_nation = THIS.id }
		set_temp_variable = { sender_nation = ITA.id }
		set_improved_trade_agreement = yes
		set_temp_variable = { treasury_change = 10 }
		modify_treasury_effect = yes
		if = {
			limit = { tag = TAI }
			ITA = {
				add_tech_bonus = {
					name = italy_md.65.t
					bonus = 1
					uses = 1
					category = CAT_information_technology
				} hidden_effect = { rq_eb_23806fd8ee = yes }
			}
		}
		if = {
			limit = { tag = ISR }
			ITA = {
				add_tech_bonus = {
					name = italy_md.65.t
					bonus = 1
					uses = 1
					category = CAT_genetics
				} hidden_effect = { rq_eb_1789f429aa = yes }
			}
		}
		ITA = {
			country_event = diplomatic_response.1
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
			add_to_variable = { ITA_research_speed_factor_var = 0.05 tooltip = research_speed_factor_tt }
		}
		ai_chance = {
			base = 2
		}
	}

	option = { #refuse
		name = italy_md.65.o2
		log = "[GetDateText]: [This.GetName]: italy_md.65.o2 executed"
		ITA = {
			country_event = diplomatic_response.2
		}
		ai_chance = {
			base = 0
		}
	}
}
#leu is founded
country_event = {
	id = italy_md.66
	title = italy_md.66.t
	desc = italy_md.66.d
	picture = GFX_report_event_Tavolo_Trattative_2
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = italy_md.66.o1
		log = "[GetDateText]: [This.GetName]: italy_md.66.o1 executed"
		set_country_flag = ITA_leu_founded
		set_temp_variable = { pd_popularity = party_pop_array^3 }
		multiply_temp_variable = { pd_popularity = 0.25 }
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = pd_popularity }
		set_temp_variable = { temp_outlook_increase = pd_popularity }
		change_relative_party_popularity = yes
		multiply_temp_variable = { pd_popularity = -1 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = pd_popularity }
		set_temp_variable = { temp_outlook_increase = pd_popularity }
		change_relative_party_popularity = yes
	}
}
#choose technocrat
country_event = {
	id = italy_md.67
	title = italy_md.67.t
	desc = italy_md.67.d
	picture = GFX_report_event_Tavolo_Trattative_2
	is_triggered_only = yes

	option = {
		name = italy_md.67.o1
		log = "[GetDateText]: [This.GetName]: italy_md.67.o1 executed"
		set_temp_variable = { rul_party_temp = 0 }
		change_ruling_party_effect = yes
		create_country_leader = {
			name = "Mario Monti"
			picture = "mario_monti.dds"
			ideology = Western_Autocracy
			traits = {
				western_technocrat
				experienced_banker
				economist
			}
		}
		recalculate_party_strength = yes
		set_country_flag = coalition_forming
		activate_mission = coalition_countdown
		ai_chance = { base = 1 }
	}

	option = {
		name = italy_md.67.o2
		log = "[GetDateText]: [This.GetName]: italy_md.67.o2 executed"
		set_temp_variable = { rul_party_temp = 0 }
		change_ruling_party_effect = yes
		create_country_leader = {
			name = "Mario Draghi"
			picture = "mario_draghi.dds"
			ideology = Western_Autocracy
			traits = {
				western_technocrat
				experienced_banker
				economist
			}
		}
		recalculate_party_strength = yes
		set_country_flag = coalition_forming
		activate_mission = coalition_countdown
		ai_chance = { base = 1 }
	}

	option = {
		name = italy_md.67.o3
		log = "[GetDateText]: [This.GetName]: italy_md.67.o3 executed"
		set_temp_variable = { rul_party_temp = 0 }
		change_ruling_party_effect = yes
		create_country_leader = {
			name = "Carlo Cottarelli"
			picture = "Carlo_Cottarelli.dds"
			ideology = Western_Autocracy
			traits = {
				western_technocrat
				experienced_banker
				economist
			}
		}
		recalculate_party_strength = yes
		set_country_flag = coalition_forming
		activate_mission = coalition_countdown
		ai_chance = { base = 0 }
	}
}
#civil war winner revolter tag switches to ita
country_event = {
	id = italy_md.68
	title = italy_md.68.t
	desc = italy_md.68.d
	picture = GFX_report_event_Tavolo_Trattative_2
	is_triggered_only = yes

	option = {
		name = italy_md.68.o1
		log = "[GetDateText]: [This.GetName]: italy_md.68.o1 executed"
		every_owned_state = {
			limit = {
				is_capital = no
				is_core_of = ROOT
			}
			add_core_of = SCL
		}
		release = SCL
		SCL = {
			set_variable = { tag_to_grab = ROOT.id }
			update_missile_satellite_inventory = yes
			for_each_loop = {
				array = party_pop_array
				value = v
				index = i
				set_variable = { party_pop_array^i = ROOT.party_pop_array^i }
			}
			if = {
				limit = { ROOT = { has_government = democratic } }
				set_politics = { ruling_party = democratic }
			}
			if = {
				limit = { ROOT = { has_government = fascism } }
				set_politics = { ruling_party = fascism }
			}
			if = {
				limit = { ROOT = { has_government = communism } }
				set_politics = { ruling_party = communism }
			}
			if = {
				limit = { ROOT = { has_government = neutrality } }
				set_politics = { ruling_party = neutrality }
			}
			if = {
				limit = { ROOT = { has_government = nationalist } }
				set_politics = { ruling_party = nationalist }
			}
			if = {
				limit = { ROOT = { has_variable = ruling_party } }
				set_variable = { ruling_party = ROOT.ruling_party }
			}
			for_each_loop = {
				array = gov_coalition_array
				value = v
				index = i
				set_variable = { gov_coalition_array^i = ROOT.gov_coalition_array^i }
			}
		}
		transfer_units_fraction = {
			target = SCL
			size = 1
			stockpile_ratio = 1
			army_ratio = 1
			navy_ratio = 1
			air_ratio = 1
		}
		SCL = {
			annex_country = {
				target = ROOT
				transfer_troops = yes
			}
			every_owned_state = {
				limit = { is_capital = yes }
				remove_core_of = ITA
			}
			every_owned_state = {
				limit = {
					is_capital = no
					is_core_of = SCL
				}
				add_core_of = ITA
				remove_core_of = SCL
			}
			release = ITA
			ITA = {
				for_each_loop = {
					array = party_pop_array
					value = v
					index = i
					set_variable = { party_pop_array^i = SCL.party_pop_array^i }
				}
				if = {
					limit = { SCL = { has_government = democratic } }
					set_politics = { ruling_party = democratic }
				}
				if = {
					limit = { SCL = { has_government = fascism } }
					set_politics = { ruling_party = fascism }
				}
				if = {
					limit = { SCL = { has_government = communism } }
					set_politics = { ruling_party = communism }
				}
				if = {
					limit = { SCL = { has_government = neutrality } }
					set_politics = { ruling_party = neutrality }
				}
				if = {
					limit = { SCL = { has_government = nationalist } }
					set_politics = { ruling_party = nationalist }
				}
				if = {
					limit = { SCL = { has_variable = ruling_party } }
					set_variable = { ruling_party = SCL.ruling_party }
				}
				for_each_loop = {
					array = gov_coalition_array
					value = v
					index = i
					set_variable = { gov_coalition_array^i = SCL.gov_coalition_array^i }
				}
			}
			SCL = {
				every_owned_state = {
					limit = { is_capital = yes }
					add_core_of = ITA
				}
			}
			transfer_units_fraction = {
				target = ITA
				size = 1
				stockpile_ratio = 1
				army_ratio = 1
				navy_ratio = 1
				air_ratio = 1
			}
			ITA = {
				change_tag_from = ROOT
				set_variable = { tag_to_grab = SCL.id }
				update_missile_satellite_inventory = yes
				annex_country = {
					target = SCL
					transfer_troops = yes
				}
				set_leader = yes
				custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
				add_to_variable = { ITA_stability_factor_var = 0.6 tooltip = stability_factor_tt }
				add_to_variable = { ITA_stability_weekly_var = 0.003 tooltip = stability_weekly_tt }
			}
		}
		ai_chance = { base = 10 }
	}
}
#low stability protests start
country_event = {
	id = italy_md.69
	title = italy_md.69.t
	desc = italy_md.69.d
	picture = GFX_report_event_Protest_ITA_1
	is_triggered_only = yes

	option = {
		name = italy_md.69.o1
		log = "[GetDateText]: [This.GetName]: italy_md.69.o1 executed"
		set_country_flag = low_stability_protests_flag
		add_timed_idea = {
			idea = ITA_low_stability_protests_spirit
			days = 365
		}
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = ITA_multipurpose_modifier }
		add_to_variable = { ITA_stability_factor_var = -0.05 tooltip = stability_factor_tt }
		set_variable = { stability_protests_counter = 0 }
	}
}

# Prosecute Robert Denard
country_event = {
	id = italy_md.70
	title = italy_md.70.t
	desc = italy_md.70.d
	picture = GFX_ITA_denard_arrest
	is_triggered_only = yes

	trigger = { original_tag = ITA }

	# Detain Him
	option = {
		name = italy_md.70.o1
		log = "[GetDateText]: [This.GetName]: italy_md.70.o1 executed"
		add_stability = 0.02
		ai_chance = {
			base = 1
			modifier = {
				add = 10
				is_historical_focus_on = yes
			}
		}
	}

	# Release Him
	option = {
		name = italy_md.70.o2
		log = "[GetDateText]: [This.GetName]: italy_md.70.o2 executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		set_temp_variable = { temp_outlook_increase = 0.03 }
		change_relative_party_popularity = yes
		hidden_effect = {
			COM = {
				country_event = { id = comoros.27 days = 45 random_days = 10 }
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 10
				OR = {
					has_government = fascism
					has_government = nationalist
				}
			}
			modifier = {
				add = 100
				has_global_flag = COM_WARRIOR_KING_FOCUS_PATH
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_global_flag = COM_WARRIOR_KING_FOCUS_PATH }
			}
		}
	}
}

#Defeat by the Mafia
country_event = {
	id = italy_md.71
	title = italy_md.71.t
	desc = italy_md.71.d
	picture = GFX_report_event_Mafia
	is_triggered_only = yes

	option = {
		name = italy_md.71.o1
		log = "[GetDateText]: [This.GetName]: italy_md.71.o1 executed"
		swap_ideas = {
			add_idea = ITA_mafia_unchallenged
			remove_idea = ITA_war_with_Mafia
		}
		custom_effect_tooltip = ITA_decrease_police_effectivness_TT
		add_to_variable = { police_effectivness_base = -0.1 }
		update_police_effectiveness = yes
		set_country_flag = { flag = ITA_mafia_defeat_cooldown value = 1 days = 730 }
		set_temp_variable = { party_popularity_increase = -0.04 }
		set_temp_variable = { temp_outlook_increase = -0.02 }
		change_relative_party_popularity = yes
		news_event = italy_news.9
	}
}

add_namespace = mafia
#success in provoking infighting
country_event = {
	id = mafia.1
	title = mafia.1.t
	desc = mafia.1.d1
	picture = GFX_report_event_Gun_1
	is_triggered_only = yes

	option = {
		name = mafia.1.a
		log = "[GetDateText]: [This.GetName]: mafia.1.a executed"
		custom_effect_tooltip = mafia_strength_decrease_tt
	}
}
#insuccess in provoking infighting
country_event = {
	id = mafia.2
	title = mafia.2.t
	desc = mafia.2.d1
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = { name = mafia.2.a }
}
#success in attacking hideout
country_event = {
	id = mafia.3
	title = mafia.3.t
	desc = { text = mafia.3.d1 }
	picture = GFX_report_event_Arrest
	is_triggered_only = yes

	option = {
		name = mafia.3.a
		log = "[GetDateText]: [This.GetName]: mafia.3.a executed"
		custom_effect_tooltip = mafia_strength_decrease_tt
		add_political_power = 50
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
	}
}
#insuccess in attacking hideout
country_event = {
	id = mafia.4
	title = mafia.4.t
	desc = { text = mafia.4.d1 }
	picture = GFX_report_event_Funerali_di_Stato
	is_triggered_only = yes

	option = {
		name = mafia.4.a
		log = "[GetDateText]: [This.GetName]: mafia.4.a executed"
		add_political_power = -50
	}
}
#waste dumps campania
country_event = {
	id = mafia.6
	title = mafia.6.t
	desc = mafia.6.d
	picture = GFX_report_event_Illegal_Waste_1
	is_triggered_only = yes

	option = {
		name = mafia.6.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.6.o1 executed"
		add_command_power = -25
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.6.o2
		log = "[GetDateText]: [This.GetName]: mafia.6.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { camorra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_camorra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_campania }
			}
			50 = { add_to_variable = { camorra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.6.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.6.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}
}
#drug smugglers calabria
country_event = {
	id = mafia.7
	title = mafia.7.t
	desc = mafia.7.d
	picture = GFX_report_event_Drug_ITA_1
	is_triggered_only = yes

	option = {
		name = mafia.7.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.7.o1 executed"
		add_command_power = -25
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.7.o2
		log = "[GetDateText]: [This.GetName]: mafia.7.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { ndrangheta_strength = 0.020 }
				add_to_variable = { monthly_drift_events_ndrangheta = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_calabria }
			}
			50 = { add_to_variable = { ndrangheta_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.7.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.7.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}
}
#weapons smugglers puglia
country_event = {
	id = mafia.8
	title = mafia.8.t
	desc = mafia.8.d
	picture = GFX_report_event_Gun_Smuggling_3
	is_triggered_only = yes

	option = {
		name = mafia.8.o1
		trigger = { command_power > 25 }
			log = "[GetDateText]: [This.GetName]: mafia.8.o1 executed"
			add_command_power = -25
			add_equipment_to_stockpile = {
				type = infantry_weapons_4
				amount = 100
			}
			mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.8.o2
		log = "[GetDateText]: [This.GetName]: mafia.8.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { sacra_corona_unita_strength = 0.020 }
				add_to_variable = { monthly_drift_events_sacra_corona_unita = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_puglia }
			}
			50 = { add_to_variable = { sacra_corona_unita_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.8.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.8.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		add_equipment_to_stockpile = {
			type = infantry_weapons_4
			amount = 100
		}
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}
}
#drug smugglers sicily
country_event = {
	id = mafia.9
	title = mafia.9.t
	desc = mafia.9.d
	picture = GFX_report_event_Drug_ITA_6
	is_triggered_only = yes

	option = {
		name = mafia.9.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.9.o1 executed"
		add_command_power = -25
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.9.o2
		log = "[GetDateText]: [This.GetName]: mafia.9.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { cosa_nostra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_cosa_nostra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_sicily }
			}
			50 = { add_to_variable = { cosa_nostra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.9.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.9.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}
}
#drug smuggler campania
country_event = {
	id = mafia.10
	title = mafia.10.t
	desc = mafia.10.d
	picture = GFX_report_event_Drug_ITA_5
	is_triggered_only = yes

	option = {
		name = mafia.10.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.10.o1 executed"
		add_command_power = -25
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.10.o2
		log = "[GetDateText]: [This.GetName]: mafia.10.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { camorra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_camorra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_campania }
			}
			50 = { add_to_variable = { camorra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.10.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.10.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}
}
#cigarettes smugglers
country_event = {
	id = mafia.11
	title = mafia.11.t
	desc = mafia.11.d
	picture = GFX_report_event_Cigarette_Smuggling_1
	is_triggered_only = yes

	option = {
		name = mafia.11.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.11.o1 executed"
		add_command_power = -25
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.11.o2
		log = "[GetDateText]: [This.GetName]: mafia.11.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { ndrangheta_strength = 0.020 }
				add_to_variable = { monthly_drift_events_ndrangheta = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_calabria }
			}
			50 = { add_to_variable = { ndrangheta_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.11.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.11.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}
}
#cigarettes smugglers puglia
country_event = {
	id = mafia.12
	title = mafia.12.t
	desc = mafia.12.d
	picture = GFX_report_event_Cigarette_Smuggling_3
	is_triggered_only = yes

	option = {
		name = mafia.12.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.12.o1 executed"
		add_command_power = -25
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.12.o2
		log = "[GetDateText]: [This.GetName]: mafia.12.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { sacra_corona_unita_strength = 0.020 }
				add_to_variable = { monthly_drift_events_sacra_corona_unita = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_puglia }
			}
			50 = { add_to_variable = { sacra_corona_unita_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.12.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.12.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}
}
# Suspect Corruption in Puglia
country_event = {
	id = mafia.13
	title = mafia.13.t
	desc = mafia.13.d
	picture = GFX_report_event_Corruption_1
	is_triggered_only = yes

	option = {
		name = mafia.13.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.13.o1 executed"
		add_command_power = -25
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.13.o2
		log = "[GetDateText]: [This.GetName]: mafia.13.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { sacra_corona_unita_strength = 0.020 }
				add_to_variable = { monthly_drift_events_sacra_corona_unita = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_puglia }
			}
			50 = { add_to_variable = { sacra_corona_unita_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.13.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.13.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}
}
#Suspicions of Rigged contracts in Puglia
country_event = {
	id = mafia.14
	title = mafia.14.t
	desc = mafia.14.d
	picture = GFX_report_event_Infrastructure_1
	is_triggered_only = yes

	option = {
		name = mafia.14.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.14.o1 executed"
		add_command_power = -25
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.14.o2
		log = "[GetDateText]: [This.GetName]: mafia.14.o2 executed"
		add_to_variable = { sacra_corona_unita_strength = 0.00 }
		hidden_effect = {
			random_list = {
				10 = {
					country_event = { id = mafia.15 days = 7 }
					modifier = { factor = police_effectiveness_puglia }
				}
				90 = {
					country_event = { id = mafia.16 days = 7 }
				}
			}
		}
	}

	option = {
		name = mafia.14.o3
		log = "[GetDateText]: [This.GetName]: mafia.14.o3 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { sacra_corona_unita_strength = 0.020 }
				add_to_variable = { monthly_drift_events_sacra_corona_unita = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_puglia }
			}
			50 = { add_to_variable = { sacra_corona_unita_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.14.o4
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.14.o4 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}
}

#Arrests for corruption in Puglia
country_event = {
	id = mafia.15
	title = mafia.15.t
	desc = mafia.15.d
	picture = GFX_report_event_Arrest_2
	is_triggered_only = yes

	option = {
		name = mafia.15.o1
		log = "[GetDateText]: [This.GetName]: mafia.15.o1 executed"
		add_to_variable = { sacra_corona_unita_strength = -0.03 }
	}
}

#Failed to arrest corrupts in Puglia
country_event = {
	id = mafia.16
	title = mafia.16.t
	desc = mafia.16.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		name = mafia.16.o1
		log = "[GetDateText]: [This.GetName]: mafia.16.o1 executed"
		add_to_variable = { sacra_corona_unita_strength = 0.03 }
		add_to_variable = { monthly_drift_events_sacra_corona_unita = 0.001 }
		custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
	}
}

# Suspected boss location in Calabria
country_event = {
	id = mafia.17
	title = mafia.17.t
	desc = mafia.17.d
	picture = GFX_report_event_Hideout
	is_triggered_only = yes

	option = {
		name = mafia.17.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.17.o1 executed"
		add_command_power = -25
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.17.o2
		log = "[GetDateText]: [This.GetName]: mafia.17.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { ndrangheta_strength = 0.020 }
				add_to_variable = { monthly_drift_events_ndrangheta = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_calabria }
			}
			50 = { add_to_variable = { ndrangheta_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.17.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.17.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}
}
#Suspicions of a huge drug shipment in Calabria
country_event = {
	id = mafia.18
	title = mafia.18.t
	desc = mafia.18.d
	picture = GFX_report_event_Shipment
	is_triggered_only = yes

	option = {
		name = mafia.18.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.18.o1 executed"
		add_command_power = -25
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.18.o2
		log = "[GetDateText]: [This.GetName]: mafia.18.o2 executed"
		hidden_effect = {
			random_list = {
				10 = {
					country_event = { id = mafia.19 days = 7 }
					modifier = { factor = police_effectiveness_calabria }
				}
				90 = {
					country_event = { id = mafia.20 days = 7 }
				}
			}
		}
	}

	option = {
		name = mafia.18.o3
		log = "[GetDateText]: [This.GetName]: mafia.18.o3 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { ndrangheta_strength = 0.020 }
				add_to_variable = { monthly_drift_events_ndrangheta = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_calabria }
			}
			50 = { add_to_variable = { ndrangheta_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.18.o4
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.18.o4 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}
}

#Arrested local criminal net in Calabria
country_event = {
	id = mafia.19
	title = mafia.19.t
	desc = mafia.19.d
	picture = GFX_report_event_Arrest_3
	is_triggered_only = yes

	option = {
		name = mafia.19.o1
		log = "[GetDateText]: [This.GetName]: mafia.19.o1 executed"
		add_to_variable = { ndrangheta_strength = -0.03 }
	}
}

# ndrangheta - Failed to arrest the local criminal net in Calabria
country_event = {
	id = mafia.20
	title = mafia.20.t
	desc = mafia.20.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		name = mafia.20.o1
		log = "[GetDateText]: [This.GetName]: mafia.20.o1 executed"
		add_to_variable = { ndrangheta_strength = 0.03 }
		add_to_variable = { monthly_drift_events_ndrangheta = 0.001 }
		custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
	}
}

# Camorra 3 - collaborator of justice
country_event = {
	id = mafia.21
	title = mafia.21.t
	desc = mafia.21.d
	picture = GFX_report_event_Justice_Collaborator
	is_triggered_only = yes

	option = {
		name = mafia.21.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.21.o1 executed"
		add_command_power = -25
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.21.o2
		log = "[GetDateText]: [This.GetName]: mafia.21.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { camorra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_camorra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_campania }
			}
			50 = { add_to_variable = { camorra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.21.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.21.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}
}
# Camorra 4 - piazza di spaccio scampia
country_event = {
	id = mafia.22
	title = mafia.22.t
	desc = mafia.22.d
	picture = GFX_report_event_Scampia
	is_triggered_only = yes

	option = {
		name = mafia.22.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.22.o1 executed"
		add_command_power = -25
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.22.o2
		log = "[GetDateText]: [This.GetName]: mafia.22.o2 executed"
		hidden_effect = {
			random_list = {
				10 = {
					country_event = { id = mafia.23 days = 7 }
					modifier = { factor = police_effectiveness_campania }
				}
				90 = {
					country_event = { id = mafia.24 days = 7 }
				}
			}
		}
	}

	option = {
		name = mafia.22.o3
		log = "[GetDateText]: [This.GetName]: mafia.22.o3 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { camorra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_camorra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_campania }
			}
			50 = { add_to_variable = { camorra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.22.o4
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.22.o4 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}
}

#Arrested local criminal net in Campania
country_event = {
	id = mafia.23
	title = mafia.23.t
	desc = mafia.23.d
	picture = GFX_report_event_Arrest_4
	is_triggered_only = yes

	option = {
		name = mafia.23.o1
		log = "[GetDateText]: [This.GetName]: mafia.23.o1 executed"
		add_to_variable = { camorra_strength = -0.03 }
	}
}

#Failed to arrest the local criminal net in Campania
country_event = {
	id = mafia.24
	title = mafia.24.t
	desc = mafia.24.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		name = mafia.24.o1
		log = "[GetDateText]: [This.GetName]: mafia.24.o1 executed"
		add_to_variable = { camorra_strength = 0.03 }
		add_to_variable = { monthly_drift_events_camorra = 0.001 }
		custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
	}
}

# Cosa Nostra 3 - The Pizzo
country_event = {
	id = mafia.25
	title = mafia.25.t
	desc = mafia.25.d
	picture = GFX_report_event_Mafia_Closed
	is_triggered_only = yes

	option = {
		name = mafia.25.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.25.o1 executed"
		add_command_power = -25
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.25.o2
		log = "[GetDateText]: [This.GetName]: mafia.25.o2 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { cosa_nostra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_cosa_nostra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_sicily }
			}
			50 = { add_to_variable = { cosa_nostra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.25.o3
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.25.o3 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}
}
# Cosa Nostra 4 - Regional corruption
country_event = {
	id = mafia.26
	title = mafia.26.t
	desc = mafia.26.d
	picture = GFX_report_event_Regione_Sicilia
	is_triggered_only = yes

	option = {
		name = mafia.26.o1
		trigger = { command_power > 25 }
		log = "[GetDateText]: [This.GetName]: mafia.26.o1 executed"
		add_command_power = -25
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}

	option = {
		name = mafia.26.o2
		log = "[GetDateText]: [This.GetName]: mafia.26.o2 executed"
		add_to_variable = { cosa_nostra_strength = 0.00 }
		hidden_effect = {
			random_list = {
				10 = {
					country_event = { id = mafia.27 days = 7 }
					modifier = { factor = police_effectiveness_sicily }
				}
				90 = {
					country_event = { id = mafia.28 days = 7 }
				}
			}
		}
	}

	option = {
		name = mafia.26.o3
		log = "[GetDateText]: [This.GetName]: mafia.26.o3 executed"
		custom_effect_tooltip = monthly_clan_drift_increase_events_TT
		random_list = {
			50 = {
				add_to_variable = { cosa_nostra_strength = 0.020 }
				add_to_variable = { monthly_drift_events_cosa_nostra = 0.001 }
				custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
				modifier = { factor = police_effectiveness_sicily }
			}
			50 = { add_to_variable = { cosa_nostra_strength = 0.020 } }
		}
	}

	option = {
		name = mafia.26.o4
		trigger = {
			command_power < 25
			has_country_flag = extraordinary_police_funding_flag
		}
		log = "[GetDateText]: [This.GetName]: mafia.26.o4 executed"
		mafia_utilize_extraordinary_funds_effect = yes
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}
}

#Arrested local criminal net in Sicily
country_event = {
	id = mafia.27
	title = mafia.27.t
	desc = mafia.27.d
	picture = GFX_report_event_Arrest_5
	is_triggered_only = yes

	option = {
		name = mafia.27.o1
		log = "[GetDateText]: [This.GetName]: mafia.27.o1 executed"
		add_to_variable = { cosa_nostra_strength = -0.03 }
	}
}

#Failed to arrest the local criminal net in Sicily
country_event = {
	id = mafia.28
	title = mafia.28.t
	desc = mafia.28.d
	picture = GFX_report_event_Sicily_Farms
	is_triggered_only = yes

	option = {
		name = mafia.28.o1
		log = "[GetDateText]: [This.GetName]: mafia.28.o1 executed"
		add_to_variable = { cosa_nostra_strength = 0.03 }
		custom_effect_tooltip = permanent_increase_in_mafia_drift_TT
		add_to_variable = { monthly_drift_events_cosa_nostra = 0.001 }
	}
}

#encourage fighting between mafia clans choose target
country_event = {
	id = mafia.29
	title = mafia.29.t
	desc = mafia.29.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		name = mafia.29.o1
		log = "[GetDateText]: [This.GetName]: mafia.29.o1 executed"
		add_to_variable = { cosa_nostra_strength = -0.08 }
		set_country_flag = {
			flag = targeted_cosa_nostra
			days = 179
			value = 1
		}
		country_event = mafia.31
		ai_chance = {
			base = 1
			modifier = {
				factor = cosa_nostra_strength
				always = yes
			}
		}
	}

	option = {
		name = mafia.29.o2
		log = "[GetDateText]: [This.GetName]: mafia.29.o2 executed"
		add_to_variable = { camorra_strength = -0.08 }
		set_country_flag = {
			flag = targeted_camorra
			days = 179
			value = 1
		}
		country_event = mafia.31
		ai_chance = {
			base = 1
			modifier = {
				factor = camorra_strength
				always = yes
			}
		}
	}

	option = {
		name = mafia.29.o3
		log = "[GetDateText]: [This.GetName]: mafia.29.o3 executed"
		add_to_variable = { ndrangheta_strength = -0.08 }
		set_country_flag = {
			flag = targeted_ndrangheta
			days = 179
			value = 1
		}
		country_event = mafia.31
		ai_chance = {
			base = 1
			modifier = {
				factor = ndrangheta_strength
				always = yes
			}
		}
	}

	option = {
		name = mafia.29.o4
		log = "[GetDateText]: [This.GetName]: mafia.29.o4 executed"
		country_event = mafia.30
		ai_chance = {
			base = 1
			modifier = {
				factor = sacra_corona_unita_strength
				always = yes
			}
		}
	}
}
#encourage fighting between mafia clans choose target
country_event = {
	id = mafia.30
	title = mafia.30.t
	desc = mafia.30.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		name = mafia.30.o1
		log = "[GetDateText]: [This.GetName]: mafia.30.o1 executed"
		add_to_variable = { sacra_corona_unita_strength = -0.08 }
		set_country_flag = {
			flag = targeted_sacra_corona_unita
			days = 179
			value = 1
		}
		country_event = mafia.31
		ai_chance = {
			base = 1
			modifier = {
				factor = sacra_corona_unita_strength
				always = yes
			}
		}
	}

	option = {
		name = mafia.30.o2
		log = "[GetDateText]: [This.GetName]: mafia.30.o2 executed"
		country_event = mafia.29
		ai_chance = {
			base = 1
			modifier = {
				factor = mafia_strength
				always = yes
			}
		}
	}
}

#encourage fighting between mafia clans choose clan that helps
country_event = {
	id = mafia.31
	title = mafia.31.t
	desc = mafia.31.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		trigger = { NOT = { has_country_flag = targeted_cosa_nostra } }
		name = mafia.31.o1
		log = "[GetDateText]: [This.GetName]: mafia.31.o1 executed"
		add_to_variable = { cosa_nostra_strength = 0.04 }
	}

	option = {
		trigger = { NOT = { has_country_flag = targeted_camorra } }
		name = mafia.31.o2
		log = "[GetDateText]: [This.GetName]: mafia.31.o2 executed"
		add_to_variable = { camorra_strength = 0.04 }
	}

	option = {
		trigger = { NOT = { has_country_flag = targeted_ndrangheta } }
		name = mafia.31.o3
		log = "[GetDateText]: [This.GetName]: mafia.31.o3 executed"
		add_to_variable = { ndrangheta_strength = 0.04 }
	}

	option = {
		name = mafia.31.o4
		log = "[GetDateText]: [This.GetName]: mafia.31.o4 executed"
		country_event = mafia.32
	}
}
country_event = {
	id = mafia.32
	title = mafia.32.t
	desc = mafia.32.d
	picture = GFX_report_event_Gun_2
	is_triggered_only = yes

	option = {
		trigger = { NOT = { has_country_flag = targeted_sacra_corona_unita } }
		name = mafia.32.o1
		log = "[GetDateText]: [This.GetName]: mafia.32.o1 executed"
		add_to_variable = { sacra_corona_unita_strength = 0.04 }
	}

	option = {
		name = mafia.32.o2
		log = "[GetDateText]: [This.GetName]: mafia.32.o2 executed"
		country_event = mafia.31
	}
}
#arson events
country_event = {
	id = mafia.33
	title = mafia.33.t
	desc = mafia.33.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes

	option = {
		name = mafia.33.o1
		log = "[GetDateText]: [This.GetName]: mafia.33.o1 executed"
		add_to_variable = { cosa_nostra_strength = 0.02 }
	}

	option = {
		trigger = {
			has_completed_focus = ITA_relax_legal_framework
			OR = {
				command_power > 25
				AND = {
					command_power < 25
					has_country_flag = extraordinary_police_funding_flag
				}
			}
		}
		name = mafia.33.o2
		log = "[GetDateText]: [This.GetName]: mafia.33.o2 executed"
		if = {
			limit = { command_power > 24.999 }
			add_command_power = -25
		}
		else_if = {
			limit = {
				command_power < 25
				has_country_flag = extraordinary_police_funding_flag
			}
			mafia_utilize_extraordinary_funds_effect = yes
		}
		mafia_event_effect_cosa_nostra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { cosa_nostra_strength < 0.05 }
			}
		}
	}
}

country_event = {
	id = mafia.34
	title = mafia.34.t
	desc = mafia.34.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes

	option = {
		name = mafia.34.o1
		log = "[GetDateText]: [This.GetName]: mafia.34.o1 executed"
		add_to_variable = { camorra_strength = 0.02 }
	}

	option = {
		trigger = {
			has_completed_focus = ITA_relax_legal_framework
			OR = {
				command_power > 25
				AND = {
					command_power < 25
					has_country_flag = extraordinary_police_funding_flag
				}
			}
		}
		name = mafia.34.o2
		log = "[GetDateText]: [This.GetName]: mafia.34.o2 executed"
		if = {
			limit = { command_power > 24.999 }
			add_command_power = -25
		}
		else_if = {
			limit = {
				command_power < 25
				has_country_flag = extraordinary_police_funding_flag
			}
			mafia_utilize_extraordinary_funds_effect = yes
		}
		mafia_event_effect_camorra = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { camorra_strength < 0.05 }
			}
		}
	}
}

country_event = {
	id = mafia.35
	title = mafia.35.t
	desc = mafia.35.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes

	option = {
		name = mafia.35.o1
		log = "[GetDateText]: [This.GetName]: mafia.35.o1 executed"
		add_to_variable = { ndrangheta_strength = 0.02 }
	}

	option = {
		trigger = {
			has_completed_focus = ITA_relax_legal_framework
			OR = {
				command_power > 25
				AND = {
					command_power < 25
					has_country_flag = extraordinary_police_funding_flag
				}
			}
		}
		name = mafia.35.o2
		log = "[GetDateText]: [This.GetName]: mafia.35.o2 executed"
		if = {
			limit = { command_power > 24.999 }
			add_command_power = -25
		}
		else_if = {
			limit = {
				command_power < 25
				has_country_flag = extraordinary_police_funding_flag
			}
			mafia_utilize_extraordinary_funds_effect = yes
		}
		mafia_event_effect_ndrangheta = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				command_power < 50
				check_variable = { ndrangheta_strength < 0.05 }
			}
		}
	}
}

country_event = {
	id = mafia.36
	title = mafia.36.t
	desc = mafia.36.d
	picture = GFX_report_event_illegal_Waste_2
	is_triggered_only = yes

	option = {
		name = mafia.36.o1
		log = "[GetDateText]: [This.GetName]: mafia.36.o1 executed"
		add_to_variable = { sacra_corona_unita_strength = 0.02 }
	}

	option = {
		trigger = {
			has_completed_focus = ITA_relax_legal_framework
			OR = {
				command_power > 25
				AND = {
					command_power < 25
					has_country_flag = extraordinary_police_funding_flag
				}
			}
		}
		name = mafia.36.o2
		log = "[GetDateText]: [This.GetName]: mafia.36.o2 executed"
		if = {
			limit = { command_power > 24.999 }
			add_command_power = -25
		}
		else_if = {
			limit = {
				command_power < 25
				has_country_flag = extraordinary_police_funding_flag
			}
			mafia_utilize_extraordinary_funds_effect = yes
		}
		mafia_event_effect_sacra_corona_unita = yes
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				check_variable = { sacra_corona_unita_strength < 0.05 }
			}
		}
	}
}
