eoanb_category_formables = {
	eoanb_decision_ROM_form_romania = {
		icon = generic_form_nation
		
		available = {
			#has_completed_focus= ROM_the_kingdom_of_romania
			#date > 1881.03.23
			is_subject = no
			owns_state = 46 
			owns_state = 79
			owns_state = 81
			if={
				limit = { NOT = { has_cosmetic_tag = ROM_united_principalities } }
				OR = {
					AND = {
						TAG = ROM
						MOL = { exists = no }
					}
					AND = {
						TAG = MOL
						ROM = { exists = no }
					}
				}
			}
		}
		

		allowed = {
			OR = {
				TAG = ROM
				TAG = MOL
			}
		}
		
		fire_only_once = yes
		
		cost = 50
		
		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decision_ROM_generic_form
			hidden_effect = {
				set_cosmetic_tag = ROM_costag_generic_formed
				if = {
					limit = { NOT = { AND = {
						is_in_array = { national_culture_array = 100} 
						is_in_array = { national_culture_array = 101} 
					} } }
					ROM = {
						add_to_array = { national_culture_array = 100 } #Moldovans
						add_to_array = { national_culture_array = 101 } #Transylvanian Romanians
					}
				}
			}

		}
		
		#Only ahistorical AI can form it this way
		ai_will_do = {
			base = 1000
			 modifier = {
				 factor = 0
				 is_historical_focus_on = yes
			}
		}	
	}
	
	ROM_form_romanian_union={
		icon = generic_form_nation

		available = {
			tag = ROM
			has_country_flag = ROM_union_allowed
			has_country_flag = ROM_unification_compatible
			MOL = {
				OR = {
					has_autonomy_state = autonomy_personal_union
					is_subject_of = ROM
				}
			}
			has_stability > 0.45
		}
		
		visible = {
			tag = ROM
			has_completed_focus = ROM_cuza
		}
		
		allowed = { TAG = ROM }
		
		cost = 10
		fire_only_once = yes
		complete_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
			hidden_effect = {
				79={
					remove_core_of = MOL
				}
				1126={
					remove_core_of = MOL
				}
				set_cosmetic_tag = ROM_united_principalities
				if = {
					limit = { NOT = { AND = {
						is_in_array = { national_culture_array = 100} 
						is_in_array = { national_culture_array = 101} 
					} } }
					ROM = {
						add_to_array = { national_culture_array = 100 } #Moldovans
						add_to_array = { national_culture_array = 101 } #Transylvanian Romanians
					}
				}
			}

			
		}
		ai_will_do = {
			factor = 200
		}
	}
}

### Decisions from Focus Tree ###
ROM_military_decision_wallachia = {
	
	ROM_mission_romanian_army_reforms = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			ROM_Emanoil_Florescu = {
				is_hired_as_advisor = yes
			}
			has_war_support > 0.5
			#has_army_size = {
			#	size > 16
			#}
			has_equipment = {
				infantry_equipment > 2999
			}
			has_tech = rifle_equipment2
			has_tech = sixfour_army_cloth
			has_tech = improved_cavalry
			has_tech = improved_handguns

			OR = {
				has_idea = army_spending_level_3
				has_idea = army_spending_level_4
			}
		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 2500
		
		cancel_trigger = {
			NOT = {
				ROM_Emanoil_Florescu = {
					is_hired_as_advisor = yes
				}
			}
			#OR = {
				#custom_trigger_tooltip = {
				#	tooltip = DEN_mission_thestrups_army_reforms_cancel_trigger_tt
				#	hidden_trigger = {
				#		NOT = { check_variable = { mhc_sec_value = 2 } }
				#	}
				#}
				has_war = yes
			#}
		}
		
		timeout_effect = {
			country_event = rom_military.21
			complete_national_focus = ROM_law_of_armed_forces_1864
		}
		
		complete_effect = {
			country_event = rom_military.20
			complete_national_focus = ROM_law_of_armed_forces_1864
		}
	}

	#Major Hercht in Belgium 
	ROM_send_major_heinrich_hercht_to_belgium = {

		icon = BEL

		available = {
			has_completed_focus = ROM_integrate_armies
		}

		allowed = { TAG = ROM }
		
		cost = 25
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}
		days_remove = 210
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			country_event = {id = rom_military.4}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
	}
	
	#The Army Arsenal
	ROM_creation_of_army_arsenal = { 

		icon = dynamite 

		available = {
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
			has_completed_focus = ROM_army_industry
			has_idea = ROM_idea_belgian_help
		}

		allowed = { TAG = ROM }
		
		cost = 50
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = ROM_army_reform_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect =	{ 
			add_ideas = the_army_arsenal
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
	}

	#Directorate Artillery Material Establishments
	ROM_creation_directorate_artillery_material_establishments = {

		icon = artillery

		available = {
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
			has_completed_focus = ROM_army_industry
			has_idea = ROM_idea_belgian_help
		}

		allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100
		
		days_remove = 90
		
		fire_only_once = yes
		
		ai_will_do = {
			factor = 100
		}
		
		complete_effect = {
			custom_effect_tooltip = ROM_army_reform_ongoing_effect_tt
			add_command_power = -100
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			add_tech_bonus = { ahead_reduction = 0.5 uses = 1 category = artillery }
			add_doctrine_cost_reduction = {
				cost_reduction = 0.15
				uses = 2
				category = land_doctrine
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
	}

	#Belgian Military - Industry Machines
	ROM_purchase_belgian_military_machines = {

		icon = blueprint

		available = {
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
			has_completed_focus = ROM_army_industry
			has_idea = ROM_idea_belgian_help
		}

		allowed = { TAG = ROM }
		
		cost = 50
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_tech_bonus = { 
				bonus = 0.25 
				uses = 3
				category = mechanical_engineering_tech
				category = process_engineering_tech
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
	}
	
	#Buy Rifles from Liège Factories
	ROM_decision_buy_rifles_from_liege_factories = {

		icon = generic_industry
		
		#allowed = { tag = ROM }

		available = {
			country_exists = BEL
			BEL = { owns_state = 34 }
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = ROM_foreign_equipment
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 180
         
        modifier = {
            
        }
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = BEL
			}
			set_temp_variable = {
				inflation_to_gain = 0.05
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Buy Artillery from Belgian Factories
	ROM_decision_buy_artillery_belgian_factories = {

		icon = artillery
		
		#allowed = { tag = ROM }

		available = {
			country_exists = BEL
			BEL = { owns_state = 34 }
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = ROM_foreign_equipment
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 180
         
        modifier = {
            
        }
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 30
				producer = BEL
			}
			set_temp_variable = {
				inflation_to_gain = 0.05
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	ROM_decision_increase_army_budget = {
	
		icon = money

		#allowed = { tag = SER }

		available = {
			ROM_Emanoil_Florescu = {
				is_hired_as_advisor = yes
			}
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			has_active_mission = ROM_mission_romanian_army_reforms
			OR = {
				has_idea = army_spending_level_1
				has_idea = army_spending_level_2
				has_idea = army_spending_level_3
			}
		}

		fire_only_once = yes
		
		cost = 25

		days_remove = 150
		
		modifier = {
			political_power_gain = -0.1
			war_support_weekly = -0.001
		}
		
		complete_effect = {
			add_stability = -0.03
			add_war_support = -0.03
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {  
			effect_increase_army_spending = yes
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Florescu Cavalry Regulations
	ROM_decision_florescu_cavalry_regulations = {

		icon = generic_cavalry

		#allowed = { tag = ROM }

		available = {
			ROM_Emanoil_Florescu = {
				is_hired_as_advisor = yes
			}
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 99.99
		}
		custom_cost_text = eoanb_command_power_100

		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			
		}
		
		complete_effect = {
			add_command_power = -100
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			add_war_support = 0.01
			army_experience = 20
			if = {
				limit = {
					NOT = { has_tech = daguerreotype }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = daguerreotype }
			}
			else_if = {
				limit = {
					NOT = { has_tech = collodion_process }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = collodion_process }
			}
			else_if = {
				limit = {
					NOT = { has_tech = photographic_glass_plate }
				}
				add_tech_bonus = { bonus = 0.5 uses = 1 technology = photographic_glass_plate }
			}
			else = {
				add_tech_bonus = { bonus = 0.5 uses = 1 category = tech_category_cavalry }
			}
			add_doctrine_cost_reduction = { cost_reduction = 0.25 uses = 1 category = land_doctrine }
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#Romania and American Civil War
	ROM_decision_emanoil_boteanu_mission = {

		icon = generic_army_support
		
		#allowed = { tag = ROM }

		available = {
			has_global_flag = ACW_American_Civil_War
		}

		visible = {
			has_war = no
			has_global_flag = ACW_American_Civil_War
		}

		fire_only_once = yes
		
		cost = 25
		
        days_remove = 10
         
        modifier = {
            
        }
		
		cancel_trigger = {
			NOT = {
				has_global_flag = ACW_American_Civil_War
			}
		}
		
		complete_effect = {
			#custom_effect_tooltip = eoanb_tt_decision_ROM_Emanoil_Boteanu_Mission_effect_tt
			hidden_effect = {
				country_event = rom_military.12
			}
		}
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Vanatori Batalionul
	ROM_decision_creation_vanatori_batalionul = {

		icon = light_infantry
		
		#allowed = { tag = ROM }

		available = {
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50
		
        days_remove = 180
         
        modifier = {
            consumer_goods_expected_value = 0.15
			political_power_gain = -0.05
        }
		
		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
       
        remove_effect = {
			division_template = {
                name = "Vânătorii"
                is_locked = yes
                    regiments = {
                        light_infantry = { x = 0 y = 0 }
                        light_infantry = { x = 0 y = 1 }
                        light_infantry = { x = 0 y = 2 }
                } 
            }
			81 = {
				create_unit = {
					division = "name = \"Batalionul 1 Vânători\" division_template = \"Vânătorii\"  start_experience_factor = 1"
					owner = ROM
				}
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	##French Military Mission
	#Romanian Military Administration
	ROM_decision_military_administration = {

		icon = newspaper_open
		
		#allowed = { tag = ROM }

		available = {
			OR = {
				has_idea = ROM_idea_french_military_mission
				has_idea = ROM_idea_french_military_mission2
				has_idea = ROM_idea_french_military_mission3
			}
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50
		
        days_remove = 180
         
        modifier = {
            
        }
		
		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50
			ROM_french_mission_costs_effect = yes
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
        remove_effect = {
			if = {
				limit = {
					has_idea = ROM_idea_corrupted_army
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army add_idea = ROM_idea_corrupted_army2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army2 add_idea = ROM_idea_corrupted_army3 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army3
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army3 add_idea = ROM_idea_corrupted_army4 
				}
			}
			if = {
				limit = {
					has_idea = ROM_idea_french_military_mission
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission add_idea = ROM_idea_french_military_mission2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_french_military_mission2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission2 add_idea = ROM_idea_french_military_mission3 
				}
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Romanian Recruitment Problem
	ROM_decision_recruitment_problem = {

		icon = generic_industry
		
		#allowed = { tag = ROM }

		available = {
			OR = {
				has_idea = ROM_idea_french_military_mission
				has_idea = ROM_idea_french_military_mission2
				has_idea = ROM_idea_french_military_mission3
			}
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50
		
        days_remove = 180
         
        modifier = {
            
        }
		
		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50
			ROM_french_mission_costs_effect = yes
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
       
        remove_effect = {
			if = {
				limit = {
					has_idea = ROM_idea_corrupted_army
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army add_idea = ROM_idea_corrupted_army2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army2 add_idea = ROM_idea_corrupted_army3 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army3
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army3 add_idea = ROM_idea_corrupted_army4 
				}
			}
			if = {
				limit = {
					has_idea = ROM_idea_french_military_mission
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission add_idea = ROM_idea_french_military_mission2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_french_military_mission2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission2 add_idea = ROM_idea_french_military_mission3 
				}
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	#French Staff Corps
	ROM_decision_staff_corps = {

		icon = FRA
		
		#allowed = { tag = ROM }

		available = {
			OR = {
				has_idea = ROM_idea_french_military_mission
				has_idea = ROM_idea_french_military_mission2
				has_idea = ROM_idea_french_military_mission3
			}
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50
		
        days_remove = 180
         
        modifier = {
            
        }
		
		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50
			ROM_french_mission_costs_effect = yes
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
       
        remove_effect = {
			if = {
				limit = {
					has_idea = ROM_idea_corrupted_army
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army add_idea = ROM_idea_corrupted_army2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army2 add_idea = ROM_idea_corrupted_army3 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_corrupted_army3
				}
				swap_ideas = { 
					remove_idea = ROM_idea_corrupted_army3 add_idea = ROM_idea_corrupted_army4 
				}
			}
			if = {
				limit = {
					has_idea = ROM_idea_french_military_mission
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission add_idea = ROM_idea_french_military_mission2 
				}
			}
			else_if = {
				limit = {
					has_idea = ROM_idea_french_military_mission2
				}
				swap_ideas = { 
					remove_idea = ROM_idea_french_military_mission2 add_idea = ROM_idea_french_military_mission3 
				}
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	##Romanian Spy Agency
	#Section II
	ROM_decision_creation_section_ii = {

		icon = recruit_operative
		
		#allowed = { tag = ROM }

		available = {
			has_completed_focus = ROM_general_staff
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		cost = 25
		
        days_remove = 10
         
        modifier = {
            
        }
		
		cancel_trigger = {
			
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			create_intelligence_agency = {
				name = "Sectia a II-a"
				icon = GFX_intelligence_agency_logo_sabre
			}
			ROM_Gheorghe_Slaniceanu = {
				add_advisor_role = {
					advisor = {
						slot = political_advisor
						idea_token = ROM_advisor_Gheorghe_Slaniceanu
						traits = {
							ROM_trait_Gheorghe_Slaniceanu
						}
						ai_will_do = {
							factor = 0
						}
					}
				}
			}
			country_event = {
				days = 90
				id = rom_military.19
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Battle of Constangalia
	ROM_mission_battle_of_constangalia = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			divisions_in_state = {
				size > 1
				state = 79
			}
		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 30
		
		cancel_trigger = {
			has_war = yes
		}
		
		timeout_effect = {
			hidden_effect = {
				country_event = rom_military.24
			}
		}
		
		complete_effect = {
			hidden_effect = {
				country_event = rom_military.25
			}
		}
	}
	
	ROM_decision_creation_medical_army_service = {

		icon = recruit_operative
		
		#allowed = { tag = ROM }

		available = {
			has_completed_focus = ROM_units_incorporation
			NOT = { has_country_flag = ROM_army_reform_ongoing_flag }
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
		
        days_remove = 10
         
        modifier = {
            
        }
		
		cancel_trigger = {
			
		}
		
		complete_effect = {
			add_command_power = -50
			hidden_effect = {
				set_country_flag = ROM_army_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			army_experience = 50
			add_tech_bonus = { bonus = 0.25 uses = 1 category = support_tech category = biochemistry_tech }
			if = {
				limit = {
					has_idea = ROM_Carol_Davila
				}
				add_political_power = 75
			}
			hidden_effect = {
				clr_country_flag = ROM_army_reform_ongoing_flag
			}
		}
       
		ai_will_do = {
			base = 500
		}
	}
}

ROM_navy_decision_wallachia = {

	ROM_decision_romanian_merchant_navy = {

		icon = money

		available = {
			has_completed_focus = ROM_united_flotillas_decree
			NOT = { has_country_flag = ROM_navy_reform_ongoing_flag }
			1126 = {
				naval_base > 0
			}
			has_equipment = {
				convoy > 4
            }
		}

		#allowed = { TAG = ROM }
		
		cost = 50
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = ROM_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = ROM_naval_reform_effect_tt
			add_ideas = ROM_romanian_merchant_navy
			swap_ideas = { remove_idea = navy_spending_level_1 add_idea = navy_spending_level_2 }
			add_tech_bonus = {
				bonus = 0.25
				uses = 2
				category = naval_mtg_module_transport_tech
			}
			hidden_effect = { clr_country_flag = ROM_navy_reform_ongoing_flag }
		}
	}
	
	ROM_decision_purchasing_trade_convoys = {

		icon = generic_naval
		
		allowed = {
		   #tag = ROM
		}

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			1126 = {
				naval_base > 0
			}
			NOT = { 
				any_owned_state = {
					is_coastal = yes
				}
			}
		}

		visible = {
			has_completed_focus = ROM_united_flotillas_decree
		}

		fire_only_once = no
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 180
		
		days_re_enable = 180
         
        modifier = {
            political_power_gain = -0.1
			consumer_goods_expected_value = 0.05
			industrial_capacity_dockyard = -0.1
        }

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
		    hidden_effect = {
				set_country_flag = GEC_trade_purchasing_convoys_flag
			}
		}
       
        remove_effect = {
			custom_effect_tooltip = ROM_naval_reform_effect_tt
		    add_equipment_to_stockpile = {
                type = convoy
                amount = 5
			}
			hidden_effect = {
				clr_country_flag = GEC_trade_purchasing_convoys_flag
			}
		}
       
		ai_will_do = {
			base = 1000
		}
	}

	ROM_decision_expansion_black_sea_ports = {

		icon = naval_base

		available = {
			NOT = { has_country_flag = ROM_navy_reform_ongoing_flag }
			has_completed_focus = ROM_united_flotillas_decree
			set_temp_variable = {
				amount_of_money_to_check = 1.5
			}
			has_specific_amount_of_money_with_inflation_included = yes 
			any_owned_state = {
				is_coastal = yes
			}
		}

		#allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 730 #Was missing and creating errors
		
		fire_only_once = yes

		ai_will_do = {
			factor = 100
		}

		modifier = {
			
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -1.5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = ROM_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = ROM_naval_reform_effect_tt
			EOANBSYS_institutions_innovative_add_two = yes
			1126 = {
				add_building_construction = {
					type = naval_base
					province = 13682
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			hidden_effect = {
				clr_country_flag = ROM_navy_reform_ongoing_flag
			}
		}
	}

	ROM_decision_expand_the_danube_flotilla = {

		icon = generic_naval

		available = {
			NOT = { has_country_flag = ROM_navy_reform_ongoing_flag }
			has_completed_focus = ROM_danube_flotilla
			set_temp_variable = {
				amount_of_money_to_check = 2.5
			}
			has_specific_amount_of_money_with_inflation_included = yes 
			1126 = {
				naval_base > 0
			}
		}

		#allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -2.5 }
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = ROM_navy_reform_ongoing_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = ROM_naval_reform_effect_tt
			add_doctrine_cost_reduction = {
				cost_reduction = 0.10
				uses = 3
				category = naval_doctrine
			}
			hidden_effect = {
				clr_country_flag = ROM_navy_reform_ongoing_flag
			}
		}
	}
	
	ROM_decision_romania_ship = {

		icon = GFX_decision_blueprint

		available = {
			NOT = { has_country_flag = ROM_ship_order_in_progress_flag }
			has_completed_focus = ROM_foreign_ships
			set_temp_variable = {
				amount_of_money_to_check = 5.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			1126 = {
				naval_base > 0
			}
		}

		#allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5.5
			}
			has_navy_experience > 49.9
		}
		custom_cost_text = eoanb_money_and_navy_experience_50
		
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -5.5 }
			add_money_with_tooltip_effect = yes
			navy_experience = -50
			hidden_effect = {
				set_country_flag = ROM_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			hidden_effect = {
			clr_country_flag = ROM_ship_order_in_progress_flag
			country_event = {
				id = rom_military.6
				days = 10
			}
			create_equipment_variant = {
				name = "Romania"
				type = ship_hull_gunboat_2
				name_group = DEN_GB_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_secondaries_slot = empty
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
					rear_1_custom_slot = empty
				}
				
				}
				create_ship = {
					type = ship_hull_gunboat_2
					equipment_variant = "Romania"
					name = "Romania"
				}
			}
		}
	}
	
	ROM_decision_stefan_cel_mare = {

		icon = GFX_decision_blueprint

		available = {
			NOT = { has_country_flag = ROM_ship_order_in_progress_flag }
			has_completed_focus = ROM_foreign_ships
			set_temp_variable = {
				amount_of_money_to_check = 5.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_navy_size = {
				size > 0
			}
			1126 = {
				naval_base > 0
			}
		}

		#allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5.5
			}
			has_navy_experience > 49.9
		}
		custom_cost_text = eoanb_money_and_navy_experience_50
		
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -5.5 }
			add_money_with_tooltip_effect = yes
			navy_experience = -50
			hidden_effect = {
				set_country_flag = ROM_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			hidden_effect = {
				create_ship = {
					type = ship_hull_gunboat_2
					equipment_variant = "Romania"
					name = "Stefan Cel Mare"
				}
				clr_country_flag = ROM_ship_order_in_progress_flag
			}
		}
	}
	
	ROM_decision_galati_naval_arsenal = {

		icon = GFX_decision_blueprint

		available = {
			NOT = { has_country_flag = ROM_ship_order_in_progress_flag }
			has_completed_focus = ROM_united_flotillas_decree
			set_temp_variable = {
				amount_of_money_to_check = 3.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			1126 = {
				naval_base > 0
			}
		}

		#allowed = { TAG = ROM }
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3.5
			}
			has_navy_experience > 49.9
		}
		custom_cost_text = eoanb_money_and_navy_experience_50
		
		fire_only_once = yes
		ai_will_do = {
			factor = 100
		}

		complete_effect = {
			custom_effect_tooltip = AUS_navy_reform_ongoing_effect_tt
			set_temp_variable = { money_to_gain = -3.5 }
			add_money_with_tooltip_effect = yes
			navy_experience = -50
			hidden_effect = {
				set_country_flag = ROM_ship_order_in_progress_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = AUS_ship_order_in_progress_effect_tt
			1126 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			add_ideas = galati_naval_arsenal
			hidden_effect = {
				clr_country_flag = ROM_ship_order_in_progress_flag
			}
		}
	}
}	

ROM_economy_descision_wallachia = {

	ROM_mission_fix_agriculture = {
		
		icon = generic_industry
		
		allowed = {
			tag = ROM
		}
		
		available = { 
			has_completed_focus = ROM_a_perfect_mess
		}
		
		activation = {
			always = no
		}
		
		visible = {
			has_completed_focus = ROM_ever_burning_fields
		}

		is_good = yes
		
		days_mission_timeout = 365
		
		timeout_effect = {
			add_political_power = -100
			decrease_ps_by_one = yes
			add_stability = -0.1
			add_war_support = -0.1
			add_timed_idea = {
				idea = ROM_failed_to_fix_agriculture
				days = 365
			}
		}
		complete_effect = {
			add_political_power = +100
			increase_ps_by_one = yes
			add_stability = +0.1
			add_war_support = +0.2
			remove_ideas = { ROM_ruined_agriculture }
		}
	}
	
	ROM_decision_repair_countryside = {

		icon = generic_construction
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_repair_the_countryside
		}

		visible = {
			
		}	
		
		fire_only_once = yes
		
		cost = 35

		modifier = {
			consumer_goods_expected_value = 0.1
			production_speed_buildings_factor = -0.05
		}
		
		complete_effect = {
			46 = { 
				add_extra_state_shared_building_slots = 2 
			}
			add_stability = 0.03
		}
		
		days_remove = 100
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_mobilize_the_peasantry = {

		icon = generic_political_discourse
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_mobilize_the_peasantry
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 50

		modifier = {
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			46 = {
			add_manpower = -1000
			}
			81 = {
			add_manpower = -1500
			}
		}

		remove_effect = {
			add_stability = 0.01
			add_political_power = 50
			add_timed_idea = {
				idea = eoanb_random_event_22_idea
				days = 180
			}
        }
		
		days_remove = 30
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_contiunue_reparation_efforts = {

		icon = generic_decision
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_contiunue_reparation_efforts
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 25

		modifier = {
			civilian_factory_use = 1
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
		}

		remove_effect = {
			add_stability = 0.01
			add_political_power = 35
			81 = { 
				add_extra_state_shared_building_slots = 1 
			}
        }
		
		days_remove = 70
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_finishing_touches = {

		icon = generic_operation
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_finishing_touches
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 50

		modifier = {
			consumer_goods_expected_value = 0.15
		}
		
		complete_effect = {
			add_stability = 0.01
		}

		remove_effect = {
			46 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			46 = { add_extra_state_shared_building_slots = 1 }
        }
		
		days_remove = 100
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_seek_chruch_assistance = {

		icon = hol_exchange_intelligence_data
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_speak_with_the_church
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 75

		modifier = {
			political_power_factor = 0.1
			drift_defence_factor = 0.25
			stability_weekly = 0.0025
		}
		
		complete_effect = {
			add_stability = -0.05
		}

		remove_effect = {
			add_stability = 0.02
		}
		
		days_remove = 180
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_speak_with_the_landowners = {

		icon = generic_nationalism
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_speak_with_the_landowners
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 50

		modifier = {
			political_power_factor = -0.15
			drift_defence_factor = 0.15
		}
		
		complete_effect = {
			add_stability = -0.01
		}

		remove_effect = {
            random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = farm
						size > 0
						include_locked = no
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = farm
										size > 0
										include_locked = no
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = farm
					level = 2
					instant_build = yes
				}
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
        }
		
		days_remove = 100
		
		ai_will_do = {
			factor = 15
		}
	}
	
	ROM_decision_bribe_politicians = {

		icon = hol_attract_foreign_investors
		
		allowed = {
			tag = ROM
		}

		available = {
			has_completed_focus = ROM_a_perfectly_broken_system
		}

		visible = {

		}
		
		fire_only_once = yes
		
		cost = 50

		modifier = {
			political_power_factor = -0.1
			stability_weekly = -0.0010
		}
		
		complete_effect = {
			add_stability = -0.01
		}

		remove_effect = {
			add_political_power = 100
			add_stability = 0.1
        }
		
		days_remove = 180
		
		ai_will_do = {
			factor = 15
		}
	}
}

ROM_1859_elections_gui = {
	ROM_decision_cuza_influence = {

		icon = GFX_decision_newspaper_open

		available = {
			has_completed_focus = ROM_unification_rallies
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_doing_election_action
				check_variable = {ROM_election_action = 0}
			}
		}

		visible = {
			has_completed_focus = ROM_unification_rallies
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		days_remove = 20
		#fire_only_once = yes
		
		cost = 40
		days_re_enable = 15
		modifier = {
			political_power_factor = -0.1
		}
		
		complete_effect = {
			add_stability = -0.05
			set_variable = {ROM_election_action = 1}
		}

		remove_effect = {
			add_to_variable = { cuza_party_view = 5 }
			custom_effect_tooltip = ROM_effect_cuza_influence
			set_variable = {ROM_election_action = 0}
        }
		
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_bibescu_influence = {

		icon = GFX_decision_newspaper_open

		available = {
			has_completed_focus = ROM_demote_unionist_officers
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_doing_election_action
				check_variable = {ROM_election_action = 0}
			}
		}

		visible = {
			has_completed_focus = ROM_demote_unionist_officers
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		#fire_only_once = yes
		days_remove = 20
		cost = 40
		days_re_enable = 15
		modifier = {
			political_power_factor = -0.1
		}
		
		complete_effect = {
			add_stability = -0.05
			set_variable = {ROM_election_action = 1}
		}
		
		remove_effect = {
			add_to_variable = { bibescu_party_view = 5 }
			custom_effect_tooltip = ROM_effect_bibescu_influence
			set_variable = {ROM_election_action = 0}
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_decision_cuza_attack_influence = {

		icon = GFX_decision_newspaper_open

		available = {
			has_completed_focus = ROM_unification_rallies
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_doing_election_action
				check_variable = {ROM_election_action = 0}
			}
		}

		visible = {
			has_completed_focus = ROM_unification_rallies
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		days_remove = 20
		#fire_only_once = yes
		
		cost = 40
		days_re_enable = 15
		modifier = {
			political_power_factor = -0.1
		}
		
		complete_effect = {
			add_stability = -0.1
			set_variable = {ROM_election_action = 1}
		}

		remove_effect = {
			subtract_from_variable = { bibescu_party_view = 5 }
			custom_effect_tooltip = ROM_effect_bibescu_influence_minus
			set_variable = {ROM_election_action = 0}
        }
		
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_bibescu_attack_influence = {

		icon = GFX_decision_generic_political_rally

		available = {
			has_completed_focus = ROM_demote_unionist_officers
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_doing_election_action
				check_variable = {ROM_election_action = 0}
			}
		}

		visible = {
			has_completed_focus = ROM_demote_unionist_officers
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		#fire_only_once = yes
		days_remove = 20
		cost = 40
		days_re_enable = 15
		modifier = {
			political_power_factor = -0.1
		}
		
		complete_effect = {
			add_stability = -0.1
			set_variable = {ROM_election_action = 1}
		}
		
		remove_effect = {
			subtract_from_variable = { cuza_party_view = 5 }
			custom_effect_tooltip = ROM_effect_cuza_influence_minus
			set_variable = {ROM_election_action = 0}
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_decision_block_opponent = {

		icon = GFX_decision_parliament_speech_denied

		available = {
			OR = {
				has_completed_focus = ROM_demote_unionist_officers
				has_completed_focus = ROM_unification_rallies
			}
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_doing_election_action
				check_variable = {ROM_election_action = 0}
			}
		}

		visible = {
			OR = {
				has_completed_focus = ROM_demote_unionist_officers
				has_completed_focus = ROM_unification_rallies
			}
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		#fire_only_once = yes
		days_remove = 35
		cost = 60
		days_re_enable = 5
		modifier = {
			political_power_factor = -0.1
		}
		
		complete_effect = {
			add_political_power = 20
			add_stability = 0.01
			set_variable = { ROM_opponent_election_blocked = 1 }
			custom_effect_tooltip = ROM_effect_opponent_blocked
			set_variable = {ROM_election_action = 1}
		}
		
		remove_effect = {
			set_variable = { ROM_opponent_election_blocked = 0 }
			custom_effect_tooltip = ROM_effect_opponent_unblocked
			set_variable = {ROM_election_action = 0}
        }
		ai_will_do = {
			factor = 200
		}

	}
	ROM_decision_reduce_dissent = {

		icon = money

		available = {
			OR = {
				has_completed_focus = ROM_demote_unionist_officers
				has_completed_focus = ROM_unification_rallies
			}
			has_completed_focus = ROM_elections
			custom_trigger_tooltip = {
				tooltip = ROM_requirement_party_50
				if={
					limit={
						has_completed_focus = ROM_unification_rallies
					}
					check_variable = {cuza_party_view > 50}
				}
				else_if={
					limit={
						has_completed_focus = ROM_demote_unionist_officers
					}
					check_variable = {bibescu_party_view > 50}
				}
			}
		}

		visible = {
			OR = {
				has_completed_focus = ROM_demote_unionist_officers
				has_completed_focus = ROM_unification_rallies
			}
			has_completed_focus = ROM_elections
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		#fire_only_once = yes
		days_remove = 0
		cost = 0
		days_re_enable = 10
		
		complete_effect = {
			add_political_power = 100
			add_stability = 0.05
			if={
				limit={
					has_completed_focus = ROM_unification_rallies
				}
				custom_effect_tooltip = ROM_effect_cuza_influence_minus_10
				subtract_from_variable = {cuza_party_view = 10}
			}
			else_if={
				limit={
					has_completed_focus = ROM_demote_unionist_officers
				}
				custom_effect_tooltip = ROM_effect_bibescu_influence_minus_10
				subtract_from_variable = {bibescu_party_view = 10}
			}
			
		}
		
		ai_will_do = {
			factor = 200
		}

	}
	ROM_1859_opponent_timer = {
		icon = politics
		
		
		activation = {
			always = no
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		available = {
			always=no
		}
		is_good = yes
		days_mission_timeout = 25
		
		timeout_effect = {
			hidden_effect = {
				activate_mission = ROM_1859_opponent_timer
			}
			if={
				limit = {
					check_variable = {ROM_opponent_election_blocked = 0}
				}
				if={
					limit={
						has_completed_focus = ROM_unification_rallies
					}
					country_event={id = wallachian_union.18 days = 0}
					
				}
				else_if={
					limit={
						has_completed_focus = ROM_demote_unionist_officers
					}
					country_event={id = wallachian_union.19 days = 0}
					
				}
			}
			else = {
				custom_effect_tooltip = ROM_effect_opponent_blocked
			}
			
		}
		complete_effect = {

		}
	}
	ROM_1859_election_timer = {
		
		icon = GFX_decision_constitution
		
		allowed = {
			tag = ROM
		}
		cancel_trigger = {
			OR = {
				has_completed_focus = ROM_cuza
				has_completed_focus = ROM_bibescu
			}
		}
		
		activation = {
			always = no
		}

		available = {
			always = no
		}

		is_good = yes
		
		days_mission_timeout = 122
		
		timeout_effect = {
			if={
				limit={
					check_variable = {cuza_party_view > bibescu_party_view}
				}
				country_event={id = wallachian_union.15 days = 2}
			}
			else_if={
				limit={
					check_variable = {bibescu_party_view > cuza_party_view}
				}
				country_event={id = wallachian_union.16 days = 2}
			}
			else={
				if={
					limit={
						is_historical_focus_on = yes
					}
					country_event={id = wallachian_union.15 days = 2}
				}
				else={
					random_list = {
					50 = {
						country_event={id = wallachian_union.15 days = 2}
					}
					50 = {
						country_event={id = wallachian_union.16 days = 2}
					}

					}
				}
			}
		}
		complete_effect = {

		}
	}
}
ROM_cuza_reform_gui = {
	ROM_cuza_reform_reduce_unrest = {

		icon = generic

		available = {
			has_completed_focus = ROM_dream_achieved
			custom_trigger_tooltip = {
				tooltip = cuza_unrest_0_tt
				check_variable = {cuza_unrest > 0}
			}
		}

		visible = {
			has_completed_focus = ROM_dream_achieved
			NOT = { 
				has_country_flag = ROM_passed_crisis_cuza
			}
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		#fire_only_once = yes
		days_remove = 60
		cost = 100
		days_re_enable = 10
		
		complete_effect = {
			custom_effect_tooltip = ROM_reduce_unrest_tooltip
			custom_effect_tooltip = ROM_cuza_decrease_unrest_gain
			subtract_from_variable = {cuza_unrest = 1}
			subtract_from_variable = {cuza_unrest_gain = 0.2}
			set_temp_variable = { temp1 = cuza_unrest }
			subtract_from_temp_variable = { temp1 = 2 }
			divide_temp_variable = { temp1 = -20 }
			set_variable = { ROM_cuza_unrest_stab = temp1 }
			set_temp_variable = { temp2 = ROM_cuza_unrest_stab }
			multiply_temp_variable = { temp2 = -1 }
			set_variable = { ROM_cuza_unrest_consumer = temp2 }
			force_update_dynamic_modifier = yes
		}
		remove_effect = {
			add_stability = 0.05
			add_to_variable = {cuza_unrest_gain = 0.2}
			custom_effect_tooltip = ROM_cuza_increase_unrest_gain
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_cuza_reform_reduce_unrest_gain = {

		icon = generic

		available = {
			has_completed_focus = ROM_dream_achieved
			custom_trigger_tooltip = {
				tooltip = cuza_unrest_0_tt
				check_variable = {cuza_unrest > 0}
			}
			custom_trigger_tooltip = {
				tooltip = cuza_unrest_gain_0_6_tt
				check_variable = {cuza_unrest_gain < 0.6}
			}
		}

		visible = {
			has_completed_focus = ROM_dream_achieved
			NOT = { 
				has_country_flag = ROM_passed_crisis_cuza
			}
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		#fire_only_once = yes
		days_remove = 180
		cost = 200
		days_re_enable = 10
		modifier = {
			political_power_gain = -0.2
		}
		remove_effect = {
			add_stability = 0.1
			custom_effect_tooltip = ROM_cuza_decrease_unrest_gain
			subtract_from_variable = {cuza_unrest_gain = 0.2}
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_cuza_decision_increase_reform_power = {

		icon = generic

		available = {
			has_completed_focus = ROM_dream_achieved
			NOT = {has_completed_focus = ROM_monstrous_coalition}
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_100_tt
				check_variable = {cuza_reform_power < 100}
			}
		}

		visible = {
			has_completed_focus = ROM_dream_achieved
			NOT = {has_completed_focus = ROM_monstrous_coalition}
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		#fire_only_once = yes
		days_remove = 30
		cost = 75
		days_re_enable = 10
		modifier = {
			political_power_gain = -0.1
		}
		
		remove_effect = {
			add_to_variable = {cuza_reform_power = 10}
			add_to_variable = {cuza_unrest = 0.5}
			custom_effect_tooltip = ROM_cuza_increase_reform
			custom_effect_tooltip = ROM_cuza_increase_unrest_3
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_cuza_decision_spend_reform = {

		icon = generic

		available = {
			has_completed_focus = ROM_dream_achieved
			NOT = {has_completed_focus = ROM_monstrous_coalition}
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_10
				check_variable = {cuza_reform_power > 10}
			}
		}

		visible = {
			has_completed_focus = ROM_dream_achieved
			NOT = {has_completed_focus = ROM_monstrous_coalition}
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		#fire_only_once = yes
		#days_remove = 30
		cost = 0
		days_re_enable = 20
		
		complete_effect = {
			add_political_power = 150
			subtract_from_variable = {cuza_reform_power = 10}
			custom_effect_tooltip = ROM_cuza_decrease_reform_10
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_cuza_reform_increase_unrest = {

		icon = generic

		available = {
			has_completed_focus = ROM_fight_inevitable
			custom_trigger_tooltip = {
				tooltip = cuza_unrest_10_tt
				check_variable = {cuza_unrest < 10}
			}
		}

		visible = {
			has_completed_focus = ROM_dream_achieved
			NOT = {
				has_country_flag = ROM_passed_crisis_cuza
			}
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		#fire_only_once = yes
		days_remove = 90
		cost = 100
		days_re_enable = 10
		modifier = {
			political_power_gain = 0.1
		}
		remove_effect = {
			add_stability = -0.1
			custom_effect_tooltip = ROM_cuza_increase_unrest_2
			add_to_variable = {cuza_unrest = 2}
        }
		ai_will_do = {
			factor = 100
		}

	}
	ROM_cuza_update_timer = {
		
		icon = generic
		
		allowed = {
			tag = ROM
		}
		cancel_trigger = {
			has_country_flag = ROM_passed_crisis_cuza
		}
		
		activation = {
			always = no
		}

		available = {
			always = no
		}

		is_good = yes
		
		days_mission_timeout = 30
		
		timeout_effect = {
			if = {
				limit = { 
					NOT = {
						has_country_flag = ROM_passed_crisis_cuza
					}
				}
				activate_mission = ROM_cuza_update_timer
			}
			set_variable = {cuza_temp1 = cuza_unrest}
			add_to_variable = {cuza_temp1 = cuza_unrest_gain}
			if = {
				limit = { check_variable = {
							var = cuza_unrest_gain
							value = 0
							compare = less_than
							}
						}
				if = {
					limit = { check_variable = {
								var = cuza_temp1
								value = 0
								compare = greater_than_or_equals
								}
							}
					set_variable = {cuza_unrest = cuza_temp1}
				}
			}
			else = {
				if = {
					limit = {check_variable = {
								var = cuza_temp1
								value = 10
								compare = less_than_or_equals
								}
							}
					set_variable = {cuza_unrest = cuza_temp1}
				}
			}
			set_variable = {cuza_temp2 = cuza_reform_power}
			add_to_variable = {cuza_temp2 = cuza_reform_power_gain}
			if = {
				limit = { check_variable = {
							var = cuza_reform_power_gain
							value = 0
							compare = less_than
							}
						}
				if = {
					limit = { check_variable = {
								var = cuza_temp2
								value = 0
								compare = greater_than_or_equals
								}
							}
					set_variable = {cuza_reform_power = cuza_temp2}
				}
			}
			else = {
				if = {
					limit = {check_variable = {
								var = cuza_temp2
								value = 100
								compare = less_than_or_equals
								}
							}
					set_variable = {cuza_reform_power = cuza_temp2}
				}
			}
			set_temp_variable = { temp1 = cuza_unrest }
			subtract_from_temp_variable = { temp1 = 2 }
			divide_temp_variable = { temp1 = -20 }
			set_variable = { ROM_cuza_unrest_stab = temp1 }
			set_temp_variable = { temp2 = ROM_cuza_unrest_stab }
			multiply_temp_variable = { temp2 = -1 }
			set_variable = { ROM_cuza_unrest_consumer = temp2 }
			force_update_dynamic_modifier = yes
			clear_variable = cuza_temp1
			clear_variable = cuza_temp2
		}
		complete_effect = {

		}
	}
	ROM_monstrous_coalition_timer = {
		
		icon = generic
		
		allowed = {
			tag = ROM
		}
		#cancel_trigger = {
		#	has_country_flag = ROM_passed_crisis_cuza
		#}
		
		activation = {
			always = no
		}

		available = {
			always = no
		}

		is_good = yes
		
		days_mission_timeout = 300
		
		timeout_effect = {
			set_country_flag = ROM_passed_crisis_cuza
			if={
				limit={
					check_variable = {cuza_unrest > 4}
				}
				country_event={id = rom_wallachia.34 days = 2}
			}
			else_if={
				limit={
					check_variable = {cuza_unrest < 4}
				}
				country_event={id = rom_wallachia.35 days = 2}
			}
			else={
				if={
					limit={
						is_historical_focus_on = yes
					}
					country_event={id = rom_wallachia.34 days = 2 }
				}
				else={
					random_list = {
					75 = {
						country_event={id = rom_wallachia.34 days = 2 }
					}
					25 = {
						country_event={id = rom_wallachia.35 days = 2 }
					}

					}
				}
			}
		}
		complete_effect = {

		}
	}
}
ROM_focsani_commission_decisions = {
	ROM_integrate_moldavia_proper = {
		icon = generic

		available = {
			has_completed_focus = ROM_administration_zones
		}

		visible = {
			has_completed_focus = ROM_administration_zones
		}
		fire_only_once = yes
		days_remove = 100
		cost = 50
		modifier = {
			consumer_goods_expected_value = 0.1
		}
		complete_effect = {
			add_stability = -0.1
		}
		remove_effect = {
			79 = { add_core_of = ROM}
        }
		ai_will_do = {
			factor = 200
		}
	}
	ROM_integrate_budjak = {
		icon = generic

		available = {
			has_completed_focus = ROM_administration_zones
		}

		visible = {
			has_completed_focus = ROM_administration_zones
		}
		fire_only_once = yes
		days_remove = 100
		cost = 50
		modifier = {
			consumer_goods_expected_value = 0.1
		}
		complete_effect = {
			add_stability = -0.1
		}
		remove_effect = {
			1126 = { add_core_of = ROM}
        }
		ai_will_do = {
			factor = 200
		}
	} 
	ROM_decision_common_law = {
		icon = generic

		available = {
			has_completed_focus = ROM_administration_zones
			has_completed_focus = ROM_common_legislature
		}

		visible = {
			has_completed_focus = ROM_common_legislature
		}
		fire_only_once = yes
		days_remove = 45
		cost = 50
		modifier = {
			consumer_goods_expected_value = 0.2
		}
		complete_effect = {
			
		}
		remove_effect = {
			add_stability = 0.1
			remove_ideas = {ROM_idea_Confused_bureaucracy2}
        }
		ai_will_do = {
			factor = 200
		}
	}
	ROM_complete_defacto_unification = {
		icon = generic

		available = {
			has_completed_focus = ROM_establish_focsani_central_commission
			custom_trigger_tooltip = {
				tooltip = ROM_unification_check_tooltip
				79 = {is_core_of = ROM}
				1126 = {is_core_of = ROM}
				NOT = {has_idea = ROM_idea_Confused_bureaucracy2}
				NOT = {has_idea = ROM_idea_Confused_bureaucracy}
			}	
		}

		visible = {
			has_completed_focus = ROM_establish_focsani_central_commission
		}
		fire_only_once = yes
		days_remove = 0
		cost = 0
		
		remove_effect = {
			set_country_flag = ROM_unification_compatible
			custom_effect_tooltip = ROM_unification_compatible_tooltip
			remove_ideas = ROM_idea_Unification_process
        }
		ai_will_do = {
			factor = 200
		}
	}
}
ROM_cuza_international_relations = {
	ROM_cuza_ask_britain = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			ENG = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
	ROM_cuza_ask_france = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			FRA = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
	ROM_cuza_ask_prussia = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			PRS = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
	ROM_cuza_ask_russia = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			RUS = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
	ROM_cuza_ask_italy = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			PIE = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
	ROM_cuza_ask_austria = {
		icon = generic

		available = {
			custom_trigger_tooltip = {
				tooltip = Union_cuza_diplo_action_tt
				check_variable = {Union_cuza_diplo_action = 0}
			}
		}
		cancel_trigger = {
			has_completed_focus = ROM_move_away_from_Ottomans
		}
		visible = {
		}
		fire_only_once = yes
		days_remove = 15
		cost = 10
		modifier = {
			political_power_gain = -0.1
		}
		complete_effect = {
			set_variable = {Union_cuza_diplo_action = 1}
		}
		remove_effect = {
			add_to_variable = {Union_cuza_asked = 1}
			set_variable = {Union_cuza_diplo_action = 0}
			AUS = {
				country_event = {id = wallachian_union.23}
			}
        }
		ai_will_do = {
			factor = 100
		}
	}
}
ROM_cuza_reforms_education = {
	ROM_implement_public_education = {
		icon=generic
		available = {
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_5
				check_variable = {cuza_reform_power > 5}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 50
		cost = 20
		modifier = {
			political_power_gain = -0.1
		}
		remove_effect = {
			clr_country_flag = ROM_doing_education_reform

			country_event = {id = rom_wallachia.20}
			swap_ideas = {
				remove_idea = privileged_education
				add_idea = compulsory_education
			}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_construct_bucharest_university = {
		icon=generic
		available = {
			has_completed_focus = ROM_bucharest_university
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_10
				check_variable = {cuza_reform_power > 10}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 250
		cost = 40
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.2
			civilian_factory_use = 1
		}
		remove_effect = {
			clr_country_flag = ROM_doing_education_reform
			country_event = {id = rom_wallachia.21}
			add_ideas = ROM_bucharest_university
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_fight_illiteracy = {
		icon=generic
		available = {
			has_completed_focus = ROM_fight_illiteracy
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 50
		cost = 30
		modifier = {
			political_power_gain = -0.2
			stability_weekly = 0.01
			consumer_goods_expected_value = 0.1
		}
		remove_effect = {
			clr_country_flag = ROM_doing_education_reform
			swap_ideas = {
				remove_idea = ROM_mass_illiteracy
				add_idea = ROM_mass_illiteracy1
			}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_education_reform_timer = {
		
		icon = generic
		
		allowed = {
			tag = ROM
		}
		cancel_trigger = {
		}
		
		activation = {
			always = no
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = ROM_finished_education_reform_tt
				has_idea = ROM_mass_illiteracy1
			}
		}

		is_good = no
		
		days_mission_timeout = 820
		
		timeout_effect = {
			add_political_power = -100
			add_stability = -0.1
			add_timed_idea = {idea = ROM_failed_education_reform days = 1870}
			add_to_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_cuza_increase_unrest
		}
		complete_effect = {
			add_political_power = 100
			add_stability = 0.1
		}
	}
}
ROM_cuza_reforms_legal = {
	ROM_merge_courts = {
		icon=generic
		available = {
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 50
		cost = 30
		modifier = {
			political_power_gain = -0.3
		}
		remove_effect = {
			clr_country_flag = ROM_doing_legal_reform
			add_ideas = ROM_merged_court_system
			
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_justice_reform = {
		icon=generic
		available = {
			has_completed_focus = ROM_justice_reform
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_10
				check_variable = {cuza_reform_power > 10}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 200
		cost = 40
		modifier = {
			political_power_gain = -0.2
		}
		remove_effect = {
			clr_country_flag = ROM_doing_legal_reform
			country_event = {id = rom_wallachia.24}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_civil_penal_code = {
		icon=generic
		available = {
			has_completed_focus = ROM_civil_penal_code
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 100
		cost = 20
		modifier = {
			political_power_gain = -0.2
		}
		remove_effect = {
			clr_country_flag = ROM_doing_legal_reform
			add_ideas = ROM_new_civil_penal_code
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_legal_reform_timer = {
		
		icon = generic
		
		allowed = {
			tag = ROM
		}
		cancel_trigger = {
		}
		
		activation = {
			always = no
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = ROM_finished_legal_reform_tt
				has_idea = ROM_new_civil_penal_code
			}
		}

		is_good = no
		
		days_mission_timeout = 820
		
		timeout_effect = {
			add_political_power = -200
			add_stability = -0.1
			add_timed_idea = {idea = ROM_failed_legal_reform days = 1870}
			add_to_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_cuza_increase_unrest
		}
		complete_effect = {
			add_political_power = 200
			add_stability = 0.1
		}
	}
}
ROM_cuza_reforms_economic = {
	ROM_implement_trade_reforms = {
		icon=generic
		available = {
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_10
				check_variable = {cuza_reform_power > 10}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 200
		cost = 50
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.4
		}
		remove_effect = {
			clr_country_flag = ROM_doing_economic_reform
			add_timed_idea = {idea = ROM_economic_boom days = 1825}
			country_event = {id = rom_wallachia.22}
			
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_implement_new_currency = {
		icon=generic
		available = {
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_10
				check_variable = {cuza_reform_power > 10}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 10
		cost = 40
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.4
		}
		remove_effect = {
			clr_country_flag = ROM_doing_economic_reform
			country_event = {id = rom_wallachia.25}
			
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_found_post_service = {
		icon=generic
		available = {
			has_completed_focus = ROM_new_post_service
			custom_trigger_tooltip = {
				tooltip = cuza_reform_power_check_5
				check_variable = {cuza_reform_power > 5}
			}
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 100
		cost = 30
		modifier = {
			political_power_gain = -0.2
		}
		remove_effect = {
			clr_country_flag = ROM_doing_economic_reform
			country_event = {id = rom_wallachia.23}
			
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_start_agrarian_reform = {
		icon=generic
		available = {
			has_completed_focus = ROM_new_agrarian_reform
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 60
		cost = 40
		modifier = {
			political_power_gain = -0.2
			stability_weekly = -0.01
		}
		remove_effect = {
			clr_country_flag = ROM_doing_economic_reform
			set_country_flag = ROM_unlock_agriculture_tree
			custom_effect_tooltip = ROM_unlock_agriculture_tree_tt
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_economic_reform_timer = {
		
		icon = generic
		
		allowed = {
			tag = ROM
		}
		cancel_trigger = {
		}
		
		activation = {
			always = no
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = ROM_finished_economic_reform_tt
				has_country_flag = ROM_unlock_agriculture_tree
			}
		}

		is_good = no
		
		days_mission_timeout = 820
		
		timeout_effect = {
			add_political_power = -100
			add_stability = -0.1
			remove_ideas = {ROM_economic_boom}
			add_timed_idea = {
				idea = ROM_failed_economic_reform
				days = 1870
			}
			add_to_variable = {cuza_unrest = 1}
			custom_effect_tooltip = ROM_cuza_increase_unrest
		}
		complete_effect = {
			add_political_power = 100
			add_stability = 0.1
		}
	}
}
ROM_industrialise_decisions = {

	ROM_decision_bucharest_iasi_railway = {
		icon = railway
		
		available = {
			has_completed_focus = ROM_bucharest_iasi_railway
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		
		visible = {
			
		}
		
		fire_only_once = yes
		days_remove = 360
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_political_power = 10
			add_stability = 0.1
			79 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = supply_node
					province = 9716
					level = 1
					instant_build = yes
				}
			}
			build_railway = {
				level = 1
				build_only_on_allied = yes
				controller_priority = {
					base = 1
				}
				path = { 13673 3663 9651 11652 9706 6729 6747 9716 }
				start_province = 13673
				target_province = 9716
			}
			79 = { add_extra_state_shared_building_slots = 2 }
		}
		ai_will_do = {
			factor = 100
		}

	}
	
	ROM_decision_bucharest_craiova_railway = {
		icon = railway
		available = {
			has_completed_focus = ROM_bucharest_craiova_railway
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		
		visible = {
			
		}
		
		fire_only_once = yes
		days_remove = 360
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_political_power = 10
			add_stability = 0.1
			81 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			build_railway = {
				level = 1
				build_only_on_allied = yes
				#path = {}
				start_province = 13673
				target_province = 6652
			}
			81 = { add_extra_state_shared_building_slots = 1 }
		}
		ai_will_do = {
			factor = 100
		}
	}
	
	ROM_decision_setup_supply_craiova= {
		icon = generic
		
		available = {
			has_completed_focus = ROM_bucharest_craiova_railway
			set_temp_variable = {
				amount_of_money_to_check = 0.75
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		
		visible = {
			has_railway_connection = {
				start_province = 13673
				target_province = 6652
			}
		}
		fire_only_once = yes
		days_remove = 60
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.75
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.75 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_political_power = 10
			81 = {
				add_building_construction = {
					type = supply_node
					province = 6652
					level = 1
					instant_build = yes
				}
			}
		}
		ai_will_do = {
			factor = 100
		}
	}
	
	ROM_decision_bucharest_braila_railway = {
		icon = railway
		available = {
			has_completed_focus = ROM_bucharest_craiova_railway
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		visible = {
			
		}
		fire_only_once = yes
		days_remove = 60
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_political_power = 10
			add_stability = 0.1
			build_railway = {
				level = 1
				build_only_on_allied = yes
				#path = {}
				start_province = 13673
				target_province = 6677
			}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_invite_foreign_investors = {

		icon = eng_trade_unions_support

		allowed = { tag = ROM }
		
		available = {
			has_completed_focus = ROM_invite_foreign_investors
			has_stability > 0.3
		}

		visible = {
			has_full_control_of_state = 46
		}

		fire_only_once = yes

		cost = 50
		
		days_remove = 60
		
		remove_effect = {
			country_event = {id = rom_wallachia.29}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	ROM_decision_jiu_valley = { 

        icon = coal
		
		available = {
		    has_completed_focus = ROM_jiu_valley 
			owns_state = 81
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		
		allowed = { tag = ROM } 

		visible = {
		}

		fire_only_once = yes
		is_good = yes

		cost = 50
		days_remove = 80

		modifier = {
			civilian_factory_use = 1
			political_power_gain = -0.1
		}
		
		complete_effect = {
		}

		remove_effect = { 
			81 = {
				add_resource = {
					type = coal
					amount = 5
				}
				add_resource = {
					type = iron
					amount = 2
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
	ROM_decision_oil_ploiesti = { 

        icon = oil
		
		available = {
		    has_completed_focus = ROM_oil_ploiesti 
			num_of_civilian_factories_available_for_projects > 0
			owns_state = 46
		}
		
		allowed = { tag = ROM } 

		visible = {
		}

		fire_only_once = yes
		is_good = yes

		cost = 50
		days_remove = 80

		modifier = {
			civilian_factory_use = 1
			political_power_gain = -0.1
		}
		
		complete_effect = {
		}

		remove_effect = { 
			46 = {
				add_resource = {
					type = oil
					amount = 4
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
	ROM_decision_belvedere_factory = { 

        icon = money
		
		available = {
			custom_trigger_tooltip = {
				tooltip = ROM_e_grant_unlocked_tt
				has_country_flag = ROM_e_grant_unlocked
			}
			num_of_civilian_factories_available_for_projects > 0
		}
		
		allowed = { tag = ROM } 

		visible = {
			has_country_flag = ROM_e_grant_unlocked
		}

		fire_only_once = yes
		is_good = yes

		cost = 200
		days_remove = 200

		modifier = {
			civilian_factory_use = 1
			political_power_gain = -0.5
		}
		
		complete_effect = {
		}

		remove_effect = { 
			46 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
			hidden_effect = {
				country_event = {id = rom_wallachia.31 days = 165}
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
}
ROM_agriculture_reform = {
	ROM_decision_appease_church = {
		icon = generic
		available = {
			has_completed_focus = ROM_compensate_church
			has_idea = ROM_idea_unhappy_church_cuza
			
		}
		visible = {
			has_completed_focus = ROM_focus_agriculture
			has_idea = ROM_idea_unhappy_church_cuza
		}
		fire_only_once = yes
		days_remove = 100
		cost = 70
		modifier = {
			political_power_gain = -0.5
			consumer_goods_expected_value = 0.5
		}
		remove_effect = {
			remove_ideas = ROM_idea_unhappy_church_cuza
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_negotiate_landowners = {
		icon = generic
		available = {
			has_completed_focus = ROM_negotiate_landowners
		}
		visible = {
			has_completed_focus = ROM_focus_agriculture
		}
		fire_only_once = yes
		days_remove = 60
		cost = 50
		modifier = {
			political_power_gain = -0.5
		}
		remove_effect = {
			country_event = {id = rom_wallachia.39}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_free_peasants = {
		icon = generic
		available = {
			has_completed_focus = ROM_help_peasantry
		}
		visible = {
			has_completed_focus = ROM_focus_agriculture
		}
		fire_only_once = yes
		days_remove = 100
		cost = 50
		modifier = {
			political_power_gain = -0.3
			consumer_goods_expected_value = 0.5
		}
		remove_effect = {
			country_event = {id = rom_wallachia.38}
			add_timed_idea = {idea = ROM_idea_peasant_distribution days = 365}
		}
		ai_will_do = {
			factor = 100
		}
	}
	ROM_decision_enforce_land_reform = {
		icon = generic
		available = {
			has_completed_focus = ROM_enforce_land_reform
		}
		visible = {
			has_completed_focus = ROM_focus_agriculture
		}
		fire_only_once = yes
		days_remove = 60
		cost = 50
		modifier = {
			political_power_gain = -0.3
		}
		remove_effect = {
			79 = {
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
		ai_will_do = {
			factor = 100
		}
	}
}