add_namespace = fbavaria

# Unused (Old Starting Event)
country_event = {
	id = fbavaria.1
	title = fbavaria.1.t
	desc = fbavaria.1.d
	picture = GFX_report_event_femboy_bavaria

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.1.a
	}
}

country_event = {
	id = fbavaria.2
	title = fbavaria.2.t
	desc = fbavaria.2.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.2.a
		add_stability = 0.05
		hidden_effect = {
			country_event = {
			    id = fbavaria.3
			    hours = 1
			}
		}
		hidden_effect = {
			country_event = {
			    id = fbavaria.77
			    days = 31
			}
		}
	}

	option = {
		name = fbavaria.2.b
		hidden_effect = {
			country_event = {
			    id = fbavaria.8
			}
		}
		hidden_effect = {
			country_event = {
			    id = fbavaria.77
			    days = 31
			}
		}
	}

	option = {
		name = fbavaria.2.c
		hidden_effect = {
			country_event = {
			    id = fbavaria.7
			}
		}
		hidden_effect = {
			country_event = {
			    id = fbavaria.77
			    days = 31
			}
		}
	}
}

country_event = {
	id = fbavaria.3
	title = fbavaria.3.t
	desc = fbavaria.3.d
	picture = GFX_report_event_bavaria_concert_4

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.3.a
		army_experience = 25
	}

	option = {
		name = fbavaria.3.b
		add_political_power = 50
	}
}

country_event = {
	id = fbavaria.4
	title = fbavaria.4.t
	desc = fbavaria.4.d
	picture = GFX_report_event_bavaria_concert_2

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.4.a
		hidden_effect = {
			country_event = {
			    id = fbavaria.5
			    hours = 1
			}
		}
		add_to_variable = {
			var = cuteness
			value = 5
		}
		custom_effect_tooltip = cuteness_5_tooltip
	}

	option = {
		name = fbavaria.4.b
		hidden_effect = {
			country_event = {
			    id = fbavaria.5
			    hours = 1
			}
		}
		add_stability = 0.05
	}

	option = {
		name = fbavaria.4.c
		hidden_effect = {
			country_event = {
			    id = fbavaria.5
			    hours = 1
			}
		}
		add_war_support = 0.05
	}
}

country_event = {
	id = fbavaria.5
	title = fbavaria.5.t
	desc = fbavaria.5.d
	picture = GFX_report_event_bavaria_concert_3

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.5.a
		add_popularity = {
		    ideology = communism
		    popularity = 0.05
		}
		add_stability = 0.075
	}

	option = {
		name = fbavaria.5.b
		random_owned_controlled_state = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
}

country_event = {
	id = fbavaria.6
	title = fbavaria.6.t
	desc = fbavaria.6.d
	picture = GFX_report_event_bavaria_concert_5

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.6.a
	}
}

country_event = {
	id = fbavaria.7
	title = fbavaria.7.t
	desc = fbavaria.7.d
	picture = GFX_report_event_bavaria_concert_6

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.7.a
		hidden_effect = {
			country_event = {
			    id = fbavaria.3
			    hours = 1
			}
		}
		add_war_support = 0.05
	}
}

country_event = {
	id = fbavaria.8
	title = fbavaria.8.t
	desc = fbavaria.8.d
	picture = GFX_report_event_bavaria_concert_6

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.8.a
		hidden_effect = {
			country_event = {
			    id = fbavaria.3
			    hours = 1
			}
		}
		add_to_variable = {
			var = cuteness
			value = 10
		}
		custom_effect_tooltip = cuteness_10_tooltip
	}
}

country_event = {
	id = fbavaria.9
	title = fbavaria.9.t
	desc = fbavaria.9.d
	picture = GFX_report_event_bavaria_concert_4

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.9.a
	}
}

country_event = {
	id = fbavaria.10
	title = fbavaria.10.t
	desc = fbavaria.10.d
	picture = GFX_report_event_bavaria_concert_4

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.10.a
	}
}

#Modern Age - Socks
country_event = {
	id = fbavaria.11
	title = fbavaria.11.t
	desc = fbavaria.11.d
	picture = GFX_report_massive_loom

	fire_only_once = no
	is_triggered_only = yes

	option = {
		name = fbavaria.11.a
		add_ideas = BVR_socks_1
	}
}

#Wilhelm
country_event = {
	id = fbavaria.12
	title = fbavaria.12.t
	desc = fbavaria.12.d
	picture = GFX_report_event_wilhelm_f

	trigger = {
		GER = {
			has_civil_war = yes
		}
		country_exists = HOL
		tag = BVR
		date > 1936.2.1
	}

	mean_time_to_happen = {
		days = 40
	}

	fire_only_once = yes
	is_triggered_only = no

	#Astolfo Regent
	option = {
		name = fbavaria.12.a
		hidden_effect = {
			country_event = {
			    id = fbavaria.53
			}
			set_global_flag = wilhelms_regent
		}
		custom_effect_tooltip = fbavaria_12_a_tooltip
	}

	#Felix Heir
	option = {
		name = fbavaria.12.b
		hidden_effect = {
			country_event = {
			    id = fbavaria.54
			}
			set_global_flag = wilhelms_heir
		}
		custom_effect_tooltip = fbavaria_12_b_tooltip
	}

	#Inudstrial Investments
	option = {
		name = fbavaria.12.c
		hidden_effect = {
			country_event = {
			    id = fbavaria.17
			}
			set_global_flag = wilhelms_promise
		}
		custom_effect_tooltip = fbavaria_12_c_tooltip
	}

	#Kiss
	option = {
		name = fbavaria.12.e
		hidden_effect = {
			country_event = {
			    id = fbavaria.16
			}
		}
		add_to_variable = {
			var = cuteness
			value = 10
		}
		custom_effect_tooltip = fbavaria_12_e_tooltip
	}
}

country_event = {
	id = fbavaria.13
	title = fbavaria.13.t
	desc = fbavaria.13.d
	picture = GFX_report_cat_appreciation_day

	trigger = {
		tag = BVR
		date > 1936.5.30
		date < 1936.7.1
	}

	fire_only_once = yes
	is_triggered_only = no

	option = {
		name = fbavaria.13.a
		hidden_effect = {
			country_event = {
			    id = fbavaria.14
			    days = 3
			}
		}
	}
}

# Cat Appreciation
country_event = {
	id = fbavaria.14
	title = fbavaria.14.t
	desc = fbavaria.14.d
	picture = GFX_report_cat_appreciation_day

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.14.a
	}
}

# Valentines
country_event = {
	id = fbavaria.15
	title = fbavaria.15.t
	desc = fbavaria.15.d
	picture = GFX_report_sparkles

	trigger = {
		tag = BVR
		date > 1937.2.1
		date < 1937.3.1
	}

	fire_only_once = yes
	is_triggered_only = no

	option = {
		name = fbavaria.15.a
	}
}

#Kiss
country_event = {
	id = fbavaria.16
	title = fbavaria.16.t
	desc = fbavaria.16.d
	picture = GFX_report_event_wilhelm_f

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.16.a
	}
}

#Industry
country_event = {
	id = fbavaria.17
	title = fbavaria.17.t
	desc = fbavaria.17.d
	picture = GFX_report_event_wilhelm_f

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.17.a
	}
}

# Grand Ball
country_event = {
	id = fbavaria.18
	title = fbavaria.18.t
	desc = fbavaria.18.d
	picture = GFX_report_throne

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.18.a
	}
}

# A Little Practice
country_event = {
	id = fbavaria.19
	title = fbavaria.19.t
	desc = fbavaria.19.d
	picture = GFX_report_cuteroom

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.19.a
	}
}

# The Fate of King Rupprecht
country_event = {
	id = fbavaria.20
	title = fbavaria.20.t
	desc = fbavaria.20.d
	picture = GFX_report_event_rupprecht

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.20.a
		swap_ideas = {
			remove_idea = BVR_missing_king
			add_idea = BVR_rupprecht
		}
	}

	option = {
		name = fbavaria.20.b
		remove_ideas = BVR_missing_king
		add_political_power = 100
	}

	option = {
		name = fbavaria.20.c
		remove_ideas = BVR_missing_king
		add_country_leader_trait = brown_haired_king
		add_stability = -0.15
	}
}

# A Missing King
country_event = {
	id = fbavaria.21
	title = fbavaria.21.t
	desc = fbavaria.21.d
	picture = GFX_report_event_rupprecht

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		has_completed_focus = BVR_the_second_munich_concert
	}

	option = {
		name = fbavaria.21.a
		swap_ideas = {
			remove_idea = BVR_rupprecht
			add_idea = BVR_missing_king
		}
	}
}

# Cuteness in the Classroom
country_event = {
	id = fbavaria.22
	title = fbavaria.22.t
	desc = fbavaria.22.d
	picture = GFX_report_sparkles

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.22.a
		add_to_variable = {
			var = cuteness
			value = 5
		}
		custom_effect_tooltip = cuteness_5_tooltip
	}
}

# The Gender Question
country_event = {
	id = fbavaria.23
	title = fbavaria.23.t
	desc = fbavaria.23.d
	picture = GFX_report_event_bavaria_concert_4

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.23.a
		add_stability = -0.05
		add_ideas = BVR_gender_equality
	}
}

# Where is the cuteness?
country_event = {
	id = fbavaria.24
	title = fbavaria.24.t
	desc = fbavaria.24.d
	picture = GFX_report_nocute

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		check_variable = { cuteness = 0 }
		tag = BVR
	}

	option = {
		name = fbavaria.24.a
		add_political_power = -50
		add_stability = -0.05
	}
}

# Can it get any cuter?!
country_event = {
	id = fbavaria.25
	title = fbavaria.25.t
	desc = fbavaria.25.d
	picture = GFX_report_maxcute

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		check_variable = { cuteness = 100 }
		tag = BVR
	}

	option = {
		name = fbavaria.25.a
		add_political_power = 50
		add_stability = 0.05
	}
}

# The Cute Militias
country_event = {
	id = fbavaria.26
	title = fbavaria.26.t
	desc = fbavaria.26.d
	picture = GFX_report_warrior

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.26.a
		add_war_support = 0.05
		every_state = {
			limit = {
				OR = {
					is_core_of = GER
					is_core_of = AUS
				}
			}
			add_claim_by = BVR
		}
		hidden_effect = {
			load_oob = "BVR_femboy_militia"
		}
		custom_effect_tooltip = fbavaria26_tooltip
	}
}

# The Most Wonderful Time of the Year
country_event = {
	id = fbavaria.27
	title = fbavaria.27.t
	desc = fbavaria.27.d
	picture = GFX_report_sparkles

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		date > 1936.12.1
		date < 1937.1.1
		tag = BVR
	}

	option = {
		name = fbavaria.27.a
		add_stability = 0.05
	}
}

#Württemberg rises
country_event = {
	id = fbavaria.28
	title = fbavaria.28.t
	desc = fbavaria.28.d
	picture = GFX_report_warrior

	fire_only_once = yes
	is_triggered_only = yes

	#Support
	option = {
		name = fbavaria.28.a
		add_political_power = 50
		GER = {
			add_stability = -0.10
		}
	}

	#Denounce
	option = {
		name = fbavaria.28.a
	}
}



#Tyrol Events
country_event = {
	id = fbavaria.29
	title = fbavaria.29.t
	desc = fbavaria.29.d
	picture = GFX_report_mountains

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		date > 1937.2.1
		date < 1937.5.1
		tag = BVR
		country_exists = AUS
		AUS = {
			has_war = no
			is_subject = no
		}
	}

	option = {
		name = fbavaria.29.a
		hidden_effect = {
			country_event = {
				id = fbavaria.30
				days = 15
				random_days = 30
			}
		}
		AUS = {
			153 = {
				set_demilitarized_zone = yes
			}
			39 = {
				set_demilitarized_zone = yes
			}
			848 = {
				set_demilitarized_zone = yes
			}
		}
	}
}

country_event = {
	id = fbavaria.30
	title = fbavaria.30.t
	desc = fbavaria.30.d
	picture = GFX_report_mountains

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.30.a
		hidden_effect = {	
			country_event = {
				id = fbavaria.31
				days = 15
				random_days = 30
			}
		}
	}
}

country_event = {
	id = fbavaria.31
	title = fbavaria.31.t
	desc = fbavaria.31.d
	picture = GFX_report_mountains

	fire_only_once = yes
	is_triggered_only = yes

	#Support Austrian government getting overthrown
	option = {
		name = fbavaria.31.a
		TYR = {
			transfer_state = 153
			transfer_state = 39
			transfer_state = 848
			inherit_technology = BVR
			every_state = {
				limit = {
					is_core_of = AUS
				}
				add_core_of = TYR
			}
			hidden_effect = {
				load_oob = "TYR_civilwar"
			}
		}
		puppet = TYR
		declare_war_on = {
			target = AUS
			type = annex_everything
		}
		TYR = {
			declare_war_on = {
			    target = AUS
			    type = annex_everything
			}
		}
		ai_chance = {
			base = 1
		}
	}

	#Peaceful Support
	option = {
		name = fbavaria.31.b
		TYR = {
			transfer_state = 153
			transfer_state = 39
			transfer_state = 848
			add_state_core = 153
			add_state_core = 39
			add_state_core = 848
			inherit_technology = BVR
		}
		puppet = TYR

		ai_chance = {
			base = 50
		}
	}

	#Invade!
	option = {
		name = fbavaria.31.c
		declare_war_on = {
		    target = AUS
		    type = annex_everything
		}
		add_state_core = 153
		add_state_core = 39
		add_state_core = 848
		ai_chance = {
			base = 1
		}
	}
}



# A Dye-er Situation
country_event = {
	id = fbavaria.32
	title = fbavaria.32.t
	desc = fbavaria.32.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		date > 1938.3.1
		date < 1938.6.1
		tag = BVR
	}

	option = {
		name = fbavaria.32.a
		add_stability = -0.05
	}
}

#Astolfo Power
country_event = {
	id = fbavaria.33
	title = fbavaria.33.t
	desc = fbavaria.33.d
	picture = GFX_report_astolfo

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.33.a
		remove_ideas = BVR_a_powerless_regent
	}
}

#Round Table
country_event = {
	id = fbavaria.34
	title = fbavaria.34.t
	desc = fbavaria.34.d
	picture = GFX_report_astolfo

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.34.a
		add_political_power = 150
	}
}

country_event = {
	id = fbavaria.35
	title = fbavaria.35.t
	desc = fbavaria.35.d
	picture = GFX_report_astolfo

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.35.a
	}
	option = {
		name = fbavaria.35.b
		add_stability = -0.20
		remove_ideas = BVR_missing_king
		swap_ruler_traits = { remove = pink_hair add = pink_haired_king }
	}
}

country_event = {
	id = fbavaria.36
	title = fbavaria.36.t
	desc = fbavaria.36.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		tag = BVR
		date > 1938.6.1
	}

	option = {
		name = fbavaria.36.a
		add_manpower = 100000
	}
}

country_event = {
	id = fbavaria.38
	title = fbavaria.38.t
	desc = fbavaria.38.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.38.a
		add_country_leader_role = {
			character = BVR_nagisa
			country_leader = {
				expire = "1965.1.1"
				ideology = cutenessology
				traits = {
					strategically_cute
					dangerous_and_deadly
				}
				desc = NAGISA_LEADER_DESC
			}
			promote_leader = yes
		}
		add_popularity = {
		    ideology = democratic
		    popularity = 0.1
		}
	}

	option = {
		name = fbavaria.38.b
	}
}

country_event = {
	id = fbavaria.39
	title = fbavaria.39.t
	desc = fbavaria.39.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	# Fembavaria
	option = { 
		name = fbavaria.39.a
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_a
	}

	# Femboyvaria
	option = { 
		name = fbavaria.39.b
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_b
	}

	# The Bavarian Republic
	option = { 
		name = fbavaria.39.c
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_c_alt
	}

	# Bavaria
	option = { 
		name = fbavaria.39.e
		set_cosmetic_tag = BVR_e
	}
}

country_event = {
	id = fbavaria.40
	title = fbavaria.40.t
	desc = fbavaria.40.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.40.a
		annex_country = {
		    target = GER
		    transfer_troops = yes
		}
		if = {
			limit = {
				has_completed_focus = BVR_a_fair_election
			}
			every_state = {
				limit = {
					is_core_of = GER
					NOT = {
						is_core_of = BVR
					}
				}
				set_compliance = 25
			}
		}
	}
}

country_event = {
	id = fbavaria.41
	title = fbavaria.41.t
	desc = fbavaria.41.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.41.a
	}

	option = {
		name = fbavaria.41.b
		add_stability = -0.10
		create_wargoal = { type = annex_everything target = GER }
	}
}

country_event = {
	id = fbavaria.42
	title = fbavaria.42.t
	desc = fbavaria.42.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		TYR = {
			has_war = no
			owns_state = 4
		}
		tag = BVR
	}

	option = {
		name = fbavaria.42.a
		puppet = TYR
		remove_ideas = BVR_tyrol_uprising
	}
}

country_event = {
	id = fbavaria.43
	title = fbavaria.43.t
	desc = fbavaria.43.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		has_war = no
		owns_state = 64
		has_completed_focus = BVR_strike_at_germany
	}

	option = {
		name = fbavaria.43.a
		add_stability = 0.10
	}
}

country_event = {
	id = fbavaria.44
	title = fbavaria.44.t
	desc = fbavaria.44.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			every_state = {
				limit = {
					is_core_of = CZE
				}
				add_core_of = BVR
			}
			transfer_state = 7857
		}
	}

	option = {
		name = fbavaria.44.a
		declare_war_on = {
		    target = CZE
		    type = annex_everything
		}
	}

	option = {
		name = fbavaria.44.b
		add_war_support = -0.10
	}
}

country_event = {
	id = fbavaria.45
	title = fbavaria.45.t
	desc = fbavaria.45.d
	picture = GFX_report_astolfo

	fire_only_once = yes
	is_triggered_only = yes

	immediate = {
		hidden_effect = {
	    	FSC = {
	    		transfer_state = 37
	    		transfer_state = 138
	    		transfer_state = 144
	    		transfer_state = 666
	    	}
	    	every_state = {
	    		limit = {
	    			OR = {
	    				is_core_of = DEN
	    				is_core_of = SWE
	    				is_core_of = NOR
	    			}
	    		}
	    		add_core_of = FSC
	    	}
	    	puppet = FSC
	    }
	}

	option = {
		name = fbavaria.45.a
		create_wargoal = {
		    target = NOR
		    type = annex_everything
		}
		create_wargoal = {
		    target = SWE
		    type = annex_everything
		}
		create_wargoal = {
		    target = DEN
		    type = annex_everything
		}
	}
}

country_event = {
	id = fbavaria.46
	title = fbavaria.46.t
	desc = fbavaria.46.d
	picture = GFX_report_paris

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		tag = BVR
		NOT = {
			owns_state = 64
		}
		country_exists = GER
		has_war = no
		FRA = {
			has_government = communism
			has_war = no
		}
	}

	option = {
		name = fbavaria.46.a
		country_event = {
		    id = fbavaria.47
		}
	}
}

country_event = {
	id = fbavaria.47
	title = fbavaria.47.t
	desc = fbavaria.47.d
	picture = GFX_report_paris

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.47.a
		give_guarantee = FRA
		FRA = {
			give_guarantee = BVR
		}
	}

	option = {
		name = fbavaria.47.b
		add_political_power = 50
	}
}

country_event = {
	id = fbavaria.48
	title = fbavaria.48.t
	desc = fbavaria.48.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.48.a
		ai_chance = {
			factor = 15
		}
		BVR = {
			country_event = { id = fbavaria.49 }
		}
	}

	option = {
		name = fbavaria.48.b
		ai_chance = {
			factor = 10
		}
		BVR = {
			country_event = { id = fbavaria.50 }
		}
	}
}

country_event = {
	id = fbavaria.49
	title = fbavaria.49.t
	desc = fbavaria.49.d
	picture = GFX_report_cutecity

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.49.a
		transfer_state = 743
		set_province_name = { id = 10000 name = "Femdao" }
	}
}

country_event = {
	id = fbavaria.50
	title = fbavaria.50.t
	desc = fbavaria.50.d
	picture = GFX_report_cutecity

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.50.a
		add_state_claim = 743
		add_war_support = 0.05
	}
}

#Rommel Second Wave
country_event = {
	id = fbavaria.52
	title = fbavaria.52.t
	desc = fbavaria.52.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = no

	trigger = {
		has_country_leader = {
		    name = "Erwin Rommel"
		    ruling_only = yes
		}
		OR = {
			NOT = {
				controls_state = 66
			}
			NOT = {
				controls_state = 57
			}
			NOT = {
				controls_state = 55
			}
			surrender_progress > 0.45
		}
		controls_state = 50
	}

	option = {
		name = fbavaria.52.a
		load_oob = "GER_civil_war_3"
		add_timed_idea = {
			idea = BVR_last_defense
			days = 150
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment_0
			amount = 4500
			producer = GER
		}
		add_war_support = 0.30
	}
}

#Astolfo Regent for Wilhelm
country_event = {
	id = fbavaria.53
	title = fbavaria.53.t
	desc = fbavaria.53.d
	picture = GFX_report_event_wilhelm_f

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.53.a
		add_ideas = BVR_kaiser_wilhelm
	}
}

#Felix Heir
country_event = {
	id = fbavaria.54
	title = fbavaria.54.t
	desc = fbavaria.54.d
	picture = GFX_report_event_wilhelm_f

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.54.a
	}
}

#Germany Normalizes Relations
country_event = {
	id = fbavaria.55
	title = fbavaria.55.t
	desc = fbavaria.55.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.55.a
		add_political_power = 10
	}
}

#German Cooperation
country_event = {
	id = fbavaria.56
	title = fbavaria.56.t
	desc = fbavaria.56.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.56.a
		add_ideas = BVR_german_ecnomic_cooperation
		GER = {
			add_ideas = BVR_german_ecnomic_cooperation_0
		}
	}

	option = {
		name = fbavaria.56.a
	}
}

#Wurttemburg Negotiations
country_event = {
	id = fbavaria.57
	title = fbavaria.57.t
	desc = fbavaria.57.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.57.a
		add_ideas = BVR_wurttemberg_exports
		GER = {
			add_ideas = BVR_wurttemberg_imports
		}
		transfer_state = 50
		add_state_core = 50
	}

	option = {
		name = fbavaria.57.b
	}
}

#The German Alliance
country_event = {
	id = fbavaria.58
	title = fbavaria.58.t
	desc = fbavaria.58.d
	picture = GFX_report_event_bavaria_concert

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.58.a
		GER = {
			set_rule = {
			    can_create_factions = yes
			}
			create_faction = GERMAN_ALLIANCE
			add_to_faction = BVR
		}
	}

	option = {
		name = fbavaria.58.b

	}
}

#Germany Denounces Bavaria
country_event = {
	id = fbavaria.59
	title = fbavaria.59.t
	desc = fbavaria.59.d
	picture = GFX_report_cutecity

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.59.a
		add_political_power = -50
		add_stability = -0.05
		add_war_support = 0.05
	}
}

#Germany Demands Economic Subjugation
country_event = {
	id = fbavaria.60
	title = fbavaria.60.t
	desc = fbavaria.60.d
	picture = GFX_report_cutecity

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.60.a
		add_ideas = BVR_tribute_to_germany
		GER = {
			add_ideas = BVR_tribute_from_bavaria
		}
	}

	option = {
		name = fbavaria.60.b
		GER = {
			add_war_support = 0.025
		}
		add_war_support = 0.025
	}
}

#Germany Northern Block
country_event = {
	id = fbavaria.61
	title = fbavaria.61.t
	desc = fbavaria.61.d
	picture = GFX_report_cutecity

	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = fbavaria.61.a
		GER = {
			add_to_faction = ROOT
		}
	}

	option = {
		name = fbavaria.61.b
	}
}


#
#
#
#

# Pat-triarch

#
#
#
#


unit_leader_event = {
	id = fbavaria.62
	title = fbavaria.62.t
	desc = fbavaria.62.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	immediate = {

	}

	trigger = {
		tag = BVR
		NOT = {
			has_country_flag = ivan_in_russia
		}
	}

	#Send to Ukraine
	option = { 
		name = fbavaria.62.a
		custom_effect_tooltip = fbavaria_62_tooltip
		add_to_variable = {
			var = femboyukr
			value = 20
		}
		BVR_ivan = {
			retire = yes
		}
		set_country_flag = ivan_in_russia
		add_political_power = -50
	}

	#Keep Him
	option = { 
		name = fbavaria.62.b
	}
}

#Soviet's Event
country_event = {
	id = fbavaria.63
	title = fbavaria.63.t
	desc = fbavaria.63.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.63.a
		BVR = {
			country_event = {
			    id = fbavaria.64
			}
		}
	}
}

#Deal from Soviets
country_event = {
	id = fbavaria.64
	title = fbavaria.64.t
	desc = fbavaria.64.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.64.a
		add_timed_idea = {
			idea = BVR_russian_bribes
			days = 360
		}
		custom_effect_tooltip = ukrsup20d
		add_to_variable = {
			var = femboyukr
			value = -20
		}
	}

	option = { 
		name = fbavaria.64.b
		add_to_variable = {
			var = femboyukr
			value = 5
		}
		custom_effect_tooltip = ukrsup5
	}
}

#Kiev Conference
country_event = {
	id = fbavaria.65
	title = fbavaria.65.t
	desc = fbavaria.65.d
	picture = GFX_report_cutecity
	
	is_triggered_only = no
	fire_only_once = yes

	trigger = {
		tag = BVR
		country_exists = SOV
		NOT = {
			country_exists = PAT
		}
		check_variable = { ukrsup10 < 91 }
		date > 1936.6.1
	}

	option = { 
		name = fbavaria.65.a
		add_timed_idea = {
			idea = BVR_financing_kiev_assembly
			days = 180
		}
		add_to_variable = {
			var = femboyukr
			value = 10
		}
		custom_effect_tooltip = ukrsup10
	}

	option = { 
		name = fbavaria.65.b
	}
}

#Ivan Gives Speach in Sochi
country_event = {
	id = fbavaria.66
	title = fbavaria.66.t
	desc = fbavaria.66.d
	picture = GFX_report_cutecity
	
	is_triggered_only = no
	fire_only_once = yes

	trigger = {
		tag = BVR
		country_exists = SOV
		NOT = {
			country_exists = PAT
		}
		check_variable = { femboycau < 100 }
		date > 1936.8.10
		has_country_flag = ivan_in_russia
	}

	option = { 
		name = fbavaria.66.a
		add_to_variable = {
			var = femboycau
			value = 20
		}
		custom_effect_tooltip = causup20
		if = {
			limit = {
				check_variable = { femboycau > 100 }
			}
			set_variable = { femboycau = 100 }
		}
	}
}

#Germany Financial Investments

country_event = {
	id = fbavaria.67
	title = fbavaria.67.t
	desc = fbavaria.67.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.67.a
		add_timed_idea = {
			idea = BVR_gazillion_dollars
			days = 180
		} 
	}
}

#Kaiser Wilhelm II Death

country_event = {
	id = fbavaria.68
	title = fbavaria.68.t
	desc = fbavaria.68.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = no
	fire_only_once = yes

	trigger = {
		date > 1936.2.1
		tag = GER
		has_country_leader = {
			character = GER_wilhelm_ii_new
			ruling_only = yes
		}
	}

	#Wilhelm III
	option = { 
		name = fbavaria.68.a
		trigger = {
			NOT = {
				has_global_flag = wilhelms_heir
			}
		}
		#Wilhelm III Becomes Leader
	}

	#Felix
	option = { 
		name = fbavaria.68.b

		trigger = {
			has_global_flag = wilhelms_heir
		}

		ai_chance = {
			base = 10
			modifier = {
				add = 20
				is_in_faction_with = BVR
			}
			modifier = {
				add = 20
				has_idea = BVR_german_ecnomic_cooperation_0
			}
			modifier = {
				add = 20
				has_idea = BVR_german_ecnomic_cooperation_0
			}
			modifier = {
				add = 20
				BVR = {
					num_of_factories > 40
				}
			}
			modifier = {
				add = 20
				BVR = {
					has_army_manpower = {
						size > 350000
					}
				}
			}
			modifier = {
				factor = 0
				has_war_with = BVR
			}
		}

		BVR = {
			country_event = fbavaria.69
		}

	}

	#Dispute
	option = { 
		name = fbavaria.68.c

		trigger = {
			has_global_flag = wilhelms_heir
		}

		ai_chance = {
			base = 20
			modifier = {
				add = 20
				is_in_faction = yes
				NOT = {
					is_in_faction_with = BVR
				}
			}
			modifier = {
				add = 20
				BVR = {
					has_war = yes
				}
			}
			modifier = {
				add = 20
				BVR = {
					num_of_factories < 25
				}
			}
		}

		#Wilhelm III Becomes Leader

		BVR = {
			country_event = fbavaria.70
		}

	}
}

#Felix Becomes Kaiser of New German Empire (Nice)

country_event = {
	id = fbavaria.69
	title = fbavaria.69.t
	desc = fbavaria.69.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	immediate = {
		hidden_effect = {
			every_state = {
				limit = {
					is_core_of = GER
				}
				add_core_of = BVR
			}
		}
	}

	option = { 
		name = fbavaria.69.a
		if = {
			limit = {
				has_country_leader = {
				    name = "Felix von Wittelsbach"
				}
			}
			annex_country = {
			    target = GER
			    transfer_troops = yes
			}
		}
		else = {
			puppet = GER
			GER = {
				add_ideas = BVR_femboy_nation
				add_ideas = BVR_low
				hidden_effect = {
					set_politics = {
						ruling_party = adorablex
					    elections_allowed = no
					}
					add_popularity = {
					    ideology = adorablex
					    popularity = 0.5
					}
					set_cosmetic_tag = GER_felix
				}
				set_party_name = { 
				    ideology = adorablex 
				    long_name = GER_fascism_felix_long 
				    name = GER_fascism_felix
				}
				add_country_leader_role = {
					character = GER_felix
					country_leader = {
						expire = "1965.1.1"
						ideology = kindheartedism
					}
					promote_leader = yes
				}
			}
		}
	}
}

#Betrayed

country_event = {
	id = fbavaria.70
	title = fbavaria.70.t
	desc = fbavaria.70.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.70.a
		every_state = {
			limit = {
				is_core_of = GER
			}
			add_core_of = BVR
		}
		GER = {
			dismantle_faction = yes
			leave_faction = yes
		}
		hidden_effect = {
			dismantle_faction = yes
			leave_faction = yes
		}
		if = {
			limit = {
				has_country_leader = {
				    name = "Felix von Wittelsbach"
				}
			}
			add_war_support = 0.20
			add_manpower = 20000
			declare_war_on = {
			    target = GER
			    type = annex_everything
			}
		}
		else = {
			puppet = GER
			GER = {
				add_popularity = {
				    ideology = adorablex
				    popularity = 0.3
				}
				set_politics = {
					ruling_party = adorablex
				    elections_allowed = no
				}
				add_country_leader_role = {
				    character = GER_felix
				    promote_leader = yes
				    country_leader = {
				        ideology = kindheartedism
				        expire = "1965.1.1.1"
				        traits = { real_catboy }
				        desc = FELIX_LEADER_DESC
				    }
				}
				start_civil_war = {
				    ideology = neutrality
				    size = 0.7
				}
				hidden_effect = {
					add_ideas = BVR_low
					add_stability = -0.20
				}
			}
		}
	}

	option = { 
		name = fbavaria.70.b
		add_war_support = -0.025
	}
}

#Astolfo England

country_event = {
	id = fbavaria.71
	title = fbavaria.71.t
	desc = fbavaria.71.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.71.a
	}
}

#Wehrmacht Cap

country_event = {
	id = fbavaria.72
	title = fbavaria.72.t
	desc = fbavaria.72.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.72.a
		random_other_country = {
			limit = {
				original_tag = GER
				has_government = fascism
			}
			BVR = {
				annex_country = {
				    target = PREV
				    transfer_troops = yes
				}
			}
		}
		add_political_power = -150
		add_stability = -0.10
		add_to_variable = {
			var = cuteness
			value = -20
		}
		custom_effect_tooltip = fbavaria_cuteness_72_tooltip
	}

	option = { 
		name = fbavaria.72.b
		add_war_support = 0.05
	}

}

country_event = {
	id = fbavaria.73
	title = fbavaria.73.t
	desc = fbavaria.73.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		BVR = {
			has_capitulated = no
			has_war_with = GER
		}
		has_capitulated = no
		GER = {
			surrender_progress < 0.20
		}
		has_country_leader = {
		    name = "Erwin Rommel"
		    ruling_only = yes
		}
		surrender_progress > 0.80
	}

	option = { 
		name = fbavaria.73.a
		BVR = {
			country_event = {
			    id = fbavaria.72
			}
		}
	}
}

# Naming the Country
country_event = {
	id = fbavaria.74
	title = fbavaria.74.t
	desc = fbavaria.74.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	# Fembavaria
	option = { 
		name = fbavaria.74.a
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_a
	}

	# Femboyvaria
	option = { 
		name = fbavaria.74.b
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_b
	}

	# The Knightly Order of Pink Bavaria
	option = { 
		name = fbavaria.74.c
		trigger = {
			NOT = {
				has_completed_focus = BVR_our_royal_birthright
			}
		}
		set_cosmetic_tag = BVR_c
	}

	# Bavaria
	option = { 
		name = fbavaria.74.e
		set_cosmetic_tag = BVR_e
	}

	# Kingdom of Fembavaria
	option = { 
		name = fbavaria.74.f
		trigger = {
			has_completed_focus = BVR_our_royal_birthright
		}
		set_cosmetic_tag = BVR_f
	}

	# Kingdom of Fembavaria
	option = { 
		name = fbavaria.74.g
		trigger = {
			has_completed_focus = BVR_our_royal_birthright
		}
		set_cosmetic_tag = BVR_g
	}

	# Kingdom of Bavaria
	option = { 
		name = fbavaria.74.h
		trigger = {
			has_completed_focus = BVR_our_royal_birthright
		}
		set_cosmetic_tag = BVR_h
	}
}

# The New Constitution
country_event = {
	id = fbavaria.75
	title = fbavaria.75.t
	desc = fbavaria.75.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	# Strong Government
	option = { 
		name = fbavaria.75.a
		add_political_power = 150
	}

	# Cute Government
	option = { 
		name = fbavaria.75.b
		add_to_variable = {
			var = cuteness
			value = 10
		}
		custom_effect_tooltip = cuteness_10_tooltip
		add_stability = 0.05
	}
}

# Further Expansion
country_event = {
	id = fbavaria.76
	title = fbavaria.76.t
	desc = fbavaria.76.d
	picture = GFX_report_event_bavaria_concert
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.76.a
		add_war_support = 0.10
	}
}

# City Names Commission
country_event = {
	id = fbavaria.77
	title = fbavaria.77.t
	desc = fbavaria.77.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.77.a
		add_to_variable = {
			var = cuteness
			value = 10
		}
		custom_effect_tooltip = cuteness_10_tooltip
		country_event = {
			id = fbavaria.78
			days = 3
		}
	}

	option = { 
		name = fbavaria.77.b
		add_stability = 0.025
	}
}

# City 1
country_event = {
	id = fbavaria.78
	title = fbavaria.78.t
	desc = fbavaria.78.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.78.a
		set_province_name = {
		    id = 11544
		    name = NUREMBURG_NAME_1
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.79
			}
		}
	}

	option = { 
		name = fbavaria.78.b
		set_province_name = {
		    id = 11544
		    name = NUREMBURG_NAME_2
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.79
			}
		}
	}

	option = { 
		name = fbavaria.78.c
		set_province_name = {
		    id = 11544
		    name = NUREMBURG_NAME_3
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.79
			}
		}
	}
}

# City 2
country_event = {
	id = fbavaria.79
	title = fbavaria.79.t
	desc = fbavaria.79.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.79.a
		set_province_name = {
		    id = 9515
		    name = REGENSBURG_NAME_1
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.80
			}
		}
	}

	option = { 
		name = fbavaria.79.b
		set_province_name = {
		    id = 9515
		    name = REGENSBURG_NAME_2
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.80
			}
		}
	}

	option = { 
		name = fbavaria.79.c
		set_province_name = {
		    id = 9515
		    name = REGENSBURG_NAME_3
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.80
			}
		}
	}

	option = { 
		name = fbavaria.79.e
		set_province_name = {
		    id = 9515
		    name = REGENSBURG_NAME_4
		}
		hidden_effect = {
			country_event = {
				id = fbavaria.80
			}
		}
	}
}

# City 3
country_event = {
	id = fbavaria.80
	title = fbavaria.80.t
	desc = fbavaria.80.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = yes

	option = { 
		name = fbavaria.80.b
		set_province_name = {
		    id = 692
		    name = MUNICH_NAME_2
		}
	}

	option = { 
		name = fbavaria.80.c
		set_province_name = {
		    id = 692
		    name = MUNICH_NAME_3
		}
	}

	option = { 
		name = fbavaria.80.e
		set_province_name = {
		    id = 692
		    name = MUNICH_NAME_4
		}
	}

	option = { 
		name = fbavaria.80.f
		set_province_name = {
		    id = 692
		    name = MUNICH_NAME_5
		}
	}
}

# Cuteness Upgrade 1
country_event = {
	id = fbavaria.81
	title = fbavaria.81.t
	desc = fbavaria.81.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = no

	option = { 
		name = fbavaria.81.a
	}
}

# Cuteness Upgrade 2
country_event = {
	id = fbavaria.82
	title = fbavaria.82.t
	desc = fbavaria.82.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = no

	option = { 
		name = fbavaria.82.a
	}
}

# Cuteness Upgrade 3
country_event = {
	id = fbavaria.83
	title = fbavaria.83.t
	desc = fbavaria.83.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = no

	option = { 
		name = fbavaria.83.a
	}
}

# Cuteness Upgrade 4
country_event = {
	id = fbavaria.84
	title = fbavaria.84.t
	desc = fbavaria.84.d
	picture = GFX_report_cutecity
	
	is_triggered_only = yes
	fire_only_once = no

	option = { 
		name = fbavaria.84.a
	}
}