add_namespace = rom_wallachia

	#Startup Event
	country_event = {
		id = rom_wallachia.1
		title = rom_wallachia.1.t
		desc = rom_wallachia.1.d
		picture = "GFX_report_event_romania_startup"
		is_triggered_only = yes

		option = {
			name = rom_wallachia.1.a
			ai_chance = { factor = 1}
		}
	}

	#Petrol Factory Event

	country_event = {
		id = rom_wallachia.2
		title = rom_wallachia.2.t
		desc = rom_wallachia.2.d
		picture = "GFX_report_event_generic_petrol_plant"
		is_triggered_only = yes

		option = {
			name = rom_wallachia.2.a
			ai_chance = { factor = 1}
			46 = {
				add_resource = {
					type = oil
					amount = 2
				}
			}
		}
	}

	########################################
	### WALLACHIAN EVENTS FOR FOCUS TREE ###
	########################################

	country_event = { 
		id = rom_wallachia.3
		title = rom_wallachia.3.t
		desc = rom_wallachia.3.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.3.a
			ai_chance = { factor = 70 }
			set_variable = { ROM_var_goods = 0.05}
			set_variable = { ROM_var_construct_speed = -0.15}
			set_variable = { ROM_var_conscription = -0.1}
			set_variable = { ROM_var_pp = -0.5}
			set_variable = { ROM_var_stability = 0 }
			custom_effect_tooltip = ROM_add_inefficient_agriculture
			hidden_effect = {
				add_dynamic_modifier = {
					modifier = ROM_inefficient_agriculture
				}
			}
		}
		
	}

	country_event = { 
		id = rom_wallachia.4
		title = rom_wallachia.4.t
		desc = rom_wallachia.4.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.4.a
			ai_chance = { factor = 100 }
			hidden_effect = {
				swap_ideas = {
					remove_idea = ROM_mass_illiteracy1
					add_idea = ROM_mass_illiteracy2
				}
			}
		}
	}

	country_event = { 
		id = rom_wallachia.5
		title = rom_wallachia.5.t
		desc = rom_wallachia.5.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.5.a
			ai_chance = { factor = 100 }
			hidden_effect = {
				complete_national_focus = ROM_begin_industralization
			}
		}
	}

	country_event = { 
		id = rom_wallachia.6
		title = rom_wallachia.6.t
		desc = rom_wallachia.6.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.6.a
			ai_chance = { factor = 100 }
			hidden_effect = {
				complete_national_focus = ROM_revived_agriculture
				add_tech_bonus = { bonus = 0.25 uses = 1 category = farming_tech category = humanities_tech }
			}
		}
	}

	country_event = { 
		id = rom_wallachia.7
		title = rom_wallachia.7.t
		desc = rom_wallachia.7.d
		picture = GFX_report_event_romania_political_situation

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.7.a
			ai_chance = { factor = 50 }
		}
	}

	country_event = { 
		id = rom_wallachia.8
		title = rom_wallachia.8.t
		desc = rom_wallachia.8.d
		picture = GFX_report_event_romania_woes_unification

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.8.a
			ai_chance = { factor = 50 }
			hidden_effect = {
				complete_national_focus = ROM_focus_shutdown_brotherhood
			}
		}
		
		option = { 
			name = rom_wallachia.8.b
			ai_chance = { 
				factor = 50
				modifier = { 
					factor = 40000
					is_historical_focus_on = yes
				}
			}
			hidden_effect = {
				complete_national_focus = ROM_turn_blind_eye
			}
		}
	}


	country_event = { 
		id = rom_wallachia.9
		title = rom_wallachia.9.t
		desc = rom_wallachia.9.d
		picture = GFX_report_event_romania_unification_rallies

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.9.a
			ai_chance = { factor = 100 }
		}
	}

	country_event = { 
		id = rom_wallachia.10
		title = rom_wallachia.10.t
		desc = rom_wallachia.10.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = rom_wallachia.10.a
			ai_chance = { factor = 100 }
		}
	}

	#Burning Fields Event
	country_event = {
		id = rom_wallachia.11
		title = rom_wallachia.11.t
		desc = rom_wallachia.11.d
		picture = "GFX_report_event_generic_burning_fields"
		fire_only_once = yes

		is_triggered_only = yes

		mean_time_to_happen = {
			days = 1
		}
		option = {
			name = rom_wallachia.11.a
			ai_chance = { factor = 1}
		}
	}
	### Start of Cuza Reforms###
	country_event = {
		id = rom_wallachia.19
		title = rom_wallachia.19.t
		desc = rom_wallachia.19.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_wallachia.19.a
			add_political_power = -50
			add_to_variable = {cuza_reform_power = 60}
			add_to_variable = {cuza_unrest = 2}
			custom_effect_tooltip = ROM_cuza_increase_unrest_2
			custom_effect_tooltip = ROM_cuza_increase_reform_60
		}
		option = {
			name = rom_wallachia.19.b
			add_political_power = -50
			add_to_variable = {cuza_reform_power = 50}
			add_to_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_cuza_increase_unrest
			custom_effect_tooltip = ROM_cuza_increase_reform_50
		}
		option = {
			name = rom_wallachia.19.c
			add_to_variable = {cuza_reform_power = 35}
			subtract_from_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_reduce_unrest_tooltip
			custom_effect_tooltip = ROM_cuza_increase_reform_35
		}
	}
	### 1st Education Reform ###
	country_event = {
		id = rom_wallachia.20
		title = rom_wallachia.20.t
		desc = rom_wallachia.20.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_wallachia.20.a
			add_political_power = -50
			subtract_from_variable = {cuza_reform_power = 5}
			add_to_variable = {cuza_unrest = 0.5}
			add_timed_idea = {idea = ROM_expensive_schooling days = 1825}
			custom_effect_tooltip = ROM_cuza_decrease_reform_5
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
		option = {
			name = rom_wallachia.20.b
			add_political_power = -50
			add_timed_idea = {idea = ROM_underfunded_schools days = 1825}
		}
	}
	### Bucharest University Opening ###
	country_event = {
		id = rom_wallachia.21
		title = rom_wallachia.21.t
		desc = rom_wallachia.21.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.21.a
			swap_ideas = {
				remove_idea = research_spending_level_1
				add_idea = research_spending_level_3
			}
			subtract_from_variable = {cuza_reform_power = 10}
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_10
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
		option = {
			name = rom_wallachia.21.b
			swap_ideas = {
				remove_idea = research_spending_level_1
				add_idea = research_spending_level_2
			}
			subtract_from_variable = {cuza_reform_power = 5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_5
		}
		option = {
			name = rom_wallachia.21.c
			add_stability = -0.1
			add_political_power = 20
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
	}
	### Fiscal Reform ###
	country_event = {
		id = rom_wallachia.22
		title = rom_wallachia.22.t
		desc = rom_wallachia.22.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.22.a
			swap_ideas = {
				remove_idea = limited_exports
				add_idea = free_trade
			}
			subtract_from_variable = {cuza_reform_power = 10}
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_10
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
		option = {
			name = rom_wallachia.22.b
			swap_ideas = {
				remove_idea = limited_exports
				add_idea = export_focus
			}
			subtract_from_variable = {cuza_reform_power = 5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_5
		}
		option = {
			name = rom_wallachia.22.c
			add_stability = -0.1
			add_political_power = 20
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
	}
	# Creation of Romanian Postal Service
	country_event = {
		id = rom_wallachia.23
		title = rom_wallachia.23.t
		desc = rom_wallachia.23.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.23.a
			add_ideas = ROM_better_post_service
			subtract_from_variable = {cuza_reform_power = 5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_5
		}
		option = {
			name = rom_wallachia.23.b
			add_ideas = ROM_post_service
			
		}
	}
	# Justice Reform
	country_event = {
		id = rom_wallachia.24
		title = rom_wallachia.24.t
		desc = rom_wallachia.24.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.24.a
			add_stability = 0.2
			add_political_power = 100
			subtract_from_variable = {cuza_reform_power = 10}
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_10
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
		}
		option = {
			name = rom_wallachia.24.b
			subtract_from_variable = {cuza_reform_power = 5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_5
		}
		option = {
			name = rom_wallachia.24.c
			add_stability = -0.1
			add_political_power = 20
			add_to_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_cuza_increase_unrest
		}
	}
	# New Currency
	country_event = {
		id = rom_wallachia.25
		title = rom_wallachia.25.t
		desc = rom_wallachia.25.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.25.a
			add_ideas = ROM_romanul_currency
			subtract_from_variable = {cuza_reform_power = 10}
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_decrease_reform_10
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
			hidden_effect = {
				OTO = {
					country_event = {id = rom_wallachia.26}
				}
			}
		}
		option = {
			name = rom_wallachia.25.b
			add_stability = -0.1
			add_political_power = 20
		}
	}
	# New Currency OTO Response
	country_event = {
		id = rom_wallachia.26
		title = rom_wallachia.26.t
		desc = rom_wallachia.26.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = { #  Sanction
			name = rom_wallachia.26.a
			ROM = {
				country_event = {id = rom_wallachia.27}
			}
		}
		option = {
			name = rom_wallachia.26.b
			add_political_power = 20
		}
	}
	#Response to Sanctions
	country_event = {
		id = rom_wallachia.27
		title = rom_wallachia.27.t
		desc = rom_wallachia.27.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.27.a
			add_to_variable = {cuza_unrest = 2}
			add_stability = -0.2
			add_timed_idea = {
				idea = ROM_embargoed_economy
				days = 3600
			}
			custom_effect_tooltip = ROM_cuza_increase_unrest_2
		}
		option = { # Back Down
			name = rom_wallachia.27.b
			remove_ideas = ROM_romanul_currency
		}
	}
	### Industrial Focus Tree###
	country_event = { #Industrial Situation
		id = rom_wallachia.28
		title = rom_wallachia.28.t
		desc = rom_wallachia.28.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.28.a
			unlock_decision_category_tooltip = ROM_industrialise_decisions
		}
	}
	country_event = { #Foreign Investment
		id = rom_wallachia.29
		title = rom_wallachia.29.t
		desc = rom_wallachia.29.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.29.a
			random_list = {
				40 = {
					46 = {
						add_building_construction = {
							type = farm
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
				25 = {
					79 = {
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
				25 = {
					81 = {
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
				10 = {
					add_political_power = 50
				}
			}
		}
	}
	country_event = { #E Grant sets up E. Grant & Co.
		id = rom_wallachia.30
		title = rom_wallachia.30.t
		desc = rom_wallachia.30.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.30.a
			set_country_flag = ROM_e_grant_unlocked
		}
	}
	country_event = { #E Grant sets up E. Grant & Co. Tobacco
		id = rom_wallachia.31
		title = rom_wallachia.31.t
		desc = rom_wallachia.31.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.31.a
			46 = {
				add_extra_state_shared_building_slots = 1
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = economics_tech category = resource_extraction_tech }
		}
	}
	country_event = { #Cap de bour
		id = rom_wallachia.33
		title = rom_wallachia.33.t
		desc = rom_wallachia.33.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.33.a
			add_stability = 0.05
			add_political_power = 30
		}
	}
	country_event = { #Monstrous Coalition
		id = rom_wallachia.32
		title = rom_wallachia.32.t
		desc = rom_wallachia.32.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.32.a
			add_stability = -0.05
			activate_mission = ROM_monstrous_coalition_timer
		}
	}
	country_event = { #Cuza Abdicates
		id = rom_wallachia.34
		title = rom_wallachia.34.t
		desc = rom_wallachia.34.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.34.a
			add_stability = -0.05
			complete_national_focus = ROM_abdication
		}
	}
	country_event = { #Carol 1 is elected
		id = rom_wallachia.36
		title = rom_wallachia.36.t
		desc = rom_wallachia.36.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.36.a
			add_stability = 0.05
			hidden_effect = {
			swap_ideas = {
				remove_idea = ROM_provinsional_goverment_hos
				add_idea = ROM_carol_I_hos
			}
			ROM_carol_i = {
				add_country_leader_role = {
					country_leader = {
						expire = "1889.1.1"
						ideology = moderatism
						traits = {
							#
						}
					}
				}
				promote_character = yes
				promote_character = moderatism
			}
			retire_character = ROM_provinsional_goverment
			mark_focus_tree_layout_dirty = yes
			}
			complete_national_focus = ROM_carol_I_focus
			custom_effect_tooltip = ROM_unlock_carol_tree_tt
		}
	}
	country_event = { #Cuza on Top
		id = rom_wallachia.35
		title = rom_wallachia.35.t
		desc = rom_wallachia.35.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.35.a
			add_stability = 0.05
			complete_national_focus = ROM_cuza_on_top
			load_focus_tree = generic_vic_ft
		}
	}
	country_event = { #Seize Church Lands
		id = rom_wallachia.37
		title = rom_wallachia.37.t
		desc = rom_wallachia.37.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.37.a
			add_stability = -0.15
			add_timed_idea = {
				idea = ROM_idea_seized_church_land
				days = 720
			}
			custom_effect_tooltip = ROM_unhappy_church_tt
			hidden_effect = {
				add_timed_idea = {
					idea = ROM_idea_unhappy_church_cuza
					days = 1800
				}
			}
		}
	}
	country_event = { #Peasant Land Reform
		id = rom_wallachia.38
		title = rom_wallachia.38.t
		desc = rom_wallachia.38.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.38.a
			add_stability = 0.05
			add_political_power = 10
		}
	}
	country_event = { #Negotiate with Land Owners
		id = rom_wallachia.39
		title = rom_wallachia.39.t
		desc = rom_wallachia.39.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.39.a
			add_stability = 0.05
			add_political_power = 10
			add_timed_idea = {idea = ROM_idea_heavy_compensation days = 365}
			set_country_flag = ROM_unlocked_peasantry_focus
		}
		option = {
			name = rom_wallachia.39.b
			add_stability = -0.05
			add_political_power = -50
			add_timed_idea = {idea = ROM_idea_light_compensation days = 365}
			set_country_flag = ROM_unlocked_peasantry_focus
		}
	}
	country_event = { #Peasant Situation
		id = rom_wallachia.40
		title = rom_wallachia.40.t
		desc = rom_wallachia.40.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.40.a
			add_stability = 0.05
		}
	}
	country_event = { #Romanian Medicine Situation
		id = rom_wallachia.41
		title = rom_wallachia.41.t
		desc = rom_wallachia.41.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.41.a
			add_ideas = ROM_idea_confusing_medical_system
		}
	}
	country_event = { #Romanian Medicine Faculty Bucharest
		id = rom_wallachia.42
		title = rom_wallachia.42.t
		desc = rom_wallachia.42.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.42.a
			add_stability = 0.05
			swap_ideas = {
				remove_idea = ROM_bucharest_university
				add_idea = ROM_bucharest_university2
			}
			country_event = {id = rom_wallachia.43 days = 50}
		}
	}
	country_event = { #Named Head of Science Romanian Medicine Faculty Bucharest
		id = rom_wallachia.43
		title = rom_wallachia.43.t
		desc = rom_wallachia.43.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.43.a
			add_stability = 0.05
			add_political_power = 30
		}
	}
	country_event = { #The Birth of the Modern Romanian Medicial System
		id = rom_wallachia.44
		title = rom_wallachia.44.t
		desc = rom_wallachia.44.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
		
		option = {
			name = rom_wallachia.44.a
			add_stability = 0.05
			add_political_power = 50
			swap_ideas = {
				remove_idea = ROM_idea_romanian_medical_system3
				add_idea = ROM_idea_romanian_medical_system4
			}
		}
	}
	############################################
	### END OF WALLACHIAN EVENTS FOR FOCUS TREE ###
	###############################################

	#######################################################################################
	### Grigore Ghica's request to Napoleon III, his suicide or his road to unification ###
	#######################################################################################

	country_event = { # Grigore asks napoleon for audience
		id = rom_wallachia.12
		title = rom_wallachia.12.t
		desc = rom_wallachia.12.d
		picture = GFX_report_event_grigore_ghica

		fire_only_once = yes
		is_triggered_only = yes

		trigger = {
			AND = {
				#date > 1857.7.15
				original_tag = FRA
				exists = yes
			}
		}

		option = { # Napoleon accepts Ghika's offer, no Paris convention will happen and England will get angry
			name = rom_wallachia.12.a
			ai_chance = { 
				factor = 25
				modifier = { 
					factor = 0
					is_historical_focus_on = yes
				}
			}
			ENG = {
				country_event = {
					id = rom_wallachia.13
					days = 5
				}
			}
			RUS = {
				country_event = {
					id = rom_wallachia.13
					days = 5
				}
			}
			AUS = {
				add_opinion_modifier = {
					target = FRA
					modifier = fra_accept_romanian_unification
				}
				country_event = {
					id = rom_wallachia.13
					days = 5
				}
			}
			OTO = {
				add_opinion_modifier = {
					target = FRA
					modifier = fra_accept_romanian_unification
				}
				country_event = {
					id = rom_wallachia.13
					days = 5
				}
			}
			hidden_effect = {
				set_global_flag = ghicas_road_to_union
			}
		}

		option = { # Napoleon rejects Ghika's offer, if Vogoride will execute the electoral fraud the Paris convention will happen, England is happy with this but Ghika will suffer and commit suicide
			name = rom_wallachia.12.b
			ai_chance = { factor = 75 }
			custom_effect_tooltip = reject_ghika_tt
			hidden_effect = {
				news_event = {
					id = rom_wallachia.17
					days = 10
				}
				set_global_flag = ghika_bad_health
			}
		}
	}

	country_event = { # anti-unionist powers of Austria, Russia, Ottoman Empire and Britain act to this
		id = rom_wallachia.13
		title = rom_wallachia.13.t
		desc = rom_wallachia.13.d
		picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		trigger = {
			NOT = { has_country_flag = great_powers_revoke_guarantee }
			has_global_flag = ghicas_road_to_union
		}

		option = { # revoke_guarantee
			name = rom_wallachia.13.a
			ai_chance = { factor = 25 }
			diplomatic_relation = {
				country = ROM
				relation = guarantee
				active = no
			}
			diplomatic_relation = {
				country = MOL
				relation = guarantee
				active = no
			}
		}

		option = { # stand_with_ghica
			name = rom_wallachia.13.b
			ai_chance = {
				factor = 75
				modifier = {
					factor = 0
						OR = {
							tag = OTO
							tag = AUS
						}
					}
			}
			remove_opinion_modifier = {
				target = FRA
				modifier = fra_accept_romanian_unification
			}
		}
	}

	# gap of 4 events, several reasons
	news_event = {
		id = rom_wallachia.17 # ghika commits suicide
		title = rom_wallachia.17.t
		desc = rom_wallachia.17.d
		picture = GFX_news_event_grigore_ghica

		major = yes

		is_triggered_only = yes

		trigger = {
			OR = {
				TAG = FRA
				TAG = ROM
				TAG = MOL
			}
		}

		immediate = { # Optional : all the following will occur once the event occurs
			set_global_flag = ghika_dead
		}

		option = {
			name = rom_wallachia.17.a
			trigger = {
				OR = {
					TAG = ROM
					TAG = MOL
					TAG = FRA
					TAG = RUS
					TAG = AUS
					TAG = OTO
				}
			}
		}
		option = {
			name = rom_wallachia.17.b
			trigger = {
				NOT = {
					TAG = ROM
					TAG = MOL
					TAG = FRA
					TAG = RUS
					TAG = AUS
					TAG = OTO
				}
			}
		}
	}
	### 1865 Flooding of Bucharest ###
	country_event = {
		id = rom_wallachia.18
		title = rom_wallachia.18.t
		desc = rom_wallachia.18.d
		#picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_wallachia.18.a
			add_political_power = -50
			add_timed_idea = {
				idea = ROM_idea_floods
				days = 100
			}
		}
	}
	##########################################################
	### THIS IS THE CHAIN OF EVENTS RELATING GHIKA FOR NOW ###
	##########################################################

	########################
	### WALLACHIAN UNION ###
	########################

	add_namespace = wallachian_union

	###romanian unification
	country_event = { # Romanians call for fair elections
		id = wallachian_union.1
		title = wallachian_union.1.t
		desc = wallachian_union.1.d
		#picture = GFX_report_event_grigore_ghica

		fire_only_once = yes
		is_triggered_only = yes

		trigger = {
			date > 1858.8.8
			original_tag = OTO
			ROM={
				exists = yes
			}
			MOL={
				exists = yes
				has_country_leader = {
					name = "Nicolae Vogoride"
					ruling_only = yes
				}
			}
		}

		immediate = { # occurs
			set_global_flag = ROM_WAL_road_to_unifaction
		}

		option = { # reject
			name = wallachian_union.1.a
			ai_chance = { factor = 80 }
			add_political_power = 50
			MOL={
				country_event={id = wallachian_union.2 days = 2}
			}
		}

		option = { # agree
			name = wallachian_union.1.b
			ai_chance = { 
				factor = 20 
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			add_political_power = -50
			MOL={#new elections held
				country_event = {id = wallachian_union.6 days = 16}
			}
			ROM={#new elections held
				country_event = {id = wallachian_union.7 days = 16}
			}
		}
	}

	country_event = { # Ottomans reject call
		id = wallachian_union.2
		title = wallachian_union.2.t
		desc = wallachian_union.2.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { # complain to the guarantors
			name = wallachian_union.2.a
			ai_chance = { factor = 600 }
			FRA={
				country_event={id = wallachian_union.3 days = 2}
			}
			ENG={
				country_event={id = wallachian_union.3 days = 2}
			}
			AUS={
				country_event={id = wallachian_union.3 days = 2}
			}
			PRS={
				country_event={id = wallachian_union.3 days = 2}
			}
			RUS={
				country_event={id = wallachian_union.3 days = 2}
			}
			OTO={
				set_variable = { ROM_guarantors_backing_relection = 0}
				set_variable = { ROM_guarantors_decided = 0}
			}
		}

		option = { # if they say it is lejitimate, it is
			name = wallachian_union.2.b
			ai_chance = { 
				factor = 0 
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			add_political_power = -50
		}
	}

	country_event = { # walalchia complains to the guarantors
		id = wallachian_union.3
		title = wallachian_union.3.t
		desc = wallachian_union.3.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		immediate={
			OTO={add_to_variable = { ROM_guarantors_decided = 1}}
		}

		option = { # back them
			name = wallachian_union.3.a
			ai_chance = { factor = 75 }
			add_political_power = -20
			OTO={
				add_to_variable = { ROM_guarantors_backing_relection = 1}
				country_event={id = wallachian_union.4 days = 2}
			}
		}

		option = { # ignore them
			name = wallachian_union.3.b
			ai_chance = { 
				factor = 25 
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			#add_political_power = -50
		}
	}
	country_event = { # guarantor Blocks trade
		id = wallachian_union.4
		title = wallachian_union.4.t
		desc = wallachian_union.4.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { # damn
			name = wallachian_union.4.a
			ai_chance = { factor = 100 }
			add_political_power = -50
			add_stability = -0.05
		}
	}
	country_event = { # majorities of guarantors Block trade
		id = wallachian_union.5
		title = wallachian_union.5.t
		desc = wallachian_union.5.d
		#picture = GFX_report_event_grigore_ghica

		trigger={
			tag = OTO
			check_variable = {ROM_guarantors_backing_relection > 2}
			check_variable = {ROM_guarantors_decided > 4}
		}

		fire_only_once = yes
		mean_time_to_happen={
			days = 8
		}

		option = { # give them the damn vote
			name = wallachian_union.5.a
			ai_chance = { factor = 90 }
			if={
				limit={
					check_variable = {ROM_guarantors_backing_relection > 4}
				}
				add_political_power = 125
				add_stability = 0.25
			}
			else_if={
				limit={
					check_variable = {ROM_guarantors_backing_relection > 3}
				}
				add_political_power = 100
				add_stability = 0.20
			}
			else_if={
				limit={
					check_variable = {ROM_guarantors_backing_relection > 2}
				}
				add_political_power = 75
				add_stability = 0.15
			}
			else_if={
				limit={
					check_variable = {ROM_guarantors_backing_relection > 1}
				}
				add_political_power = 50
				add_stability = 0.10
			}
			else={
				add_political_power = 25
				add_stability = 0.05
			}
			MOL={
				country_event={id = wallachian_union.6 days = 1}
			}
			ROM={
				country_event={id = wallachian_union.7 days = 1}
			}
			clear_variable = ROM_guarantors_backing_relection
			clear_variable = ROM_guarantors_decided
		}
		option = { # Ignore them
			name = wallachian_union.5.b
			ai_chance = { 
				factor = 0
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				}
			}
			add_political_power = -100
			add_stability = -0.05 

		}
	}
	country_event = { # OTO Calls for a new election
		id = wallachian_union.6
		title = wallachian_union.6.t
		desc = wallachian_union.6.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { # ok
			name = wallachian_union.6.a
			ai_chance = { factor = 100 }
			MOL={
				country_event={id = wallachian_union.8 days = 110}
			}
		}
	}
	country_event = { # OTO Calls for a new election due to MOL
		id = wallachian_union.7
		title = wallachian_union.7.t
		desc = wallachian_union.7.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { # ok
			name = wallachian_union.7.a
			ai_chance = { factor = 100 }
			ROM={
				country_event={id = wallachian_union.9 days = 2}
				hidden_effect = {
					complete_national_focus = ROM_elections
				}
			}
			if= {
				limit={
					NOT = {
						OR = {
							has_completed_focus = ROM_demote_unionist_officers
							has_completed_focus = ROM_unification_rallies
						}
					}
				}
				custom_effect_tooltip = ROM_choose_side
			}
		}
	}
	country_event = { # MOL - 1859 election
		id = wallachian_union.8
		title = wallachian_union.8.t
		desc = wallachian_union.8.d
		is_triggered_only = yes
		
		option = { # Alexandru Ioan Cuza
			name = wallachian_union.8.a
			ai_chance = { factor = 100 }
			
			set_politics = { 
				ruling_party = centrism
				elections_allowed = no
			}
			
			if = {
				limit = { has_character = ROM_ion_cuza }
				add_country_leader_role = {
					character = ROM_ion_cuza
					promote_leader = yes
					country_leader = {
						ideology = moderatism
						expire = "1889.1.1"
					}
				}
			}
			
			ROM = {
				country_event = { id = wallachian_union.17 days = 1 }
			}
		}
	}

	country_event = { # ROM - 1859 election
		id = wallachian_union.9
		title = wallachian_union.9.t
		desc = wallachian_union.9.d
		is_triggered_only = yes
		
		option = { # Alexandru Ioan Cuza
			name = wallachian_union.9.a
			ai_chance = { 
				factor = 80
			}
			add_to_variable = { cuza_party_view = 5 }
			custom_effect_tooltip = ROM_effect_cuza_influence
		}
		
		option = { # Bibescu
			name = wallachian_union.9.b
			ai_chance = { 
				factor = 20
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				} 
			}
			add_to_variable = { bibescu_party_view = 5 }
			custom_effect_tooltip = ROM_effect_bibescu_influence
		}
	}

	country_event = { # ROM - 1859 election Cuza Victory
		id = wallachian_union.15
		title = wallachian_union.15.t
		desc = wallachian_union.15.d
		is_triggered_only = yes
		
		option = { # Alexandru Ioan Cuza
			name = wallachian_union.15.a
			ai_chance = { factor = 100 }
			
			set_politics = { 
				ruling_party = centrism
				elections_allowed = no
			}
			
			hidden_effect = {
				swap_ideas = {
					remove_idea = ROM_ghika_hos
					add_idea = ROM_cuza_hos
				}
				
				if = {
					limit = { has_character = ROM_ion_cuza }
					promote_character = ROM_ion_cuza
				}
				
				if = {
					limit = { has_character = ROM_alexandru_ghica }
					retire_character = ROM_alexandru_ghica
				}
				
				complete_national_focus = ROM_cuza
				clear_variable = ROM_opponent_election_blocked
				clear_variable = ROM_election_action
				
				OTO = {
					country_event = { id = wallachian_union.10 days = 2 }
				}
			}
		}
	}

	country_event = { # ROM - 1859 election Bibescu Victory
		id = wallachian_union.16
		title = wallachian_union.16.t
		desc = wallachian_union.16.d
		is_triggered_only = yes
		
		option = { # Gheorghe Bibescu
			name = wallachian_union.16.a
			ai_chance = { factor = 100 }
			
			if = {
				limit = { has_character = ROM_gheorghe_bibescu }
				promote_character = ROM_gheorghe_bibescu
			}
			
			hidden_effect = {
				complete_national_focus = ROM_bibescu
				clear_variable = ROM_opponent_election_blocked
				clear_variable = ROM_election_action
			}
		}
	}

	country_event = { # ROM - Cuza elected in Moldavia, 1859 election reaction
		id = wallachian_union.17
		title = wallachian_union.17.t
		desc = wallachian_union.17.d
		is_triggered_only = yes
		
		option = { 
			name = wallachian_union.17.a
			ai_chance = { factor = 100 }
			
			custom_effect_tooltip = ROM_effect_cuza_influence_10
			hidden_effect = {
				add_to_variable = { cuza_party_view = 10 }
			}
		}
		
		option = { 
			name = wallachian_union.17.b
			ai_chance = {			
				factor = 20
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				} 
			}
			add_political_power = -75
			add_stability = -0.1
			custom_effect_tooltip = ROM_effect_cuza_influence_minus_10
			hidden_effect = {
				subtract_from_variable = { cuza_party_view = 10 }
			}
		}
	}
	country_event = { # ROM - Ai actions - Bibescu gaining influence
		id = wallachian_union.18
		title = wallachian_union.18.t
		desc = wallachian_union.18.d
		#picture = GFX_report_event_grigore_ghica
		is_triggered_only = yes
		option = { 
			name = wallachian_union.18.a #Let it be
			ai_chance = { 
				factor = 40 
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				} 
			}
			random_list = {
				60 = {
					custom_effect_tooltip = ROM_effect_bibescu_influence
					hidden_effect = {
						add_to_variable = { bibescu_party_view = 5 }
					}
				}
				40 = {
					custom_effect_tooltip = ROM_effect_bibescu_influence_10
					hidden_effect = {
						add_to_variable = { bibescu_party_view = 10 }
					}
				}

			}
			
		}
		option = { 
			name = wallachian_union.18.b #Counter influence
			ai_chance = {			
				factor = 80

			}
			random_list = {
				60 = {
					add_political_power = -150
					add_stability = -0.15
				}
				20 = {
					add_political_power = -100
					add_stability = -0.1
				}
				15 = {
					add_political_power = -50
					add_stability = -0.05
				}
				5 = {
					add_political_power= -10
				}
			}
			custom_effect_tooltip = ROM_effect_bibescu_influence_minus
			hidden_effect = {
				subtract_from_variable = { bibescu_party_view = 5 }
				
			}
		}
	}
	country_event = { # ROM - Ai actions - Cuza gaining influence
		id = wallachian_union.19
		title = wallachian_union.19.t
		desc = wallachian_union.19.d
		#picture = GFX_report_event_grigore_ghica
		is_triggered_only = yes
		
		option = { 
			name = wallachian_union.19.a #Let it be
			ai_chance = { factor = 50 }
			random_list = {
				60 = {
					custom_effect_tooltip = ROM_effect_cuza_influence
					hidden_effect = {
						add_to_variable = { cuza_party_view = 5 }
					}
				}
				40 = {
					custom_effect_tooltip = ROM_effect_cuza_influence_10
					hidden_effect = {
						add_to_variable = { cuza_party_view = 10 }
					}
				}

			}
		}
		option = { 
			name = wallachian_union.19.b #Counter influence
			ai_chance = {			
				factor = 50
			}
			random_list = {
				60 = {
					add_political_power = -150
					add_stability = -0.15
				}
				20 = {
					add_political_power = -100
					add_stability = -0.1
				}
				15 = {
					add_political_power = -50
					add_stability = -0.05
				}
				5 = {
					add_political_power= -10
				}
			}
			
			custom_effect_tooltip = ROM_effect_cuza_influence_minus
			hidden_effect = {
				subtract_from_variable = { cuza_party_view = 5 }
				
			}
		}
	}
	country_event = { # ROM calls for unification
		id = wallachian_union.10
		title = wallachian_union.10.t
		desc = wallachian_union.10.d
		#picture = GFX_report_event_grigore_ghica

		fire_only_once = yes
		is_triggered_only = yes

		immediate={
			hidden_effect={
				ROM = {
					MOL = {set_country_flag = is_junior_personal_union_member}
					set_autonomy = {
						target = MOL
						autonomy_state = autonomy_personal_union
					}
				}
			}
		}

		option = { # ok
			name = wallachian_union.10.a
			ai_chance = { factor = 100 }
		}
	}

	###Romanul Newspaper
	country_event = { 
		id = wallachian_union.12
		title = wallachian_union.12.t
		desc = wallachian_union.12.d
		picture = GFX_report_event_romanul
		
		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.12.a
			ai_chance = { factor = 100 }
				hidden_effect = {
					add_ideas = ROM_romanul_newspaper
					EOANBSYS_institutions_nationalism_add_five = yes
			}
		}
		
		option = { 
			name = wallachian_union.12.b
			ai_chance = { factor = 100 }

		}
	}

	###Ion Ghica is back
	country_event = { 
		id = wallachian_union.13
		title = wallachian_union.13.t
		desc = wallachian_union.13.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.13.a
			ai_chance = { factor = 100 }
			hidden_effect = {
					set_country_flag = ROM_ghica_back
					EOANBSYS_institutions_nationalism_add_five = yes
					add_stability = 0.05
			}
		}
	}

	###Anti Bulgarian Violence in the Bolgrad area 
	country_event = { 
		id = wallachian_union.14
		title = wallachian_union.14.t
		desc = wallachian_union.14.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.14.a
			ai_chance = { factor = 100 }
				add_stability = -0.06
		}
	}
	###Focsani Central Commission is Established
	country_event = { 
		id = wallachian_union.20
		title = wallachian_union.20.t
		desc = wallachian_union.20.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.20.a
			ai_chance = { factor = 100 }
			add_stability = 0.01
			add_political_power = 50
		}
	}
	###Create Romanian Constitution
	country_event = { 
		id = wallachian_union.21
		title = wallachian_union.21.t
		desc = wallachian_union.21.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.21.a
			ai_chance = { factor = 100 }
			add_to_variable = {cuza_reform_power_gain = 0.5}
			custom_effect_tooltip = ROM_cuza_increase_reform_gain_2
			add_stability = 0.01
		}
		option = { 
			name = wallachian_union.21.b
			ai_chance = { 
				factor = 100
				modifier = {
					factor = 0
					is_historical_focus_on = yes
				} 
			}
			subtract_from_variable = {cuza_unrest = 2}
			custom_effect_tooltip = ROM_reduce_unrest_tooltip_2
			add_stability = 0.05
		}
	}
	###OTTOMAN Relations
	country_event = { 
		id = wallachian_union.22
		title = wallachian_union.22.t
		desc = wallachian_union.22.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes
		fire_only_once = yes

		option = { 
			name = wallachian_union.22.a
			ai_chance = { factor = 100 }
			add_stability = 0.05
			add_timed_idea = {idea = ROM_idea_covert_independence days= 1440}
			OTO = {
					add_opinion_modifier = {
						target = ROM
						modifier = small_decrease
					}
					country_event = {id = wallachian_union.26}
			}
		}
		option = { 
			name = wallachian_union.22.b
			ai_chance = { factor = 100 }
			OTO = {
					add_opinion_modifier = {
						target = ROM
						modifier = medium_increase
					}
					country_event = {id = wallachian_union.27}
			}
		}
	}
	###Visit to Great Powers
	country_event = { 
		id = wallachian_union.23
		title = wallachian_union.23.t
		desc = wallachian_union.23.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.23.a #Accept
			ai_chance = { 
				factor = 200
				modifier = {
					factor = 5
					tag = AUS
				}
			}
			add_to_variable = {Union_cuza_approved = 1}
			add_opinion_modifier = {
				target = ROM
				modifier = large_increase
			}
			ROM = {
				country_event = {id = wallachian_union.24}
			}
		}
		option = { 
			name = wallachian_union.23.b #Deny
			ai_chance = { factor = 60 }
			add_opinion_modifier = {
				target = ROM
				modifier = medium_decrease
			}
			ROM = {
				country_event = {id = wallachian_union.25}
			}
		}
	}
	###Response - Accepted
	country_event = { 
		id = wallachian_union.24
		title = wallachian_union.24.t
		desc = wallachian_union.24.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.24.a 
			ai_chance = { 
				factor = 200
			}
			add_stability = 0.05
		}
	}
	###Response - Denied
	country_event = { 
		id = wallachian_union.25
		title = wallachian_union.25.t
		desc = wallachian_union.25.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.25.a 
			ai_chance = { 
				factor = 200
			}
			add_stability = -0.05
		}
	}
	###Ottoman Diplo Pressure
	country_event = { 
		id = wallachian_union.26
		title = wallachian_union.26.t
		desc = wallachian_union.26.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.26.a 
			ai_chance = { 
				factor = 200
			}
			add_stability = -0.05
			unlock_decision_tooltip = OTO_grant_romanian_union
			activate_mission = OTO_embargo_timer
		}
	}
	###Ottoman Less Diplo Pressure
	country_event = { 
		id = wallachian_union.27
		title = wallachian_union.27.t
		desc = wallachian_union.27.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.27.a 
			ai_chance = { 
				factor = 200
			}
			unlock_decision_tooltip = OTO_grant_romanian_union
		}
	}
	###Ottoman Accepts Romanian Union
	country_event = { 
		id = wallachian_union.28
		title = wallachian_union.28.t
		desc = wallachian_union.28.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { 
			name = wallachian_union.28.a 
			ai_chance = { 
				factor = 200
			}
			add_political_power = 50
		}
	}
	###Ottoman Resists Romanian Union
	country_event = { 
		id = wallachian_union.29
		title = wallachian_union.29.t
		desc = wallachian_union.29.d
		#picture = GFX_report_event_grigore_ghica

		is_triggered_only = yes

		option = { #Forceful Unification
			name = wallachian_union.29.a 
			ai_chance = { 
				factor = 200
			}
			add_political_power = 10
			add_stability = -0.15
			custom_effect_tooltip = romania_unifies_tt
			OTO = {
					add_opinion_modifier = {
						target = ROM
						modifier = medium_decrease
					}
			}
			hidden_effect = {
				annex_country = {
					target = MOL
					transfer_troops = yes
				}

				if = {
					limit = {
						has_idea = ROM_battleground
					}
					remove_ideas = ROM_battleground
				}
				if = {
					limit = {
						has_idea = ROM_idea_sentiment_of_unity1
					}
					remove_ideas = ROM_idea_sentiment_of_unity1
				}
				clr_country_flag = ROM_unification_incompatible
				79={
					remove_core_of = MOL
				}
				1126={
					remove_core_of = MOL
				}
				set_cosmetic_tag = ROM_united_principalities
			}
		}
		#option = { #Diplomatic Unification TODO
		#	name = wallachian_union.29.b 
		#	ai_chance = { 
		#		factor = 200
		#	}
		#	add_political_power = 50
		#	add_stability = -0.05
		#}
	}
	##################################
	### MILITARY FOCUS TREE EVENTS ###
	##################################
	
	add_namespace = rom_military

	### HISTORICAL BACKGROUND EVENT ###
	country_event = {
		id = rom_military.1
		title = rom_military.1.t
		desc = rom_military.1.d
		picture = placeholder

		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.1.a
			hidden_effect = {
				add_ideas = ROM_idea_wallachian_moldavian_army
				add_ideas = ROM_idea_wallachian_moldavian_navy
			}
		}
	}

	### GENERAL STAFF EVENT ###
	country_event = {
		id = rom_military.2
		title = rom_military.2.t
		desc = rom_military.2.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.2.a
			activate_mission_tooltip = ROM_mission_romanian_army_reforms
			add_advisor_role = {
				Character = ROM_Emanoil_Florescu
				advisor = {
					slot = army_chief
					cost = 150
					idea_token = ROM_Emanoil_Florescu_HC
					traits = {
						army_chief_organizational_2
						army_chief_reform_1
					}
				}
				activate = yes
			}
			hidden_effect = {
				activate_mission = ROM_mission_romanian_army_reforms
			}
		}
	}

	### Creation of United Romanian Navy ###
	country_event = {
		id = rom_military.3
		title = rom_military.3.t
		desc = rom_military.3.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.3.a
			navy_experience = 10
		}
	}

	### Major Hercht send to Belgium ###
	country_event = {
		id = rom_military.4
		title = rom_military.4.t
		desc = rom_military.4.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.4.a
			add_ideas = ROM_idea_belgian_help
		}
	}

	### Romania Naval Ship ###
	country_event = {
		id = rom_military.5
		title = rom_military.5.t
		desc = rom_military.5.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.5.a
		}
	}

	### Anton Barbieri as commander of "Romania" ###
	country_event = {
		id = rom_military.6
		title = rom_military.6.t
		desc = rom_military.6.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.6.a
				ROM_anton_barbieri = {
					add_naval_commander_role = {
					traits = { navy_career_officer }
					skill = 2
						attack_skill = 2
						defense_skill = 2
						planning_skill = 2
						logistics_skill = 2
				}
			}
		}
	}

	### Taberei de la Florești - Part 1 ###
	country_event = {
		id = rom_military.7
		title = rom_military.7.t
		desc = rom_military.7.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.7.a
			hidden_effect = {
				country_event = {
					id = rom_military.8
					days = 100
				}
			}
		}
	}

	### Taberei de la Florești - Part 2 ###
	country_event = {
		id = rom_military.8
		title = rom_military.8.t
		desc = rom_military.8.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.8.a
			army_experience = 25
			add_political_power = 50
			add_war_support = 0.05
			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	### Brest Naval School Trainings - Event Chain - 1 ###
	country_event = {
		id = rom_military.9
		title = rom_military.9.t
		desc = rom_military.9.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.9.a
			navy_experience = 5
			hidden_effect = {
				country_event = {
					id = rom_military.10
					days = 80
				}
			}
		}
	}

	### Brest Naval School Trainings - Event Chain - 2 ###
	country_event = {
		id = rom_military.10
		title = rom_military.10.t
		desc = rom_military.10.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.10.a
			navy_experience = 25
			add_doctrine_cost_reduction = { cost_reduction = 0.25 uses = 1 category = naval_doctrine }
			hidden_effect = {
				country_event = {
					id = rom_military.11
					days = 80
				}
			}
		}
	}

	### Brest Naval School Trainings - Event Chain - 3 ###
	country_event = {
		id = rom_military.11
		title = rom_military.11.t
		desc = rom_military.11.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.11.a
			navy_experience = 30
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = naval_mtg_gunboat_tech
				category = naval_mtg_capital_ship_tech
				category = naval_mtg_gunboat_hulls_tech
			}
		}
	}
	
	### Emanoil Boteanu ACW Mission - Event Chain - 1 ###
	country_event = {
		id = rom_military.12
		title = rom_military.12.t
		desc = rom_military.12.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.12.a
			hidden_effect = {
				USA = {
					country_event = {
						id = rom_military.13
						days = 80
					}
				}
			}
		}
	}

	### Emanoil Boteanu ACW Mission - Event Chain - 2 ###
	country_event = {
		id = rom_military.13
		title = rom_military.13.t
		desc = rom_military.13.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.13.a
			hidden_effect = {
				country_event = {
					id = rom_military.14
					days = 180
				}
			}
		}
	}
	
	### Emanoil Boteanu ACW Mission - Event Chain - 3 ###
	country_event = {
		id = rom_military.14
		title = rom_military.14.t
		desc = rom_military.14.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.14.a
			hidden_effect = {
				ROM = {
					country_event = {
						id = rom_military.15
						days = 80
					}
				}
			}
		}
	}

	### Emanoil Boteanu ACW Mission - Event Chain - 4 ###
	country_event = {
		id = rom_military.15
		title = rom_military.15.t
		desc = rom_military.15.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.15.a
		}
	}
	
	### French Military Mission - Event Chain - 1 ###
	country_event = {
		id = rom_military.16
		title = rom_military.16.t
		desc = rom_military.16.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.16.a
				hidden_effect = {
					FRA = {
						country_event = {
							id = rom_military.17
							days = 100
						}
					}
				}
		}
	}
	
	### French Military Mission - Event Chain - 2 ###
	country_event = {
		id = rom_military.17
		title = rom_military.17.t
		desc = rom_military.17.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.17.a
				hidden_effect = {
					ROM = {
						country_event = {
							id = rom_military.18
							days = 100
						}
					}
				}
		}
	}
	
	### French Military Mission - Event Chain - 3 ###
	country_event = {
		id = rom_military.18
		title = rom_military.18.t
		desc = rom_military.18.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.18.a
				hidden_effect = {
					add_ideas = ROM_idea_french_military_mission
				}
		}
	}
	
	### Major Librecht Agency ###
	country_event = {
		id = rom_military.19
		title = rom_military.19.t
		desc = rom_military.19.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.19.a
			add_political_power = 75
			add_stability = -0.02
			increase_legitimacy_by_three = yes
			add_decryption = {
				target = OTO
				amount = 50
			}	
		}
	}
	
	### Succed Military Reform ###
	country_event = {
		id = rom_military.20
		title = rom_military.20.t
		desc = rom_military.20.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.20.a
			add_timed_idea = {
				idea = ROM_idea_successful_army_reform
				days = 365
			}
			hidden_effect = {
				swap_ideas = {
					add_idea = doctrine_napoleonic_army_1
					remove_idea = law_pre_industrial_army
				}
			}
		}
	}
	
	### Failed Military Reform ###
	country_event = {
		id = rom_military.21
		title = rom_military.21.t
		desc = rom_military.21.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.21.a
			add_timed_idea = {
				idea = ROM_idea_failed_army_reform
				days = 365
			}
		}
	}
	
	### The Law of 1864 ###
	country_event = {
		id = rom_military.22
		title = rom_military.22.t
		desc = rom_military.22.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.22.a
			if = { 
				limit = {
					has_idea = ROM_idea_successful_army_reform
				}
				increase_legitimacy_by_three = yes
				army_experience = 25
				add_political_power = 100
				add_stability = 0.1
				add_war_support = 0.1
				add_doctrine_cost_reduction = {
					cost_reduction = 0.25
					uses = 2
					category = land_doctrine
				}
			}
			else_if = { 
				limit = {
					has_idea = ROM_idea_failed_army_reform
				}
				decrease_legitimacy_by_three = yes
				add_political_power = -100
				decrease_ps_by_one = yes
				add_stability = -0.1
				add_war_support = -0.1
			}
		}
	}
	
	### Battle of Constangalia ###
	country_event = {
		id = rom_military.23
		title = rom_military.23.t
		desc = rom_military.23.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		trigger = {
			RUS = {
		        has_country_flag = {
                    flag = POL_January
                    days > 20
                }
		    }
		}
	
		option = {
			name = rom_military.23.a
			hidden_effect = {
				activate_mission = ROM_mission_battle_of_constangalia
			}
		}
	}
	
	### Battle of Constangalia - Failed ###
	country_event = {
		id = rom_military.24
		title = rom_military.24.t
		desc = rom_military.24.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.24.a
			add_manpower = -75
			army_experience = -25
			add_doctrine_cost_reduction = { cost_reduction = 0.15 uses = 1 category = land_doctrine }
		}
	}
	
	### Battle of Constangalia - Succed ###
	country_event = {
		id = rom_military.25
		title = rom_military.25.t
		desc = rom_military.25.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.25.a
			add_manpower = -50
			army_experience = 25
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 2 category = land_doctrine }
		}
	}
	
	### New Army Flags ###
	country_event = {
		id = rom_military.26
		title = rom_military.26.t
		desc = rom_military.26.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.26.a
			add_political_power = 50
			army_experience = 100
			increase_legitimacy_by_two = yes
		}
	}
	### Gendarmerie ###
	country_event = {
		id = rom_military.27
		title = rom_military.27.t
		desc = rom_military.27.d
		picture = placeholder
		
		fire_only_once = yes
		is_triggered_only = yes
	
		option = {
			name = rom_military.27.a
			add_political_power = 25
			add_ideas = {ROM_idea_gendarmerie}
		}
	}
