add_namespace = TFR_generic_submod

country_event = {
	id = TFR_generic_submod.1 #WORKERS DEMAND SNAP ELECTION
	title = ZZZ.1.t
	desc = ZZZ.1.d
	picture = GFX_SOV_workers_strike
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Okay
		name = ZZZ.1.a
		hidden_effect = {
		country_event = { id = TFR_generic_submod.2 days = 5 }
		}
	}
}

country_event = {
	id = TFR_generic_submod.2 #SOCIALISTS WIN SNAP ELECTION
	title = ZZZ.2.t
	desc = ZZZ.2.d
	picture = GFX_SOV_workers_union
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Okay
		name = ZZZ.2.a
		set_politics = {
    ruling_party = libertarian_socialist
    elections_allowed = no
	}
	clr_country_flag = begin_strikes_reform
	  change_economy_type_socialist_market = yes
	  change_government_type_socialist_republic = yes
	}
}

country_event = {
	id = TFR_generic_submod.3 #WHICH RACIST ARE YOU?
	title = ZZZ.3.t
	desc = ZZZ.3.d
	picture = GFX_FRA_far_right_protests
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Nationalist
		name = ZZZ.3.a
		custom_effect_tooltip = nationalist_event_button
		hidden_effect = {
		set_country_flag = nationalist_coup_chosen
		}
	}
	option = {
		#Fascist
		name = ZZZ.3.b
		custom_effect_tooltip = fascist_event_button
		hidden_effect = {
		set_country_flag = fascist_coup_chosen
		}
	}
	option = {
		#Nazi
		name = ZZZ.3.c
		custom_effect_tooltip = nazi_event_button
		hidden_effect = {
		set_country_flag = nazi_coup_chosen
		}
	}
}

country_event = {
	id = TFR_generic_submod.4 #Nationalists In Capital
	title = ZZZ.4.t
	desc = ZZZ.4.d
	picture = GFX_Military_Coup
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Salvation
		name = ZZZ.4.a
		custom_effect_tooltip = nationalist_coup_button
		hidden_effect = {
		        add_ideas = { ZZZ_country_in_chaos }
				capital_scope = {
				set_demilitarized_zone = no
			    }
		set_politics = {
    ruling_party = nationalist
    elections_allowed = no
	}
	set_country_flag = nationalist_coup_complete
	clr_country_flag = begin_coup_decisions
	change_government_type_military_dictatorship = yes
		}
	}

}

country_event = {
	id = TFR_generic_submod.5 #Fascists In Capital
	title = ZZZ.5.t
	desc = ZZZ.5.d
	picture = GFX_GER_armed_security
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#It Happened Here
		name = ZZZ.5.a
		custom_effect_tooltip = fascist_coup_button
		hidden_effect = {
				capital_scope = {
				set_demilitarized_zone = no
			    }
		set_politics = {
    ruling_party = fascist
    elections_allowed = no
	}
	set_country_flag = fascist_coup_complete
	clr_country_flag = begin_coup_decisions
	 change_economy_type_command_economy = yes
	 change_government_type_fascist_dictatorship = yes
	 remove_ideas = ZZZ_rising_country_nationalism
		}
	}

}

country_event = {
	id = TFR_generic_submod.6 #Normalized National Socialism
	title = ZZZ.6.t
	desc = ZZZ.6.d
	picture = GFX_GER_far_right_protest_3
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Im Sure Its Nothing
		name = ZZZ.6.a
		hidden_effect = {
	set_country_flag = national_socialism_normalized
	
		}
	}

}

country_event = {
	id = TFR_generic_submod.7 #Adolf Hitler Is Eternal
	title = ZZZ.7.t
	desc = ZZZ.7.d
	picture = GFX_GER_natsoc_uniform
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Crazy
		name = ZZZ.7.a
		hidden_effect = {
	set_country_flag = national_socialism_eternal_hitler
	
		}
	}

}

country_event = {
	id = TFR_generic_submod.8 #Workers Love Hitler
	title = ZZZ.8.t
	desc = ZZZ.8.d
	picture = GFX_Hungarian_Nazi_Revival
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Theyre insane
		name = ZZZ.8.a
		hidden_effect = {
	set_country_flag = national_socialism_workers_support
		country_event = { id = TFR_generic_submod.9 days = 7 }
	
		}
	}

}

country_event = {
	id = TFR_generic_submod.9 #National Socialist Doomsday
	title = ZZZ.9.t
	desc = ZZZ.9.d
	picture = GFX_NSM_nazi_house
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Sieg Heil, Then
		name = ZZZ.9.a
		custom_effect_tooltip = natsoc_civilwar_button
		hidden_effect = {
	    leave_faction = yes
	remove_ideas = ZZZ_rising_country_nationalism
	set_country_flag = national_socialism_civilwar_begin
	start_civil_war = {
    ruling_party = national_socialist
    # Original country's ideology changes to nazism
    ideology = ROOT
    # Breakaway gets old ideology of ROOT
    size = var:party_popularity@ROOT 
	keep_all_characters = yes
	
}
	set_country_flag = nazi_coup_complete
	clr_country_flag = activate_political_game
	clr_country_flag = begin_coup_decisions
			  change_economy_type_chaostic = yes
			 change_government_type_nazi_dictatorship = yes
		}
	}

}

country_event = {
	id = TFR_generic_submod.10 #Camo Fortifications Success
	title = ZZZ.10.t
	desc = ZZZ.10.d
	picture = GFX_generic_camo_forts_success
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.10.a
		add_ideas = {
		ZZZ_project_forts_camo
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.11 #Camo Fortifications Indecisive
	title = ZZZ.11.t
	desc = ZZZ.11.d
	picture = GFX_generic_camo_forts_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse
		name = ZZZ.11.a
			set_temp_variable = {
				var = debt_var_temp
				value = -10
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.12 #Camo Fortifications Failure
	title = ZZZ.12.t
	desc = ZZZ.12.d
	picture = GFX_generic_camo_forts_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit
		name = ZZZ.12.a
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.13 #Dome AA Success
	title = ZZZ.13.t
	desc = ZZZ.13.d
	picture = GFX_generic_iron_dome
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.13.a
		add_ideas = {
		ZZZ_project_dome_protection
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.14 #Dome AA Indecisive
	title = ZZZ.14.t
	desc = ZZZ.14.d
	picture = GFX_generic_iron_dome_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse!
		name = ZZZ.14.a
			set_temp_variable = {
				var = debt_var_temp
				value = -25
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.15 #Dome AA Failure
	title = ZZZ.15.t
	desc = ZZZ.15.d
	picture = GFX_generic_iron_dome_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.15.a
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.16 #AI Landmines Success
	title = ZZZ.16.t
	desc = ZZZ.16.d
	picture = GFX_generic_smart_landmines
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.16.a
		add_ideas = {
		ZZZ_project_smart_landmines
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.17 #AI Landmines Indecisive
	title = ZZZ.17.t
	desc = ZZZ.17.d
	picture = GFX_generic_smart_landmines_indecisive
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse!
		name = ZZZ.17.a
			set_temp_variable = {
				var = debt_var_temp
				value = -15
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.18 #AI Landmines Failure
	title = ZZZ.18.t
	desc = ZZZ.18.d
	picture = GFX_generic_smart_landmines_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.18.a
		add_manpower = -72
		add_stability = -0.05
		add_political_power = -150
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.19 #LASER Dome Success
	title = ZZZ.19.t
	desc = ZZZ.19.d
	picture = GFX_generic_laser_success
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.19.a
		swap_ideas = {
		remove_idea = ZZZ_project_dome_protection
		add_idea = ZZZ_project_laser_dome_protection
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.20 #Laser Dome Fail
	title = ZZZ.20.t
	desc = ZZZ.20.d
	picture = GFX_generic_laser_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.20.a
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.21 #3D Printing Success
	title = ZZZ.21.t
	desc = ZZZ.21.d
	picture = GFX_generic_printing_success
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.21.a
		add_ideas = {
		ZZZ_project_3d_printing
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.22 #3D Printing Indecisive
	title = ZZZ.22.t
	desc = ZZZ.22.d
	picture = GFX_generic_printing_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse!
		name = ZZZ.22.a
			set_temp_variable = {
				var = debt_var_temp
				value = -37.5
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.23 #3D Printing Failure
	title = ZZZ.23.t
	desc = ZZZ.23.d
	picture = GFX_generic_printing_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.23.a
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_large_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.24 #Camouflague Tanks Success
	title = ZZZ.24.t
	desc = ZZZ.24.d
	picture = GFX_generic_tank_success
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.24.a
		add_ideas = {
		ZZZ_project_camo_tanks
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.25 #Camouflague Tanks Indecisive
	title = ZZZ.25.t
	desc = ZZZ.25.d
	picture = GFX_generic_tank_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse!
		name = ZZZ.25.a
			set_temp_variable = {
				var = debt_var_temp
				value = -25
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.26 #Camouflague Tanks Failure
	title = ZZZ.26.t
	desc = ZZZ.26.d
	picture = GFX_generic_tank_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.26.a
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.27 #Soldier Exoskeleton Success
	title = ZZZ.27.t
	desc = ZZZ.27.d
	picture = GFX_generic_exoskeleton_success
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Great!
		name = ZZZ.27.a
		add_ideas = {
		ZZZ_project_exoskeleton_armour
		}
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.28 #Soldier Exoskeleton Indecisive
	title = ZZZ.28.t
	desc = ZZZ.28.d
	picture = GFX_generic_exoskeleton_indecisive
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#Could Be Worse!
		name = ZZZ.28.a
			set_temp_variable = {
				var = debt_var_temp
				value = -25
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.29 #Soldier Exoskeleton Failure
	title = ZZZ.29.t
	desc = ZZZ.29.d
	picture = GFX_generic_exoskeleton_failure
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.29.a
		add_stability = -0.01
		add_manpower = -1
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

country_event = {
	id = TFR_generic_submod.30 #Gods Artillery Fail (Fallout)
	title = ZZZ.30.t
	desc = ZZZ.30.d
	picture = GFX_generic_sovereignty
	is_triggered_only = yes
	trigger = {
	}
	option = {
		#God Damnit!
		name = ZZZ.30.a
		add_stability = -0.025
			set_temp_variable = {
				var = debt_var_temp
				value = -50
			}
			add_debt_with_inflation = no
		custom_effect_tooltip = military_projects_available_again_tt
		hidden_effect = {
	    
	clr_country_flag = military_project_underway
			 remove_idea = ZZZ_medium_military_project
		}
	}

}

