add_namespace = goering

add_namespace = goering.science


##############################################################################

#	GOERING SCIENCE EVENTS - 300 - 399 By DocOverbuild3

###############################################################################

country_event = {	#Set up the GGRCSI & introducing werner Osenberg
	id = goering.science.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.1"}
	title = goering.science.1.t
	desc = goering.science.1.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#Pick Von Braun
		name = goering.science.1.a
		research_funding_maximal_increase_med = yes
	}

}

country_event = {	#Civilian Buildup
	id = goering.science.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.2"}
	title = goering.science.2.t
	desc = goering.science.2.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#Kewl
		name = goering.science.2.a
		add_ideas = GGR_Centralized_Civilian_Economy
	}
}

country_event = {	#Unifroms mein Herr UNIFORMS !
	id = goering.science.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.3"}
	title = goering.science.3.t
	desc = goering.science.3.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	
		name = goering.science.3.a
		custom_effect_tooltip = GGR_more_infantry_equipment_tooltip
        add_ideas = GGR_New_Outfits
        add_to_variable = { current_equipment = 10000 }
	}
	
	option = {	
		name = goering.science.3.b
        add_ideas = GGR_camouflage_steamlined
		add_political_power = 50 
	}
}

country_event = {	#Centralizing the Military
	id = goering.science.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.4"}
	title = goering.science.4.t
	desc = goering.science.4.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	# Its time 
		name = goering.science.4.a
		hidden_effect = {
			set_temp_variable = { random_var = random }

			if = {
				limit = {
					check_variable = { random_var < heer_centralisation }
				}
				country_event = { id = goering.science.6 days = 1 }
			}
			else = {
				country_event = { id = goering.science.5 days = 1 }
			}

			if = {
				limit = {
					check_variable = { random_var < kriegsmarine_centralisation }
				}
				country_event = { id = goering.science.8 days = 3 }
			}
			else = {
				country_event = { id = goering.science.7 days = 3 }
			}
		}
	}
}


country_event = { #Army says no
	id = goering.science.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.5"}
	title = goering.science.5.t
	desc = goering.science.5.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {
		name = goering.science.5.a
		add_timed_idea = { idea = GGR_Army_Dragging_Feet days = 150 }
		GGRCSI_increase_military_concern = yes
	}
}


country_event = { #Army says yeah
	id = goering.science.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.6"}
	title = goering.science.6.t
	desc = goering.science.6.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {
		name = goering.science.6.a
		GGRCSI_decrease_military_power = yes
	}
}


country_event = { #Navy says no
	id = goering.science.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.7"}
	title = goering.science.7.t
	desc = goering.science.7.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {
		name = goering.science.7.a
		add_timed_idea = { idea = GGR_Navy_Dragging_Feet days = 180 }
		GGRCSI_increase_military_concern = yes
	}
}


country_event = { #Navy says yeah
	id = goering.science.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.8"}
	title = goering.science.8.t
	desc = goering.science.8.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {
		name = goering.science.8.a
		GGRCSI_decrease_military_power = yes
	}
}

########################## BACK TO NORMAL SHIT #############################

country_event = { #Redevelopment Arms Meeting
	id = goering.science.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.9"}
	title = goering.science.9.t
	desc = goering.science.9.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = { # Just put out new infantry equipment contracts
		name = goering.science.9.a
		custom_effect_tooltip = GGR_more_infantry_equipment_tooltip
		
		add_to_variable = { GGRCSI_spending = 70 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.070 }
		custom_effect_tooltip = GGRCSI_spending_increase_70
		add_to_variable = { current_equipment = 10000 }
		add_equipment_to_stockpile = {
			type = infantry_equipment_2
			amount = 10000
			producer = GER
		}
		
	}

	option = { # Update the anti tank too!
		name = goering.science.9.b
		custom_effect_tooltip = GGR_more_tank_equipment_tooltip
		add_to_variable = { GGRCSI_spending = 125 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		add_tech_bonus = {
			name = infantry_anti_tank
			bonus = 0.5
			uses = 2
			category = infantry_anti_tank
		}	
		set_variable = { current_anti_tank_equipment = num_equipment@anti_tank_equipment }
		add_to_variable = { current_anti_tank_equipment = 2500 }
		
	}

	option = { # Our army needs a proper backbone!
		name = goering.science.9.c
		custom_effect_tooltip = GGR_more_artillery_tooltip
		custom_effect_tooltip = GGR_more_support_equipment_tooltip
		add_to_variable = { GGRCSI_spending = 125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
		
		add_tech_bonus = {
			name = support_tech
			bonus = 0.5
			uses = 2
			category = support_tech
		}
		
		add_tech_bonus = {
			name = artillery
			bonus = 1
			uses = 1
			category = artillery
		}
		
		set_variable = { current_artillery_equipment = num_equipment@artillery_equipment }
		add_to_variable = { current_artillery_equipment = 1000 }
		
		set_variable = { current_support_equipment = num_equipment@support_equipment }
		add_to_variable = { current_support_equipment = 3000 }
	}
}

country_event = {	#Start of the grand conference of equipment reevaluation
	id = goering.science.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.10"}
	title = goering.science.10.t
	desc = goering.science.10.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	# Pull everything out of the closet for the conference
		name = goering.science.10.a
		custom_effect_tooltip = GGR_even_more_infantry_equipment_tooltip
		add_to_variable = { GGRCSI_spending = 125 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		set_country_flag = army_conference_big
		GGRCSI_increase_corruption = yes
		GGRCSI_increase_military_concern = yes
		GGR_increase_militarist_hawkishness_small = yes
		
		add_to_variable = { current_equipment = 25000 }
	}
	
	option = {	# Medium spending
		name = goering.science.10.b
		custom_effect_tooltip = GGR_more_infantry_equipment_tooltip
		add_to_variable = { GGRCSI_spending = 70 }
		custom_effect_tooltip = GGRCSI_spending_increase_70
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.070 }
		set_country_flag = army_conference_medium
		
		add_to_variable = { current_equipment = 10000 }
	}
	
	option = {	# Low spending
	    name = goering.science.10.c
		add_to_variable = { GGRCSI_spending = 50 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.050 }
		custom_effect_tooltip = GGRCSI_spending_increase_50
		GGR_decrease_militarist_hawkishness_small = yes
	}
	
}

###################################################################




country_event = {	#Military Steroid Shit
	id = goering.science.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.11"}
	title = goering.science.11.t
	desc = goering.science.11.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#Duh
		name = goering.science.11.a
		add_ideas = {
			GGR_military_steroid_use
		}
		hidden_effect = {
			country_event = {
				id = goering.science.12
				days = 180
				random_days = 30
			}
		}
	}
}

country_event = {	#Military Steroid Shit Side Effects
	id = goering.science.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.12"}
	title = goering.science.12.t
	desc = goering.science.12.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#Fuck
		name = goering.science.12.a
		GGRCSI_increase_military_concern = yes
		remove_ideas = GGR_military_steroid_use
		TNO_worsen_army_professionalism_low = yes
	}
	option = {	#Throw money!
		name = goering.science.12.b
		GGRCSI_increase_military_concern = yes
		TNO_worsen_army_professionalism_high = yes
		set_temp_variable = { debt_temp = 10 }
		econ_national_debt_change = yes
	}
}

country_event = {	#Putting shit in the water
	id = goering.science.13
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.13"}
	title = goering.science.13.t
	desc = goering.science.13.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	# Use it to pacify the RKs
		name = goering.science.13.a
		set_country_flag = GGR_water_pacify_RK
		hidden_effect = { country_event = { id = goering.science.14 days = 12 } }
	}
	option = {	# Use it to cause a scandal
		name = goering.science.13.b
		set_country_flag = GGR_water_scandal
		country_event = { id = goering.science.15 days = 100 }
		set_variable = { pipes_built = 0 }
	}
}

country_event = {	# The chemicals dont do a whole lot
	id = goering.science.14
	immediate = { log = "[GetDateText]: [Root.GetName]: event goering.science.14"}
	title = goering.science.14.t
	desc = goering.science.14.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#  
		name = goering.science.14.a
		GGRCSI_increase_military_concern = yes
		GGR_decrease_militarist_loyalty = yes
		complete_national_focus = GER_GOR_perfection
		clr_country_flag = GGR_water_pacify_RK
	}
}

country_event = { # Militarists find out but dont do anything yet
	id = goering.science.15
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.15"}
	title = goering.science.15.t
	desc = goering.science.15.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes
	
	trigger = {
		NOT = {
			has_completed_focus = GER_GOR_perfection
		}
	}

	option = {	#FUCKKKKK
		name = goering.science.15.a
		GGRCSI_increase_public_concern = yes
		hidden_effect = {
			random_list = {
				4 = {
					country_event = { id = goering.science.15 days = 22 }
				}
				1 = {
					country_event = { id = goering.science.16 days = 22 }
				}
			}
		}
	}
}

country_event = {	# Speidel is notified, now shit hits the fucking fan.
	id = goering.science.16
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.16"}
	title = goering.science.16.t
	desc = goering.science.16.desc
	picture = GFX_report_event_MAD_palace
	trigger = {
		NOT = {
			has_completed_focus = GER_GOR_perfection
		}
	}

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#
		name = goering.science.16.a
		GGRCSI_increase_public_concern = yes
		GGRCSI_increase_military_concern = yes
		GGR_decrease_militarist_loyalty_large = yes
		GGR_increase_militarist_hawkishness_large = yes
		GGR_increase_militarist_power_large = yes
	}

}

################################ Goering 3 Mile Island



country_event = {	#Damaged Reactor Event Start
	id = goering.science.17
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event goering.science.17"
		hidden_effect = { GGRCSI_increase_public_concern = yes }
	}
	title = goering.science.17.t
	desc = goering.science.17.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Fix it
		name = goering.science.17.a
		trigger = {
			check_variable = { nuclear_maintenance > 50 }
		}
		custom_effect_tooltip = GER_Good_Fix_Reactor
		custom_effect_tooltip = GGR_nuclear_maintenance_increase_30
		set_temp_variable = { debt_temp = 4 }
		econ_national_debt_change = yes
		add_to_variable = { nuclear_maintenance = 30 }
		55 = {
			damage_building = {
				type = nuclear_reactor
				damage = 1
			}
		}
	}

	option = {	#Knock it down the line
		name = goering.science.17.b
		custom_effect_tooltip = GER_No_Fix_Reactor
		hidden_effect = {
			country_event = {
				id = goering.science.18
				days = 90
			}
		}
	}

	option = {	#Make a temperory repair
		name = goering.science.17.c
		custom_effect_tooltip = GER_Medium_Fix_Reactor
		set_temp_variable = { debt_temp = 2 }
		econ_national_debt_change = yes
		55 = {
			damage_building = {
				type = nuclear_reactor
				damage = 0.5
			}
		}
		hidden_effect = {
			country_event = {
				id = goering.science.18
				days = 150
			}
		}
	}
}

country_event = {	#Damaged Reactor Event Middle
	id = goering.science.18
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event goering.science.18"
		hidden_effect = { GGRCSI_increase_public_concern = yes }
	}
	title = goering.science.18.t
	desc = goering.science.18.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Just tear it down
		name = goering.science.18.a
		custom_effect_tooltip = GER_Good_Fix_Reactor_2
		set_temp_variable = { debt_temp = 0.65 }
		econ_national_debt_change = yes
		55 = {
			remove_building = {
				type = nuclear_reactor
				level = 1
			}
		}
	}

	option = {	#Knock it down the line further
		name = goering.science.18.b
		hidden_effect = {
			country_event = {
				id = goering.science.19
				days = 45
			}
		}
	}

	option = {	#Try and salvage some of it
		name = goering.science.18.c
		set_temp_variable = { debt_temp = 4 }
		econ_national_debt_change = yes
		55 = {
			damage_building = {
				type = nuclear_reactor
				damage = 1
			}
		}
		hidden_effect = {
			country_event = {
				id = goering.science.19
				days = 72
			}
		}
	}
}

country_event = {	#Your fucked
	id = goering.science.19
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event goering.science.19"
		hidden_effect = { GGRCSI_increase_public_concern = yes }
	}
	title = goering.science.19.t
	desc = goering.science.19.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Time to pray
		name = goering.science.19.a
		GGRCSI_increase_public_concern = yes
		hidden_effect = {
			set_temp_variable = { debt_temp = 3 }
			econ_national_debt_change = yes
			country_event = {
				id = goering.science.20
				days = 12
			}
		}
	}

	option = {	#Lessen the effects
		name = goering.science.19.b
		GGRCSI_increase_public_concern = yes
		hidden_effect = {
			set_country_flag = Goering_Tried_3_Mile_island
			set_temp_variable = { debt_temp = 8 }
			econ_national_debt_change = yes
			country_event = {
				id = goering.science.20
				days = 12
			}
		}
	}
}

country_event = {	#The end :)
	id = goering.science.20
	immediate = {
		log = "[GetDateText]: [Root.GetName]: event goering.science.20"
		hidden_effect = { 
			GGRCSI_increase_public_concern = yes
			every_country = { limit = { is_ai = no } goto_province = 6488 }
			launch_nuke = {
				province = 6488
			}
		}
	}
	title = goering.science.20.t
	desc = goering.science.20.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Should've just payed
		trigger = {
			NOT = {
				has_country_flag = Goering_Tried_3_Mile_island
			}
		}
		name = goering.science.20.a
		GGRCSI_increase_public_concern = yes
		55 = {
			damage_building = {
				type = nuclear_reactor
				damage = 1
			}
		}
		55 = {
			add_province_modifier = {
				static_modifiers = { GER_3_Mile_Island }
				province = {
					id = 11560
					id = 589
				}
			}
		}
		hidden_effect = {
			news_event = {
				id = WORLD.603
				days = 1
			}
		}
		add_timed_idea = {
			idea = GGR_The_Frankfurt_Meltdown
			days = 270
		}
	}


	option = {	#Well at least you tried
		trigger = {
			has_country_flag = Goering_Tried_3_Mile_island
		}
		name = goering.science.20.b
		GGRCSI_increase_public_concern = yes
		55 = {
			add_province_modifier = {
				static_modifiers = { GER_3_Mile_Island }
				province = {
					id = 11560
				}
			}
		}
		hidden_effect = {
			news_event = {
				id = WORLD.603
				days = 1
			}
		}
		add_timed_idea = {
			idea = GGR_The_Frankfurt_Meltdown_Lessened
			days = 180
		}
	}
}

country_event = { # Ukrainian partisans attack and disable nuclear power plant, only just turned off in time. Public finds out
	id = goering.science.21
	title = goering.science.21.t
	desc = goering.science.21.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.21"}

	option = {
		name = goering.science.21.a
		GGRCSI_increase_public_concern = yes
		GGRCSI_increase_military_concern = yes
		GGRCSI_decrease_military_power = yes
	}
}

country_event = { # Reports of a German helicopter pilot flying until his fuel runs out in name of Göring concern the military
	id = goering.science.22
	title = goering.science.22.t
	desc = goering.science.22.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.22"}

	option = {
		name = goering.science.22.a
		GGRCSI_increase_military_concern = yes
	}
}


country_event = { # Due to public pressure GGRCSI is abolished
	id = goering.science.23
	title = goering.science.23.t
	desc = goering.science.23.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.23"}

	option = {
		name = goering.science.23.a
		tno_worsen_research_facilities_high = yes
		tno_worsen_academic_base_high = yes
	}
}

country_event = { # Due to military pressure GGRCSI is abolished
	id = goering.science.24
	title = goering.science.24.t
	desc = goering.science.24.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.24"}

	option = {
		name = goering.science.24.a
		tno_worsen_research_facilities_high = yes
		set_country_flag = GGRCSI_failed
		hidden_effect = {
			country_event = { id = goering.506 days = 365 }
		}
	}
}

country_event = { # The conference begins, multiple foreign journalists are given tours around our nuclear reactors
	id = goering.science.25
	title = goering.science.25.t
	desc = goering.science.25.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.25"}

	option = {
		name = goering.science.25.a
		hidden_effect = {
			if = {
				limit = {
					check_variable = { nuclear_maintenance > 50 }
				}
				country_event = { id = goering.science.26 days = 3 }
			}
			else_if = {
				limit = {
					check_variable = { nuclear_maintenance > 30 }
				}
				country_event = { id = goering.science.27 days = 3 }
			}
			else = {
				country_event = { id = goering.science.28 days = 3 }
			}
		}
	}
}

country_event = { # Tours go smoothly, nuclear program commented upon nicely.
	id = goering.science.26
	title = goering.science.26.t
	desc = goering.science.26.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.26"}

	option = {
		name = goering.science.26.a
		add_stability = 0.025
		USA = {
			custom_effect_tooltip = USA_urban_voters_header_tt
			set_temp_variable = { USA_week_change_urban_anv = 1 }
			add_to_variable = { Demographic_Shift_urban_dem_Weeks = USA_week_change_urban_dem }
			custom_effect_tooltip = USA_urban_anv_shift

			custom_effect_tooltip = USA_nativists_voters_header_tt
			set_temp_variable = { USA_week_change_nativists_anv = 1 }
			add_to_variable = { Demographic_Shift_nativists_dem_Weeks = USA_week_change_nativists_dem }
			custom_effect_tooltip = USA_nativists_anv_shift
		}
	}
}

country_event = { # Nuclear reactors are frowned upon as they are deemed unsafe, word breaks out among the public
	id = goering.science.27
	title = goering.science.27.t
	desc = goering.science.27.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.27"}

	option = {
		name = goering.science.27.a
		GGRCSI_increase_public_concern = yes
	}
}

country_event = { # Conference gets sabotaged, a nuclear reactor almost blows up due to low spending
	id = goering.science.28
	title = goering.science.28.t
	desc = goering.science.28.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.science.28"}

	option = {
		name = goering.science.28.a
		GGRCSI_increase_public_concern = yes
		GGRCSI_increase_military_concern = yes
		add_stability = -0.08
	}
}

add_namespace = goering.sungun

country_event = {	# Major Lazer Time
	id = goering.sungun.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.1.t
	desc = goering.sungun.1.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	# Fully fund it All!
		name = goering.sungun.1.a
		set_country_flag = LazersFunded
		add_to_variable = { GGRCSI_spending = 125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
	}

	option = {	# Eh, can't spare much
		name = goering.sungun.1.b
		set_country_flag = LazersSecondary
	}
}

country_event = {	# The Sun Gun - Part 1 - Infrastructure
	id = goering.sungun.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.2.t
	desc = goering.sungun.2.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Lasers Funded
		trigger = { has_country_flag = LazersFunded}
		name = goering.sungun.2.a
		set_country_flag = infastructure_good
		country_event = {
			id = goering.sungun.3
			days = 60
		}
		add_tech_bonus = {
			bonus = 0.3
			uses = 1
			category = electronics
		}
	}

	option = {	# Lasers not Funded
		name = goering.sungun.2.a
		trigger = { has_country_flag = LazersSecondary}
		set_country_flag = Infastructure_Bad
		country_event = {
			id = goering.sungun.10
			days = 60
		}
	}
}

country_event = {	# The Sun Gun - Part 2 - Satalites
	id = goering.sungun.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.3.t
	desc = goering.sungun.3.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Infastruces in the Right Place A - Delay
		name = goering.sungun.3.a
		trigger = { has_country_flag = infastructure_good }
			
		GGRCSI_increase_public_concern = yes
		add_to_variable = { GGRCSI_spending = 250 }
		custom_effect_tooltip = GGRCSI_spending_increase_250
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.250 }
		
		random_list = {
			30 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.4
					days = 60
				}
			}
			70 = { # Good
				country_event = {
					id = goering.sungun.5
					days = 60
				}
			}
		}
	}

	option = {	#Infastruces in the Right Place B - Rush
		trigger = { has_country_flag = infastructure_good }
		name = goering.sungun.3.b
		add_to_variable = { GGRCSI_spending = 125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
		
		
		random_list = {
			50 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.4
					days = 30
				}
			}
			50 = { #Good
				country_event = {
					id = goering.sungun.5
					days = 30
				}
			}
		}
	}



	option = {	#Infastructure Bad A - Delay
		name = goering.sungun.3.c
		trigger = { has_country_flag = Infastructure_Bad }
		GGRCSI_increase_public_concern = yes
		add_to_variable = { GGRCSI_spending = 250 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.250 }
		custom_effect_tooltip = GGRCSI_spending_increase_250
		random_list = {
			60 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.4
					days = 60
				}
			}
			40 = { #Good
				country_event = {
					id = goering.sungun.5
					days = 60
				}
			}
		}
	}

	option = { #Infastructure Bad B - Rush
		trigger = { has_country_flag = Infastructure_Bad }
		name = goering.sungun.3.d
		add_to_variable = { GGRCSI_spending = 70 }
		custom_effect_tooltip = GGRCSI_spending_increase_70
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.070 }
		
		random_list = {
			80 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.4
					days = 30
				}
			}
			20 = { #Good
				country_event = {
					id = goering.sungun.5
					days = 30
				}
			}
		}
	}
}

country_event = {	# The Sun Gun - Part 2a - Launch Failure
	id = goering.sungun.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.4.t
	desc = goering.sungun.4.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Do it again and soon!
		name = goering.sungun.4.a
		GGRCSI_increase_military_concern = yes
		GGRCSI_increase_public_concern = yes
		set_country_flag = Launch_failed
		country_event = {
			id = goering.sungun.5
			days = 120
		}
	}
}

country_event = {	# The Sun Gun - Part 2b - Launch Success
	id = goering.sungun.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.5.t
	desc = goering.sungun.5.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Launch succseeded first time
		name = goering.sungun.5.a
		random_list = {
			60 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.6
					days = 60
				}
			}
			40 = { #Good
				country_event = {
					id = goering.sungun.7
					days = 60
				}
			}
		}
	}

	option = {	#Launch sucked first time
		name = goering.sungun.5.a
		trigger = { has_country_flag = Launch_failed}
		random_list = {
			80 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.6
					days = 60
				}
			}
			20 = { #Good
				country_event = {
					id = goering.sungun.7
					days = 60
				}
			}
		}
	}
}

country_event = {	# The Sun Gun - Part 2c - Virus in the satellites
	id = goering.sungun.6
	immediate = { log = "[GetDateText]: [Root.GetName]: event goering.334" }
	title = goering.sungun.6.t
	desc = goering.sungun.6.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	# Our greatest priority
		name = goering.sungun.6.a
		add_to_variable = { GGRCSI_spending = 500 }
		custom_effect_tooltip = GGRCSI_spending_increase_500
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.5 }
		
		
		random_list = {
			35 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.8
					days = 60
				}
			}
			65 = { #Good
				country_event = {
					id = goering.sungun.7
					days = 60
				}
			}
		}
	}
	option = {	# Make them work overtime
		name = goering.sungun.6.b
		
		custom_effect_tooltip = GGRCSI_spending_increase_250
		add_to_variable = { GGRCSI_spending = 250 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.250 }
		
		random_list = {
			50 = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.8
					days = 60
				}
			}
			50 = { #Good
				country_event = {
					id = goering.sungun.7
					days = 60
				}
			}
		}
	}
	option = {	# Pray
		name = goering.sungun.6.c
		add_to_variable = { GGRCSI_spending = 125 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.125 }
		custom_effect_tooltip = GGRCSI_spending_increase_125
		
		random_list = {
			60  = { #they came on time, commies defeated
				country_event = { #Bad
					id = goering.sungun.8
					days = 60
				}
			}
			40 = { #Good
				country_event = {
					id = goering.sungun.7
					days = 60
				}
			}
		}
	}
}

country_event = {	# The Sun Gun - Part 2d - Satalites Operational
	id = goering.sungun.7
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.7.t
	desc = goering.sungun.7.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	# Continue
		name = goering.sungun.7.a
		country_event = {
			id = goering.sungun.9
			days = 60
		}
	}
}

country_event = {	# The Sun Gun - Part 2e - Satalites Crash
	id = goering.sungun.8
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.8.t
	desc = goering.sungun.8.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#End of sun gun event chain
		name = goering.sungun.8.a
		GGRCSI_increase_military_concern = yes
		GGRCSI_increase_public_concern = yes
		GGR_decrease_militarist_loyalty_large = yes
		add_stability = -0.15
		add_war_support = -0.15
		set_country_flag = GER_an_angry_visit
	}
}

country_event = {	# The final test
	id = goering.sungun.9
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.9.t
	desc = goering.sungun.9.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#
		name = goering.sungun.9.a
		GGRCSI_decrease_military_power = yes
		country_event = {
			id = goering.sungun.10
			days = 1
		}
	}
}

country_event = {	#A rational conclusion to an irrational project
	id = goering.sungun.10
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.10.t
	desc = goering.sungun.10.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	
		name = goering.sungun.10.a
		add_stability = -0.05
		GGRCSI_decrease_military_power = yes
	}
}

country_event = {	#End the Sun Gun Project and telling the military/egg men to fuck off 
	id = goering.sungun.11
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.334"}
	title = goering.sungun.11.t
	desc = goering.sungun.11.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	
		name = goering.sungun.11.a
	    custom_effect_tooltip = GER_GOR_an_abrupt_end	
		GGRCSI_decrease_military_power = yes
		clear_variable = GGRCSI_spending
		clear_variable = GGRCSI_military_concern
		clear_variable = GGRCSI_public_concern
		clear_variable = GGRCSI_corruption
		clear_variable = GGRCSI_total_nuclear_reactors
		clear_variable = nuclear_maintenance
		remove_dynamic_modifier = { modifier = GGR_GGRCSI_economy }
		clr_country_flag = GER_science_tree

	}
}

country_event = {	# Solar Power
	id = goering.sungun.12
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.sungun.12"}
	title = goering.sungun.12.t
	desc = goering.sungun.12.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#Hmmmm... Interesting...
		name = goering.sungun.12.a
		add_tech_bonus = {
			bonus = 0.3
			uses = 1
			category = electronics
		}
		add_tech_bonus = {
			bonus = 0.45
			uses = 1
			category = industry
		}
	}
}

add_namespace = goering.liger


country_event = {	# The Liger design is presented to Göring
	id = goering.liger.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.1"}
	title = goering.liger.1.t
	desc = goering.liger.1.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	# Oh boi
		name = goering.liger.1.a
	}
}

country_event = {	#The engine
	id = goering.liger.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.2"}
	title = goering.liger.2.t
	desc = goering.liger.2.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#GE (good engine)
		name = goering.liger.2.a
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		swap_ideas = {
		    remove_idea = GGR_tank_research_started
		    add_idea = GGR_tank_research_1a
		}
	    set_country_flag = good_engine_path_taken
	}
	option = {	#BE (bad engine)
		name = goering.liger.2.b
		swap_ideas = {
		    remove_idea = GGR_tank_research_started
		    add_idea = GGR_tank_research_1b
		}
	    set_country_flag = bad_engine_path_taken
	}
}

country_event = {	#The Armour
	id = goering.liger.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.3"}
	title = goering.liger.3.t
	desc = goering.liger.3.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	#GE/GA (good engine/good armour)
		name = goering.liger.3.a
		trigger = {
			has_country_flag = good_engine_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
       	swap_ideas = {
		    remove_idea = GGR_tank_research_1a
		    add_idea = GGR_tank_research_1a1
		}
		set_country_flag = good_engine_good_armour_path_taken
	}
	option = {	#GE/BA (good engine/bad armour)
		name = goering.liger.3.b
		trigger = {
			has_country_flag = good_engine_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1a
		    add_idea = GGR_tank_research_1a2
		}
		set_country_flag = good_engine_bad_armour_path_taken
	}
	
	option = {	#BE/GA (bad engine/good armour)
		name = goering.liger.3.a
		trigger = {
			has_country_flag = bad_engine_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b
		    add_idea = GGR_tank_research_1b1
		}
		set_country_flag = bad_engine_good_armour_path_taken
	}
	option = {	#BE/BA (bad engine/bad armour)
		name = goering.liger.3.b
		trigger = {
			has_country_flag = bad_engine_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b
		    add_idea = GGR_tank_research_1b2
		}
		set_country_flag = bad_engine_bad_armour_path_taken
	}
}


country_event = {	# The Gun
	id = goering.liger.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.4"}
	title = goering.liger.4.t
	desc = goering.liger.4.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes

	option = {	#(good engine/good armour/good gun)
		name = goering.liger.4.a
	    trigger = {
			has_country_flag = good_engine_good_armour_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1a1
		    add_idea = GGR_tank_research_GGG
		} 	
	}
	option = {	#(good engine/good armour/bag gun)
		name = goering.liger.4.b
        trigger = {
			has_country_flag = good_engine_good_armour_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1a1
		    add_idea = GGR_tank_research_GGB
		} 	
	}
	
	option = {	#(good engine/bad armour/good gun)
		name = goering.liger.4.a
        trigger = {
			has_country_flag = good_engine_bad_armour_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1a2
		    add_idea = GGR_tank_research_GBG
		} 	
	}
	option = {	#(good engine/bad armour/bad gun)
		name = goering.liger.4.b
        trigger = {
			has_country_flag = good_engine_bad_armour_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1a2
		    add_idea = GGR_tank_research_GBB
		} 	
	}
	
	option = {	#(bad engine/good armour/good gun)
		name = goering.liger.4.a
        trigger = {
			has_country_flag = bad_engine_good_armour_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
		custom_effect_tooltip = GGRCSI_spending_increase_10
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b1
		    add_idea = GGR_tank_research_BGG
		} 	
	}
	
	option = {	#(good engine/bad armour/bad gun)
		name = goering.liger.4.b
        trigger = {
			has_country_flag = bad_engine_good_armour_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b1
		    add_idea = GGR_tank_research_BGB
		} 	
	}
	
	option = {	#(bad engine/bad armour/good gun)
		name = goering.liger.4.a
        trigger = {
			has_country_flag = bad_engine_bad_armour_path_taken
		}
		add_to_variable = { GGRCSI_spending = 10 }
		add_to_variable = { GGR_GGRCSI_misc_costs = 0.010 }
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b2
		    add_idea = GGR_tank_research_BBG
		} 	
	}
	option = {	#(bad engine/bad armour/bad gun)
		name = goering.liger.4.b
        trigger = {
			has_country_flag = bad_engine_bad_armour_path_taken
		}
	    swap_ideas = {
		    remove_idea = GGR_tank_research_1b2
		    add_idea = GGR_tank_research_BBB
		} 	
	}
}


country_event = {	#The Ligers first test with Göring present
	id = goering.liger.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.5"}
	title = goering.liger.5.t
	desc = goering.liger.5.desc
	picture = GFX_report_event_liger_test

	fire_only_once = yes
	is_triggered_only = yes


	option = { # Oh, its that bad.
		name = goering.liger.5.a
		hidden_effect = { country_event = { id = goering.liger.6 days = 2 } }
		activate_mission = GGRCSI_militarist_liger_checkup
		set_country_flag = GGR_liger_recovery
	}
}


country_event = {	# Salvaging the Liger project
	id = goering.liger.6
	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.6"}
	title = goering.liger.6.t
	desc = goering.liger.6.desc
	picture = GFX_report_event_MAD_palace

	fire_only_once = yes
	is_triggered_only = yes


	option = {	# Start implicating the military
		name = goering.liger.6.a
		country_event = { id = goering.liger.7 days = 3 }
	}
}

country_event = { #
	id = goering.liger.7
	title = goering.liger.7.t
	desc = goering.liger.7.desc
	picture = GFX_report_event_GER_army_2

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {log = "[GetDateText]: [Root.GetName]: event goering.liger.7"}

	option = {
		name = goering.liger.7.a
		GGR_unlock_liger_templates = yes
		set_technology = {
			MBT_das_liger = 1      
		}
		set_technology = {
			Liger_Gun = 1     
		}
	}
}