add_namespace = MD_wacky


# Accidentally Shooting Down Santa Claus
country_event = {
	id = MD_wacky.1
	title = MD_wacky.1.t
	desc = MD_wacky.1.d
	picture = GFX_event_shooting_down_santa
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = allow_fictional_content option = yes }
		is_ai = no
		NOT = { has_country_flag = collapsed_nation }
		check_variable = { global.month = 12 }
		check_variable = { num_deployed_planes > 0 }
	}

	option = {
		name = MD_wacky.1.a
		log = "[GetDateText]: [This.GetName]: MD_wacky.1.a executed"
		add_political_power = -25
		air_experience = 25
		add_timed_idea = { idea = MD_wacky_classified_intercept days = 180 }
	}

	option = {
		name = MD_wacky.1.b
		log = "[GetDateText]: [This.GetName]: MD_wacky.1.b executed"
		set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.0005 } }
		modify_treasury_effect = yes
		add_stability = 0.02
	}
}

# Unidentified Object Over the Capital
country_event = {
	id = MD_wacky.2
	title = MD_wacky.2.t
	desc = MD_wacky.2.d
	picture = GFX_ufo
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = allow_fictional_content option = yes }
		is_ai = no
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = MD_wacky.2.a
		log = "[GetDateText]: [This.GetName]: MD_wacky.2.a executed"
		add_political_power = -15
		add_tech_bonus = {
			name = MD_wacky_events
			bonus = 0.10
			uses = 1
			category = CAT_surface_to_air_missiles
		} hidden_effect = { rq_eb_a744a50211 = yes }
	}

	option = {
		name = MD_wacky.2.b
		log = "[GetDateText]: [This.GetName]: MD_wacky.2.b executed"
		add_political_power = 10
		add_stability = -0.02
		add_timed_idea = { idea = MD_wacky_ufo_conspiracy days = 365 }
	}
}

# Reentry Debris Lands on a Ministry
country_event = {
	id = MD_wacky.3
	title = MD_wacky.3.t
	desc = MD_wacky.3.d
	picture = GFX_ufo
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = allow_fictional_content option = yes }
		is_ai = no
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = MD_wacky.3.a
		log = "[GetDateText]: [This.GetName]: MD_wacky.3.a executed"
		set_temp_variable = { treasury_change = { value = gdp_total multiply = 0.001 } }
		modify_treasury_effect = yes
	}

	option = {
		name = MD_wacky.3.b
		log = "[GetDateText]: [This.GetName]: MD_wacky.3.b executed"
		add_political_power = 15
		add_tech_bonus = {
			name = MD_wacky_events
			bonus = 0.10
			uses = 1
			category = CAT_satellites
		} hidden_effect = { rq_eb_b0fbd004d3 = yes }
		add_timed_idea = { idea = MD_wacky_debris_exhibit days = 365 }
	}
}

# The Vending Machines Take Down the Ministry Network
country_event = {
	id = MD_wacky.4
	title = MD_wacky.4.t
	desc = MD_wacky.4.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = allow_fictional_content option = yes }
		is_ai = no
		NOT = { has_country_flag = collapsed_nation }
	}

	option = {
		name = MD_wacky.4.a
		log = "[GetDateText]: [This.GetName]: MD_wacky.4.a executed"
		set_temp_variable = { treasury_change = { value = gdp_total multiply = -0.00025 } }
		modify_treasury_effect = yes
		add_stability = -0.01
	}

	option = {
		name = MD_wacky.4.b
		log = "[GetDateText]: [This.GetName]: MD_wacky.4.b executed"
		add_war_support = 0.02
		add_tech_bonus = {
			name = MD_wacky_events
			bonus = 0.10
			uses = 1
			category = CAT_encryption
		} hidden_effect = { rq_eb_355331f0ba = yes }
		add_timed_idea = { idea = MD_wacky_phantom_cyber_threat days = 365 }
	}
}
