OTO_decision_category_balkan_affairs = {
	
	#Create the Danubian Vilayet
	OTO_decision_create_danubian_vilayet = {

		icon = constitution

		#allowed = { tag = OTO }

		available = {
			has_war = no
			48 = { compliance > 10 }
			77 = { compliance > 10 }
			108 = { compliance > 10 }
			211 = { compliance > 10 }
			748 = { compliance > 10 }
			965 = { compliance > 10 }
			1241 = { compliance > 10 }
			1273 = { compliance > 10 }
		}

		visible = {
			has_completed_focus = OTO_focus_balkan_development
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 77
				state = 108
				state = 211
				state = 748
				state = 965
				state = 1241
				state = 1273
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50

		days_remove = 120

		complete_effect = {
			unlock_decision_tooltip = OTO_decision_appoint_midhad_pasha
			add_political_power = -50
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			48 = {
				add_resistance = -10
				add_compliance = 10
			}
			77 = {
				add_resistance = -10
				add_compliance = 10
			}
			108 = {
				add_resistance = -10
				add_compliance = 10
			}
			211 = {
				add_resistance = -10
				add_compliance = 10
			}
			748 = {
				add_resistance = -10
				add_compliance = 10
			}
			965 = {
				add_resistance = -10
				add_compliance = 10
			}
			1241 = {
				add_resistance = -10
				add_compliance = 10
			}
			1273 = {
				add_resistance = -10
				add_compliance = 10
			}
			hidden_effect = {
				set_country_flag = OTO_danubian_vilayet_established_flag
			}
		}
		
		remove_effect = {
			country_event = { id = OTO_events.61 }
		}

		ai_will_do = {
			base = 200
		}
	}

	#Appoint Midhad Pasha
	OTO_decision_appoint_midhad_pasha = {

		icon = politics

		#allowed = { tag = OTO }

		available = {
			has_country_flag = OTO_danubian_vilayet_established_flag
		}

		visible = {
			#
		}

		fire_only_once = yes

		cost = 10

		days_remove = 10

		complete_effect = {
		}
		
		remove_effect = {
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 6
						slots = {
							political_advisor
						}
					}
				}
				activate_advisor = OTO_advisor_midhad_pasha
			}
			else = {
				custom_effect_tooltip = OTO_decision_appoint_midhad_pasha_effect_tt
				add_stability = 0.05
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	#Assimilate Protestants
	OTO_decision_assimilate_protestants = {

		icon = protestantism

		#allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_protestant_assimilation
		}

		fire_only_once = yes

		cost = 25
		
		days_remove = 1
		
		complete_effect = {
			#
		}
		
		remove_effect = {
			add_stability = 0.02
			add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
			every_owned_state = {
				limit = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v > 0.01 }
						check_variable = { state_religion_array^i = global.protestant }
					}
				}
				custom_effect_tooltip = OTO_decision_assimilate_protestants_effect_tt
				set_temp_variable = {
					type_temp = global.protestant
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Increase Cultural Autonomy
	OTO_decision_increase_cultural_autonomy = {

		icon = border_war

		#allowed = { tag = OTO }
		
		available = {
			has_stability > 0.2
		}

		visible = {
			has_completed_focus = OTO_focus_questions_cultural_autonomy
			NOT = { has_country_flag = OTO_reduce_cultural_autonomy_flag }
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
		
		days_remove = 120
		
		complete_effect = {
			add_command_power = -50
			hidden_effect = {
				set_country_flag = OTO_increase_cultural_autonomy_flag
			}
		}
		
		remove_effect = {
			add_political_power = -50
			add_stability = 0.05
			EOANBSYS_institutions_humanitive_add_five = yes
			add_popularity = { ideology = centrism popularity = 0.1 }
			every_owned_state = {
				limit = {
					NOT = { is_core_of = OTO }
				}
				add_compliance = 15
				add_resistance = -10
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Reduce Cultural Autonomy
	OTO_decision_reduce_cultural_autonomy = {

		icon = border_war

		#allowed = { tag = OTO }
		
		available = {
			has_stability > 0.2
		}

		visible = {
			has_completed_focus = OTO_focus_questions_cultural_autonomy
			NOT = { has_country_flag = OTO_increase_cultural_autonomy_flag }
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
		
		days_remove = 120
		
		complete_effect = {
			add_command_power = -50
			hidden_effect = {
				set_country_flag = OTO_reduce_cultural_autonomy_flag
			}
		}
		
		remove_effect = {
			add_political_power = 150
			add_stability = -0.05
			EOANBSYS_institutions_humanitive_add_five = yes
			add_popularity = { ideology = autocracy popularity = 0.1 }
			every_owned_state = {
				limit = {
					NOT = { is_core_of = OTO }
				}
				add_compliance = -5
				add_resistance = 10
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Invite Eugène-Henri Gavand
	OTO_decision_invite_eugene_henri_gavand = {

		icon = generic_factory

		#allowed = { tag = OTO }
		
		available = {
			NOT = { has_war_with = FRA }
		}

		visible = {
			has_completed_focus = OTO_focus_hire_foreign_advisors
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 60
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			EOANBSYS_institutions_innovative_add_two = yes
			hidden_effect = {
				set_country_flag = OTO_character_eugene_henri_gavand_ready_flag
			}
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 6
						slots = {
							political_advisor
						}
					}
				}
				activate_advisor = OTO_advisor_eugene_henri_gavand
			}
			else = {
				custom_effect_tooltip = OTO_decision_invite_eugene_henri_gavand_effect_tt
				add_tech_bonus = { bonus = 0.25 uses = 1 category = process_engineering_tech }
				add_tech_bonus = { bonus = 0.25 uses = 1 category = mechanical_engineering_tech }
			}
		} 

		ai_will_do = {
			base = 1000
		}
	}

	#Revive the Selanik Mines - SHOULD BE MOVED TO OTHER CATEGORY?
	OTO_decision_revive_selanik_mines = {

		icon = iron

		#allowed = { tag = OTO }
		
		available = {
			has_tech = machine_tools_1
			controls_state = 1274
			has_completed_focus = OTO_focus_revive_siderokavsia
			num_of_civilian_factories_available_for_projects > 1
		}

		visible = {
			has_completed_focus = OTO_focus_revive_siderokavsia
			owns_state = 1274
		}

		highlight_states = {
			highlight_state_targets = {
				state = 1274
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		modifier = {
			civilian_factory_use = 1
		}
		
		remove_effect = {
			1274 = {
				add_resource = {
					type = iron
					amount = 4
				}
			}
			add_tech_bonus = { bonus = 0.25 uses = 1 category = resource_extraction_tech }
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	OTO_decision_buildup_vares_kresevo_mines = {
		icon = steel
		#allowed = { tag = OTO }
		available = {
			owns_state = 1272
			has_completed_focus = OTO_focus_vares_kresevo_mines
		}
		visible = {
			has_completed_focus = OTO_focus_vares_kresevo_mines
		}
		highlight_states = {
			highlight_state_targets = {
				state = 1272
			}
		}
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		days_remove = 300
		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			1272 = {
				add_resource = {
					type = iron
					amount = 1
				}
				add_resource = {
					type = coal
					amount = 2
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0003
			}
			add_unemployment_effect = yes
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			EOANBSYS_institutions_innovative_add_one = yes
		}
		ai_will_do = {
			base = 100
		}
	}

	#Invest into Tokat Copper Mine
	OTO_decision_invest_tokat_copper_mine = {

		icon = copper

		#allowed = { tag = OTO }
		
		available = {
			has_tech = machine_tools_1
			controls_state = 355
		}

		visible = {
			has_country_flag = OTO_invest_into_tokat_copper_mine_flag
		}

		highlight_states = {
			highlight_state_targets = {
				state = 355
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			355 = {
				add_resource = {
					type = iron
					amount = 3
				}
			}
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			clr_country_flag = OTO_invest_into_tokat_copper_mine_flag
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Expand the Zonguldak Coal Mine
	OTO_decision_expand_zonguldak_coal_mine = {

		icon = coal

		#allowed = { tag = OTO }
		
		available = {
			has_tech = machine_tools_1
			controls_state = 347
		}

		visible = {
			has_completed_focus = OTO_focus_mines_act
		}

		highlight_states = {
			highlight_state_targets = {
				state = 347
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			347 = {
				add_resource = {
					type = coal
					amount = 3
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Liberalise The Migration Policies
	OTO_decision_liberalise_the_migration_policies = {

		icon = coal

		#allowed = { tag = OTO }

		visible = {
			has_completed_focus = OTO_focus_migration_regulations
			NOT = {
				has_country_flag = OTO_reinforced_migration_policies_flag
			}
		}

		fire_only_once = yes
		
		cost = 80
		
		days_remove = 130

		complete_effect = {
			set_country_flag = OTO_liberalized_migration_policies_flag
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_mutually_exclusive_with_reinforce_migration_restriction_decision_tt
			set_temp_variable = { money_to_gain = -0.50 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_stability = 0.05
			add_war_support = -0.03
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Reinforce Migration Restrictions
	OTO_decision_reinforce_the_migration_restrictions = {

		icon = coal

		#allowed = { tag = OTO }

		visible = {
			has_completed_focus = OTO_focus_migration_regulations
			NOT = {
				has_country_flag = OTO_liberalized_migration_policies_flag
			}
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 130

		complete_effect = {
			set_country_flag = OTO_reinforced_migration_policies_flag
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_mutually_exclusive_with_liberalise_the_migration_policies_decision_tt
			add_stability = -0.05
			add_war_support = 0.03
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Invite the Prussian Mine Engineer Ernst Weiss
	OTO_decision_invite_ernst_weiss = {

		icon = coal

		#allowed = { tag = OTO }
		
		available = {
			NOT = { has_war_with = PRS }
		}

		visible = {
			has_completed_focus = OTO_focus_mines_act
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 60

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			hidden_effect = {
				set_country_flag = OTO_character_ernst_weiss_ready_flag
			}
			add_opinion_modifier = { target = PRS modifier = eoanb_minor_opinion_boost }
			reverse_add_opinion_modifier = { target = PRS modifier = eoanb_minor_opinion_boost }
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 6
						slots = {
							political_advisor
						}
					}
				}
				activate_advisor = OTO_advisor_ernst_weiss
			}
			else = {
				custom_effect_tooltip = OTO_decision_invite_ernst_weiss_effect_tt
				add_tech_bonus = { bonus = 0.25 uses = 1 category = process_engineering_tech }
				add_tech_bonus = { bonus = 0.25 uses = 1 category = mechanical_engineering_tech }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Vratsa Jewellers
	OTO_decision_vratsa_jewellers = {

		icon = gold

		#allowed = { tag = OTO }
		
		available = {
			has_completed_focus = OTO_focus_vratsa_high_quality_jewellery
		}

		visible = {
			#
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			set_temp_variable = { eoanb_prestige_change = 2 }
			eoanb_change_prestige_score = yes
			add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Map the Danube
	OTO_decision_map_the_danube = {

		icon = generic_operation

		#allowed = { tag = OTO }
		
		available = {
			OTO_character_charles_augustus_hartley = {
				is_hired_as_advisor = yes
			}
		}

		visible = {
			has_completed_focus = OTO_focus_danubian_investments
			owns_state = 48
			owns_state = 77
			owns_state = 211
			owns_state = 748
			owns_state = 1241
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 77
				state = 211
				state = 748
				state = 1241
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50
		
		days_remove = 720

		cancel_trigger = {
			NOT = {
				OTO_character_charles_augustus_hartley = {
					is_hired_as_advisor = yes
				}
			}
		}
		
		complete_effect = {
			add_political_power = -50
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
			add_tech_bonus = { bonus = 0.5 uses = 1 category = humanities_tech }
			48 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			77 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			211 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			748 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			1241 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Capture Bulgarian Revolutionaries
	OTO_decision_capture_bulgarian_revolutionaries = {

		icon = oppression_bul

		#allowed = { tag = OTO }
		
		available = {
			OTO_character_midhad_pasha = {
				is_hired_as_advisor = yes
			}
		}

		visible = {
			has_completed_focus = OTO_focus_legacy_of_belogradchik_upspring
			owns_state = 48
			owns_state = 211
			owns_state = 1023
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 211
				state = 1023
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
	
		days_remove = 120
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 48 }
			NOT = { has_full_control_of_state = 211 }
			NOT = { has_full_control_of_state = 1023 }
		}
	
		complete_effect = {
			add_command_power = -50
		}

		remove_effect = {
			add_political_power = 75
			add_stability = -0.03
			48 = {
				add_compliance = 5
				add_resistance = -10
			}
			211 = {
				add_compliance = 5
				add_resistance = -10
			}
			1023 = {
				add_compliance = 5
				add_resistance = -10
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Support the Tarnovo Textile Mill
	OTO_decision_tarnovo_textile_mill = {

		icon = generic_factory

		#allowed = { tag = OTO }

		available = {
			
		}
		
		visible = {
			has_completed_focus = OTO_focus_italian_model_factory_tarnovo
			owns_state = 211
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 211
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 720

		modifier = {
			production_speed_fabric_weavery_factor = 0.5
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			custom_effect_tooltip = OTO_decision_tarnovo_textile_mill_effect_tt
			if = {
				limit = {
					211 = {
						fabric_weavery > 0
					}
				}
				add_political_power = 25
				add_stability = 0.02
				set_temp_variable = {
					eoanb_prestige_change = 1
				}
				eoanb_change_prestige_score = yes
			}
		}

		ai_will_do = {
			base = 200
		}
	}

	#Urbanization of Bulgaria
	OTO_mission_urbanization_of_bulgaria = {

		icon = hol_draw_up_staff_plans

		allowed = { always = no }
		
		available = {
			owns_state = 48
			owns_state = 211
			48 = {
				state_population > 725000
			}
			211 = {
				state_population > 750000
			}
		}

		activation = { always = no }

		priority = 55

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 211
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1800

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -25
				add_stability = -0.01
			}
		}

		complete_effect = {
			EOANBSYS_institutions_innovative_add_two = yes
			EOANBSYS_institutions_humanitive_add_five = yes
			48 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = city
			}
			211 = {
				add_extra_state_shared_building_slots = 1
				set_state_category = city
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Urbanization of Bulgaria
	OTO_mission_incorporating_the_periphery = {

		icon = hol_draw_up_staff_plans

		allowed = { always = no }
		
		available = {
			owns_state = 1207
			owns_state = 104
			owns_state = 1272
			owns_state = 1208
			owns_state = 1205
			1207 = {
				industrial_complex > 0
				infrastructure > 3
			}
			104 = {
				industrial_complex > 0
				infrastructure > 3
			}
			1272 = {
				industrial_complex > 0
				infrastructure > 3
			}
			1208 = {
				industrial_complex > 0
				infrastructure > 3
			}
			1205 = {
				industrial_complex > 0
				infrastructure > 3
			}
		}

		activation = { always = no }

		priority = 55

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 2000

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -30
				add_stability = -0.05
				set_temp_variable = { money_to_gain = -0.5 }
				add_money_with_inflation_included_with_tooltip_effect = yes
				1207 = {
					add_resistance = 5
				}
				104 = {
					add_resistance = 5
				}
				1272 = {
					add_resistance = 5
				}
				1208 = {
					add_resistance = 5
				}
				1205 = {
					add_resistance = 5
				}
			}
		}

		complete_effect = {
			EOANBSYS_institutions_innovative_add_two = yes
			EOANBSYS_institutions_humanitive_add_five = yes
			set_temp_variable = { money_to_gain = 2 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			1207 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 8
			}
			104 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 8
			}
			1272 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 8
			}
			1208 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 8
			}
			1205 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 8
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Encourage Bulgarian Urbanization
	OTO_decision_encourage_bulgarian_urbanization = {
		icon = generic_construction
		#allowed = { tag = OTO }
		available = {
			has_active_mission = OTO_mission_urbanization_of_bulgaria
		}
		visible = {
			has_active_mission = OTO_mission_urbanization_of_bulgaria
			owns_state = 48
			NOT = {
				48 = {
					state_population > 725000
				}
			}
			owns_state = 211
			NOT = {
				211 = {
					state_population > 750000
				}
			}
		}
		fire_only_once = no
		cost = 10
		days_remove = 365
		complete_effect = {
		}
		remove_effect = {
			48 = {
				add_manpower = 10000
			}
			211 = {
				add_manpower = 10000
			}
			77 = {
				add_manpower = -2000
			}
			184 = {
				add_manpower = -2000
			}
			964 = {
				add_manpower = -1000
			}
			1023 = {
				add_manpower = -15000
			}
			hidden_effect = {
				#Prohibit unintended automatic growth in recruitable manpower
				add_manpower = -20000
				48 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_increase_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_increase_religion = yes
				}
				211 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_increase_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_increase_religion = yes
				}
				77 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.025
					}
					pops_decrease_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.025
					}
					pops_decrease_religion = yes
				}
				184 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.02
					}
					pops_decrease_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.02
					}
					pops_decrease_religion = yes
				}
				964 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_decrease_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.015
					}
					pops_decrease_religion = yes
				}
				1023 = {
					set_temp_variable = {
						type_temp = global.bulgarian
					}
					set_temp_variable = {
						percentage_temp = 0.025
					}
					pops_decrease_culture = yes
	
					set_temp_variable = {
						type_temp = global.orthodoxy
					}
					set_temp_variable = {
						percentage_temp = 0.025
					}
					pops_decrease_religion = yes
				}
			}
		}
		ai_will_do = {
			base = 200
		}
	}

	#Redistribute the Land
	OTO_decision_redistribute_the_land = {

		icon = generic_operation

		#allowed = { tag = OTO }
		
		available = {
			has_full_control_of_state = 48
			has_full_control_of_state = 211
			has_full_control_of_state = 1023
		}

		visible = {
			has_completed_focus = OTO_focus_grace_peasantry
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 211
				state = 1023
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			48 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 5
			}
			211 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 5
			}
			1023 = {
				add_extra_state_shared_building_slots = 1
				add_compliance = 5
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Redistribute the Land
	OTO_decision_improve_the_industry_in_sarajevo = {

		icon = generic_operation

		#allowed = { tag = OTO }

		visible = {
			has_completed_focus = OTO_focus_liberties_bosniak_traders
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 120

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			1272 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Support Small and Medium-Sized Landowners
	OTO_decision_support_landowners = {

		icon = cow

		#allowed = { tag = OTO }
		
		available = {
			has_full_control_of_state = 48
			has_full_control_of_state = 211
			has_full_control_of_state = 1023
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			has_completed_focus = OTO_focus_grace_peasantry
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 211
				state = 1023
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 120

		modifier = {
			civilian_factory_use = 1
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			swap_ideas = {
				remove_idea = OTO_idea_general_agricultural_funds_1
				add_idea = OTO_idea_general_agricultural_funds_2
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#The Agrarian Class
	OTO_decision_the_agrarian_class = {

		icon = generic_factory

		#allowed = { tag = OTO }
		
		available = {
			has_full_control_of_state = 211
			has_full_control_of_state = 1023
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			has_completed_focus = OTO_focus_agrarian_class
		}

		highlight_states = {
			highlight_state_targets = {
				state = 211
				state = 1023
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_political_power > 49.9
		}
		custom_cost_text = eoanb_money_and_political_power_50
		
		days_remove = 180
		
		modifier = {
			civilian_factory_use = 1
		}
		
		complete_effect = {
			add_political_power = -50
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			211 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			1023 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			swap_ideas = {
				remove_idea = OTO_idea_general_agricultural_funds_2
				add_idea = OTO_idea_general_agricultural_funds_3
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Strengthen the Serbian Border
	OTO_mission_strengthen_serbian_border = {

		icon = fort

		allowed = { always = no }

		available = {
			owns_state = 48
			owns_state = 108
			custom_trigger_tooltip = {
				tooltip = OTO_mission_strengthen_serbian_border_trigger_tt
				hidden_trigger = {
					48 = {
						any_province_building_level = {
							province = {
								id = 13674 #Vidin
							}
							building = bunker
							level > 0
						}
					}
					108 = {
						any_province_building_level = {
							province = {
								id = 9906 #Nis
							}
							building = bunker
							level > 0
						}
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 50
		
		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 108
			}
		}

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 365

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.02
			add_war_support = -0.05
			add_command_power = -25
			SER = { add_autonomy_score = { value = 50 } }
		}

		complete_effect = {
			add_political_power = 25
			add_stability = 0.02
			add_war_support = 0.05
			add_command_power = 25
			SER = { add_autonomy_score = { value = -30 } }
		}

		ai_will_do = {
			base = 200
		}
	}

	#Construct Forts on the Serbian Border
	OTO_decision_construct_forts_on_the_serbian_border = {

		icon = fort

		#allowed = { tag = OTO }
		
		available = {
			owns_state = 48
			owns_state = 108
		}

		visible = {
			has_active_mission = OTO_mission_strengthen_serbian_border
		}

		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 108
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			command_power > 49.99
		}
		custom_cost_text = eoanb_money_and_command_power_50
		
		days_remove = 180

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			add_command_power = -50
		}
		
		remove_effect = {
			48 = {
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 13674 #Vidin
				}
			}
			108 = {
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 9906 #Nis
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Grant Concessions for Telegraph Lines
	OTO_decision_grant_concession_for_telegraph_lines = {

		icon = generic_construction

		#allowed = { tag = OTO }
		
		available = {
			has_tech = electrical_telegraph
		}

		visible = {
			has_completed_focus = OTO_focus_telegraph_lines
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 48
				state = 341
				state = 957
				state = 1023
				state = 1275
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 4
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365

		complete_effect = {
			set_temp_variable = { money_to_gain = -4 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_tech_bonus = { bonus = 0.25 uses = 1 category = electronics_devices_tech }
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			48 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			341 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			957 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			1023 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			1275 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#The Pernik Coal Mine
	OTO_decision_pernik_coal_mines = {

		icon = coal

		#allowed = { tag = OTO }
		
		available = {
			has_tech = machine_tools_1
			owns_state = 48
		}

		visible = {
			has_completed_focus = OTO_focus_pernik_coal_mines
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 48
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			48 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = coal_mine
					level = 1
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Support the Chiprovtsi Carpet Industry
	OTO_decision_chiprovtsi_carpet_industry = {

		icon = fabric

		#allowed = { tag = OTO }
		
		available = {
			owns_state = 48
		}

		visible = {
			has_completed_focus = OTO_focus_chiprovtsi_carpet_industry
		}
		
		highlight_states = {
			highlight_state_targets = {
				state = 48
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			48 = {
				add_resource = {
					type = fabric
					amount = 3
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

#Ottoman Railway Projects
OTO_decision_category_railway_projects = {

	#Construct Izmir-Aidyn Railway
	OTO_decision_construct_izmir_aydin_railway = {

		icon = railway
	
		#allowed = { tag = OTO }
	
		available = {
			owns_state = 339
			owns_state = 342
			has_completed_focus = OTO_focus_develop_izmir_aydin_railway
		}
	
		visible = {
			owns_state = 339
			owns_state = 342
		}

		highlight_states = {
			highlight_state_targets = {
				state = 339
				state = 342
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400
	
		cancel_trigger = {
			OR = {
				NOT = { owns_state = 339 }
				NOT = { owns_state = 342 }
			}
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			build_railway = {
				level = 1
				path = { 4112 7130 10038 9929 }
				start_province = 4112
				target_province = 9929
			}
			342 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = supply_node
					province = 9929
					level = 1
					instant_build = yes
				}
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
	
	#The Ruse-Varna Railway Line
	OTO_mission_ruse_varna_railway_line = {

		icon = railway

		allowed = { always = no }

		available = { always = no }
		
		activation = { always = no }

		priority = 45
		
		highlight_states = {
			highlight_state_targets = {
				state = 211
			}
		}

		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1825
	
		cancel_trigger = {
			NOT = { owns_state = 211 }
		}

		timeout_effect = {
			#
		}
	
		complete_effect = {
			build_railway = {
				level = 1
				path = { 9612 9769 13744 9783 }
				start_province = 9612
				target_province = 9783
			}
			211 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			country_event = { id = OTO_events.72 days = 3 }
			hidden_effect = {
				clr_country_flag = OTO_ruse_varna_railway_british_flag
				clr_country_flag = OTO_ruse_varna_railway_french_flag
			}
		}
	
		ai_will_do = {
			base = 1000
		}
	}

	#Invite Foreign Experts to Assist Construction
	OTO_decision_invite_foreign_experts = {

		icon = generic_operation
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_ruse_varna_railway_line
			OR = {
				has_country_flag = OTO_ruse_varna_railway_british_flag
				has_country_flag = OTO_ruse_varna_railway_french_flag
			}
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_ruse_varna_railway_line }
		}

		modifier = {
			political_power_factor = -0.05
			political_power_gain = -0.05
		}
	
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_ruse_varna_railway_line
				days = -150
			}
			hidden_effect = {
				clr_country_flag = OTO_ruse_varna_railway_british_flag
				clr_country_flag = OTO_ruse_varna_railway_french_flag
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Invest Money to Encourage Faster Construction
	OTO_decision_invest_more_money = {

		icon = money
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_ruse_varna_railway_line
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_ruse_varna_railway_line }
		}
	
		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_ruse_varna_railway_line
				days = -150
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Use the Local Labor Force for Construction
	OTO_decision_local_labor_force = {

		#icon = money
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_ruse_varna_railway_line
		}

		fire_only_once = yes
	
		cost = 0
	
		days_remove = 90
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_ruse_varna_railway_line }
		}
	
		complete_effect = {
			211 = {
				add_manpower = -1000
				add_resistance = 5
			}
		}
		
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_ruse_varna_railway_line
				days = -100
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
}

#Rhodope Islamization
OTO_decision_category_islamization = {

	#Tear down the Orthodox Churches in the Rhodopes
	OTO_decision_tear_down_orthodox_churches_rhodopes = {

		icon = orthodoxy_no
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
		}
	
		visible = {
			hidden_trigger = {
				184 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
				964 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
				1199 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			has_political_power > 39.9
			command_power > 24.99
		}
		custom_cost_text = eoanb_political_power_40_command_power_25
	
		days_remove = 180

		days_re_enable = 180
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
	
		complete_effect = {
			add_political_power = -40
			add_command_power = -25
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_decision_tear_down_orthodox_churches_rhodopes_effect_tt
			184 = {
				add_resistance = 5
				add_manpower = -400

				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
			964 = {
				add_resistance = 5
				add_manpower = -200

				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
			1199 = {
				add_resistance = 5
				add_manpower = -400

				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Raid Isolated Bulgarian Settlements
	OTO_decision_raid_bulgarian_settlements = {

		icon = oppression_bul
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
			num_divisions_in_states = {
				count > 2
				states = { 184 964 1199 }
			}
		}
	
		visible = {
			hidden_trigger = {
				184 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
				964 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
				1199 = {
					any_of = {
						array = state_religion_array_num
						value = religion_check_v
						index = i
						
						check_variable = { religion_check_v < 0.6 }
						check_variable = { state_religion_array^i = global.sunni }
					}
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}
	
		custom_cost_trigger = {
			command_power > 49.99
		}
		custom_cost_text = eoanb_command_power_50
	
		days_remove = 90

		days_re_enable = 180
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
	
		complete_effect = {
			add_command_power = -50
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_decision_raid_bulgarian_settlements_effect_tt
			184 = {
				add_resistance = 10
				add_manpower = -800

				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_culture = yes

				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
			964 = {
				add_resistance = 10
				add_manpower = -400

				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_culture = yes
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
			1199 = {
				add_resistance = 10
				add_manpower = -800

				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_culture = yes
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.05
				}
				pops_decrease_religion = yes
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Establish New Municipal Boundaries
	OTO_decision_establish_new_municipal_boundaries = {

		icon = administration
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
		}
	
		visible = {
			#
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			has_political_power > 39.9
			command_power > 24.99
		}
		custom_cost_text = eoanb_political_power_40_command_power_25
	
		days_remove = 180
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
	
		complete_effect = {
			add_political_power = -40
			add_command_power = -25
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_decision_establish_new_municipal_boundaries_effect_tt
			184 = {
				add_compliance = 5

				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes

				set_temp_variable = {
					type_temp = global.sunni
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_increase_religion = yes
			}
			964 = {
				add_compliance = 5
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes

				set_temp_variable = {
					type_temp = global.sunni
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_increase_religion = yes
			}
			1199 = {
				add_compliance = 5
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes

				set_temp_variable = {
					type_temp = global.sunni
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_increase_religion = yes
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Collect Additional Taxes from Bulgarians
	OTO_decision_collect_additional_taxes_from_bulgarians = {

		icon = money
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
			num_divisions_in_states = {
				count > 1
				states = { 184 964 1199 }
			}
		}
	
		visible = {
			#
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			has_political_power > 39.9
			command_power > 24.99
		}
		custom_cost_text = eoanb_political_power_40_command_power_25
	
		days_remove = 90
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
	
		complete_effect = {
			add_political_power = -40
			add_command_power = -25
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_decision_collect_additional_taxes_from_bulgarians_effect_tt
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
			184 = {
				add_resistance = 5

				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_culture = yes
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes
			}
			964 = {
				add_resistance = 5
				
				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_culture = yes
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes
			}
			1199 = {
				add_resistance = 5
				
				set_temp_variable = {
					type_temp = global.bulgarian
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_culture = yes
				
				set_temp_variable = {
					type_temp = global.orthodoxy
				}
				set_temp_variable = {
					percentage_temp = 0.01
				}
				pops_decrease_religion = yes
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Contact Michał Czajkowski
	OTO_decision_contact_michal_czajkowski = {

		icon = islam
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
		}
	
		visible = {
			NOT = { has_war_with = POL }
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}

		fire_only_once = yes
	
		cost = 50
	
		days_remove = 90
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
		
		remove_effect = {
			hidden_effect = {
				set_country_flag = OTO_character_mehmet_sadyk_pasha_ready_flag
			}
			if = {
				limit = {
					amount_taken_ideas = {
						amount < 6
						slots = {
							political_advisor
						}
					}
				}
				activate_advisor = OTO_advisor_mehmet_sadyk_pasha
			}
			else = {
				custom_effect_tooltip = OTO_decision_contact_michal_czajkowski_effect_tt
				add_stability = 0.03
			}
			184 = {
				add_compliance = 5
			}
			964 = {
				add_compliance = 5
			}
			1199 = {
				add_compliance = 5
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Establish New Municipal Boundaries
	OTO_decision_build_tobacco_plantations_in_southern_bulgaria = {

		icon = administration
	
		#allowed = { tag = OTO }
	
		available = {
			has_full_control_of_state = 184
			has_full_control_of_state = 964
			has_full_control_of_state = 1199
		}
	
		visible = {
			#
		}

		highlight_states = {
			highlight_state_targets = {
				state = 184
				state = 964
				state = 1199
			}
		}

		fire_only_once = yes
	
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		days_remove = 180
	
		cancel_trigger = {
			NOT = { has_full_control_of_state = 184 }
			NOT = { has_full_control_of_state = 964 }
			NOT = { has_full_control_of_state = 1199 }
		}
	
		complete_effect = {
			add_political_power = -40
			add_command_power = -25
		}
		
		remove_effect = {
			184 = {
				add_building_construction = {
					type = farm
					level = 1
				}
			}
			964 = {
				add_building_construction = {
					type = farm
					level = 1
				}
			}
			1199 = {
				add_building_construction = {
					type = farm
					level = 1
				}
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
}

#Cretan Revolt of 1858
OTO_category_crete_revolt = {

	OTO_send_pologeorgakis = {
		allowed = {
            always = no
        }
		available = {
			always = no
		}

        icon = generic_political_actions  
        fire_only_once = yes
		days_mission_timeout = 20
		selectable_mission = no

        timeout_effect = {
			hidden_effect = {
				country_event = {
					id = OTO_events.39
				}
				activate_mission = OTO_dispatch_Ali_Pasumacis_Djakymis_Hionias
			}

			add_political_power = -10
            182 = {
				add_resistance = 10
			}
			1242 = {
				add_resistance = 10
			}
        }
	}

	OTO_dispatch_Ali_Pasumacis_Djakymis_Hionias = {

		allowed = {
            always = no
        }

		available = {
			always = no
		}

        icon = generic_political_actions  
		fire_only_once = yes
		days_mission_timeout = 20
		selectable_mission = no

        timeout_effect = {
			hidden_effect = {
				country_event = {
					id = OTO_events.37
					days = 3
				}
				country_event = {
					id = OTO_events.39
				}
			}

			add_political_power = -15
			182 = {
				add_resistance = 10
			}
			1242 = {
				add_resistance = 10
			}
        }
	}

	OTO_ensure_Greek_arms_rights = {

		#allowed = {
		#	tag = OTO
		#}

		visible = {
			has_country_flag = OTO_provide_greek_rights
		}

		available = {
			hidden_trigger = {
				has_country_flag = OTO_provide_greek_rights
			}
		}

		icon = generic_political_actions  
		fire_only_once = yes
		cost = 50

		complete_effect = {
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = OTO_cretan_revolt_veli_pasha
					}
					country_event = {
						id = OTO_events.38
						days = 2
					}
				}
				else = {
					set_country_flag = OTO_cretan_revolt_arms_rights
				}
			}
			182 = {
				add_resistance = -5
				add_compliance = 5
			}
			1242 = {
				add_resistance = -5
				add_compliance = 5
			}
        }
	}

	OTO_recall_Veli_Eddin_Pasha = {

		#allowed = {
		#	tag = OTO
		#}

		visible = {
			has_country_flag = OTO_provide_greek_rights
		}

		available = {
			hidden_trigger = {
				has_country_flag = OTO_provide_greek_rights
			}
		}
		
		icon = generic_political_actions  
		fire_only_once = yes
		cost = 50

        complete_effect = {
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = OTO_cretan_revolt_arms_rights
					}
					country_event = {
						id = OTO_events.38
						days = 2
					}
				}
				else = {
					set_country_flag = OTO_cretan_revolt_veli_pasha
				}
			}
			182 = {
				add_resistance = -5
				add_compliance = 5
			}
			1242 = {
				add_resistance = -5
				add_compliance = 5
			}
		}
	}
}

#eoanb_category_politics_foreign = {
	#OTO_treaty_of_san_stefano = {
	#	icon = generic_political_actions
	#
	#	available = {
	#		always = no
	#	}
	#
	#	activation = {
	#		has_country_flag = OTO_treaty_san_stefano
	#		NOT={has_global_flag = OTO_berlin_congress}
	#	}
	#
	#	selectable_mission = no
	#	days_mission_timeout = 30
	#	is_good = no
	#	fire_only_once = yes
	#
	#	cancel_trigger = {
	#		has_global_flag = OTO_berlin_congress
	#	}
	#
	#	remove_effect = {
	#
	#	}
	#
	#	complete_effect = {
	#
	#	}
	#
	#	timeout_effect = {
	#		country_event = { id = OTO_russio_turkish_war.15}
	#	}
	#}
	
	#OTO_cretan_war = {
	#	icon = generic_political_actions
	#
	#	available = {
	#		always = no
	#	}
	#
	#	activation = {
	#		has_global_flag = cretan_revolution_ongoing_flag
	#	}
	#
	#	selectable_mission = no
	#	days_mission_timeout = 720
	#	is_good = no
	#	fire_only_once = yes
	#
	#	cancel_trigger = {
	#		CET = {exists = no}
	#	}
	#
	#	remove_effect = {
	#
	#	}
	#
	#	complete_effect = {
	#
	#	}
	#
	#	timeout_effect = {
	#		add_stability = -0.05
	#		white_peace = CET
	#		CET={
	#			transfer_state = 1242
	#		}
	#		CET ={country_event = { id = GREcrete.6}}
	#	}
	#}
#}

eoanb_category_diplomatic_actions={
	OTO_grant_romanian_union={
		available = {  
			tag = OTO
			MOL={
				has_autonomy_state = autonomy_personal_union
				is_subject_of = ROM
			}
		}
		allowed = { 
			TAG = OTO
		}
		visible={ 
			tag = OTO
			MOL={has_autonomy_state = autonomy_personal_union}
			NOT={
				ROM={
					has_country_flag = ROM_union_allowed
				}
			}
			ROM = {
				has_completed_focus = ROM_move_away_from_Ottomans
			}
		}
        fire_only_once = yes
        complete_effect = {
			ROM={
				set_country_flag = ROM_union_allowed
				country_event = {id = wallachian_union.28 days = 1}
			}
		}
		ai_will_do = {
			factor = 250
			modifier = {#not before historical date
				factor = 0
				AND = {
					date > 1861.12.23
					is_historical_focus_on = yes
				}
			}
		}
	
	}
	OTO_embargo_timer = {
		
		icon = generic
		
		allowed = {
			tag = OTO
		}
		cancel_trigger = {
			ROM = {
				has_country_flag = ROM_union_allowed
			}
		}
		
		activation = {
			always = no
		}

		available = {
			always = no
		}

		is_good = no
		
		days_mission_timeout = 300
		
		timeout_effect = {
			ROM = {
				country_event = {id = wallachian_union.29 days = 1}
				#set_country_flag = ROM_union_rejected
			}
			if = {
				limit = {check_variable = {Union_cuza_approved = 6}}
				add_political_power = -400
				add_stability = -0.2
			}
			else_if = {
				limit = {check_variable = {Union_cuza_approved = 5}}
				add_political_power = -300
				add_stability = -0.15
			}
			else_if = {
				limit = {check_variable = {Union_cuza_approved = 4}}
				add_political_power = -200
				add_stability = -0.1
			}
			else_if = {
				limit = {check_variable = {Union_cuza_approved = 3}}
				add_political_power = -100
				add_stability = -0.05
			}
			else = {
				add_stability = -0.05
			}
		}
		complete_effect = {

		}
	}
}

OTO_first_consitutional_era={


	#Decision to Reign in Montenegro
	OTO_prorogue_parlement = {
		icon = generic_political_actions
		available = {
			NOT={has_country_flag = OTO_parlement_prorogued}
		}

		ai_will_do = {
			factor = 0
			modifier={
				add=10
				has_completed_focus = OTO_mac_rights_of_the_people
			}
			modifier={
				add=100
				has_war_with = RUS
			}
		}

		complete_effect = {
			set_country_flag = OTO_parlement_prorogued
			add_stability = -0.1
		}
	}
}

#Enforce the Islahat Fermani decision category
OTO_decision_category_islahat_fermani = {

	#Improvements in the Education System
	OTO_mission_improve_education_system = {

		allowed = {
			always = no
		}
		activation = {
			always = no
		}
		available = {
			always = no
		}

		cancel_trigger = {

		}

		icon = education

		is_good = yes

		days_mission_timeout = 730

		selectable_mission = no

		complete_effect = {

		}

		timeout_effect = {
			swap_ideas = {
				remove_idea = privileged_education 
				add_idea = open_schools 
			}
		}
	}

	#Use Administrative Resources
	OTO_decision_use_administrative_resoruces = {

		icon = administration
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_improve_education_system
			NOT = {
				has_idea = open_schools
			}
		}

		fire_only_once = yes
	
		cost = 50
	
		days_remove = 30
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_improve_education_system }
		}
	
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_improve_education_system
				days = -200
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Remove Bureaucratic Barriers
	OTO_decision_remove_bureaucratic_barriers = {

		icon = justice
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_improve_education_system
			NOT = {
				has_idea = open_schools
			}
		}

		fire_only_once = yes
	
		cost = 0
	
		days_remove = 30

		modifier = {
			political_power_gain = -0.5
			political_power_factor = -0.25
		}
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_improve_education_system }
		}
	
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_improve_education_system
				days = -200
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Allocate Additional Funding
	OTO_decision_allocate_additional_funding = {

		icon = money
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_active_mission = OTO_mission_improve_education_system
			NOT = {
				has_idea = open_schools
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 30
	
		cancel_trigger = {
			NOT = { has_active_mission = OTO_mission_improve_education_system }
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_days_mission_timeout = {
				mission = OTO_mission_improve_education_system
				days = -200
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
}

#Ottoman Military Reforms
OTO_decision_category_military_reforms = {

	#Expand Arms Production
	OTO_decision_expand_arms_production_constantinople = {

		icon = generic_factory
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_stepping_up_production
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			957 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Construct New Arms Factory in Konya
	OTO_decision_konya_arms_factory = {

		icon = generic_factory
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_open_new_factory_konya
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			346 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_2
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_2
					add_idea = OTO_idea_non_existing_arms_industry_3
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_3
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_3
					add_idea = OTO_idea_non_existing_arms_industry_4
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_4
				}
				remove_ideas = OTO_idea_non_existing_arms_industry_4
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Construct New Arms Factory in Adalia
	OTO_decision_adalia_arms_factory = {

		icon = generic_factory
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_continue_industrialisation_in_ege
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			342 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_2
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_2
					add_idea = OTO_idea_non_existing_arms_industry_3
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_3
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_3
					add_idea = OTO_idea_non_existing_arms_industry_4
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_4
				}
				remove_ideas = OTO_idea_non_existing_arms_industry_4
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Construct New Arms Factory in Smyrna
	OTO_decision_smyrna_arms_factory = {

		icon = generic_factory
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_continue_industrialisation_in_ege
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			339 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_2
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_2
					add_idea = OTO_idea_non_existing_arms_industry_3
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_3
				}
				swap_ideas = {
					remove_idea = OTO_idea_non_existing_arms_industry_3
					add_idea = OTO_idea_non_existing_arms_industry_4
				}
			}
			else_if = {
				limit = {
					has_idea = OTO_idea_non_existing_arms_industry_4
				}
				remove_ideas = OTO_idea_non_existing_arms_industry_4
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Construct Artillery Foundry in Bursa
	OTO_decision_bursa_artillery_foundry = {

		icon = artillery
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_producing_our_own
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			340 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			remove_ideas = OTO_idea_non_existing_artillery_industry
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Import British Rifles
	OTO_decision_import_british_rifles = {

		icon = generic_industry
	
		#allowed = { tag = OTO }
	
		available = {
			NOT = { has_war_with = ENG }
		}
	
		visible = {
			has_completed_focus = OTO_focus_british_rifles
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 60

		days_re_enable = 365

		modifier = {
			political_power_gain = -0.05
		}
	
		cancel_trigger = {
			has_war_with = ENG				
		}

		complete_effect = {
			ENG = {
				add_opinion_modifier = {
					target = OTO
					modifier = ENG_ottoman_infantry_arms_deal
				}
			}
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
				producer = ENG
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Import French Rifles
	OTO_decision_import_french_rifles = {

		icon = generic_industry
	
		#allowed = { tag = OTO }
	
		available = {
			NOT = { has_war_with = FRA }
		}
	
		visible = {
			has_completed_focus = OTO_focus_french_rifles
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 60

		days_re_enable = 365

		modifier = {
			political_power_gain = -0.05
		}
	
		cancel_trigger = {
			has_war_with = FRA				
		}

		complete_effect = {
			FRA = {
				add_opinion_modifier = {
					target = OTO
					modifier = fra_ottoman_infantry_arms_deal
				}
			}
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
				producer = FRA
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Import American Rifles
	OTO_decision_import_american_rifles = {

		icon = generic_industry
	
		#allowed = { tag = OTO }
	
		available = {
			NOT = { has_war_with = USA }
		}
	
		visible = {
			has_completed_focus = OTO_focus_american_rifles
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120

		days_re_enable = 365

		modifier = {
			political_power_gain = -0.05
		}
	
		cancel_trigger = {
			has_war_with = USA				
		}

		complete_effect = {
			USA = {
				add_opinion_modifier = {
					target = OTO
					modifier = usa_ottoman_infantry_arms_deal
				}
			}
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
				producer = USA
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Import German Artillery
	OTO_decision_import_german_artillery = {

		icon = artillery
	
		#allowed = { tag = OTO }
	
		available = {
			NOT = { has_war_with = PRS }
		}
	
		visible = {
			has_completed_focus = OTO_focus_krupp_guns
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 60

		days_re_enable = 365

		modifier = {
			political_power_gain = -0.05
		}
	
		cancel_trigger = {
			has_war_with = PRS				
		}

		complete_effect = {
			PRS = {
				add_opinion_modifier = {
					target = OTO
					modifier = PRS_OTTOMAN_ARMS_DEAL
				}
			}
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 60
				producer = PRS
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}

	#Import American Artillery
	OTO_decision_import_american_artillery = {

		icon = artillery
	
		#allowed = { tag = OTO }
	
		available = {
			NOT = { has_war_with = USA }
		}
	
		visible = {
			has_completed_focus = OTO_focus_american_field_guns
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 120

		days_re_enable = 365

		modifier = {
			political_power_gain = -0.05
		}
	
		cancel_trigger = {
			has_war_with = USA				
		}

		complete_effect = {
			USA = {
				add_opinion_modifier = {
					target = OTO
					modifier = usa_ottoman_infantry_arms_deal
				}
			}
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 60
				producer = USA
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
	
	#Expand Constantinopole Shipyards
	OTO_decision_expand_shipyards_constantinople = {

		icon = generic_factory
	
		#allowed = { tag = OTO }
	
		available = {
			
		}
	
		visible = {
			has_completed_focus = OTO_focus_militarise_sirket_hayriye
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 400

		complete_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
	
		remove_effect = {
			957 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	
		ai_will_do = {
			base = 200
		}
	}
}

OTO_decision_category_Herzegovinian_uprising = {

	OTO_conquer_back_Podgorica = {

		icon = generic_political_discourse

		available = {
			NOT = {has_full_control_of_state = 225}
            has_border_war = no
			MNT = { has_full_control_of_state = 225 }
		}

		visible = {
			HRZ = { has_war_with = OTO }
			MNT = { has_idea = MNT_WAR }
		}

		fire_only_once = no
		cost = 10
        days_remove = 15
         
        modifier = {
        army_attack_factor = -0.25   
        }        
       
	  complete_effect = {
		start_border_war = {
			change_state_after_war = no
				attacker = {
					state = 44
					num_provinces = 1
					on_win = montenegro.125
					on_lose = montenegro.126
					on_cancel = montenegro.127
		}	
					defender = {
					state = 225
					num_provinces = 1
					on_win = montenegro.128
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
			}
		}
		
       remove_effect = {
		
        }
       
		ai_will_do = {
			base = 1000
		}
	}
	
	
	OTO_conquer_back_Montenegro_Sandjak = {

		icon = generic_political_discourse

		available = {
			NOT = { has_full_control_of_state = 1202 }
			MNT = {
				has_full_control_of_state = 1202
			}
			has_border_war = no
		}

		visible = {
		MNT = { has_idea = MNT_WAR }
        HRZ = { has_war_with = OTO }		
		}

		fire_only_once = no
		cost = 10
        days_remove = 15
         
        modifier = {
        army_attack_factor = -0.25   
        }  
		
        complete_effect = {
			start_border_war = {
				change_state_after_war = no
				attacker = {
					state = 44
					num_provinces = 1
					on_win = montenegro.124
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
							
				defender = {
					state = 1202
					num_provinces = 1
					on_win = montenegro.128
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
			}	
		}
		
        remove_effect = {

        }
       
		ai_will_do = {
			base = 1000
		}
	}
	
	
	OTO_conquer_back_Outer_montenegro = {

		icon = generic_political_discourse

		available = {
			NOT = { has_full_control_of_state = 1204 }
			MNT = { has_full_control_of_state = 1204 }
			has_full_control_of_state = 225
			has_border_war = no
		}

		visible = {
		MNT = { has_idea = MNT_WAR }
        HRZ = { has_war_with = OTO }	
		}

		fire_only_once = no
		cost = 10
        days_remove = 15
         
        modifier = {
        army_attack_factor = -0.25   
        } 
		
		complete_effect = {
			start_border_war = {
				change_state_after_war = no
				attacker = {
					state = 225
					num_provinces = 1
					on_win = montenegro.123
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
							
				defender = {
					state = 1204
					num_provinces = 1
					on_win = montenegro.128
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
			}	
		}
		
        remove_effect = {

        }
       
		ai_will_do = {
			base = 1000
		}
	}
		OTO_conquer_cetinje = {

		icon = generic_political_discourse

		available = {
			NOT = { has_full_control_of_state = 942 }
			MNT = { has_full_control_of_state = 942 }
			OTO = { has_full_control_of_state = 1204 }
			OTO = { has_full_control_of_state = 1202 }
			OTO = { has_full_control_of_state = 225 }
			has_border_war = no
		}

		visible = {
		MNT = { has_idea = MNT_WAR }
        HRZ = { has_war_with = OTO }	
		}

		fire_only_once = no
		cost = 10
        days_remove = 15
         
        modifier = {  	
        army_attack_factor = -0.25   
        } 
		
		complete_effect = {
			start_border_war = {
				change_state_after_war = no
				attacker = {
					state = 225
					num_provinces = 1
					on_win = montenegro.121
					on_lose = montenegro.126
					on_cancel = montenegro.127
				}
							
				defender = {
					state = 942
					num_provinces = 1
					on_win = montenegro.128
					on_lose = montenegro.122
					on_cancel = montenegro.127
				}
			}	
		}
		
        remove_effect = {

        }
       
		ai_will_do = {
			base = 1000
		}
	}
}

#Lebanon Intervention
OTO_category_lebanon_intervention = {
	decision_lebanon_arm_marionites = {
		icon = generic_political_discourse
		allowed = {
			OR = {
				original_tag = FRA
				original_tag = ENG 
				original_tag = PRS
				original_tag = RUS
				original_tag = AUS
			}
		}

		visible = {
			OR = {
				original_tag = FRA
				original_tag = ENG 
				original_tag = PRS
				original_tag = RUS
				original_tag = AUS
			}

			OTO = {
				NOT = {
					has_country_flag = lebanon_ultimatum_accepted
				}
				owns_state = 553
				owns_state = 878
			}
			has_global_flag = occupation_beirut
			has_country_flag = eoanb_lebanon_intervention_flag
		}
		custom_cost_text = decision_cost_ie_2000
		custom_cost_trigger = {
			has_equipment = { infantry_equipment > 1999 }
		}

		available = { 
			OR = {
				original_tag = FRA
				original_tag = ENG 
				original_tag = PRS
				original_tag = RUS
				original_tag = AUS
			}

 			has_equipment = { infantry_equipment > 1999 }
			OTO = {
				NOT = {
					has_country_flag = lebanon_ultimatum_accepted
				}
			}
			has_global_flag = occupation_beirut
		}

		ai_will_do = {
			base = 3
			modifier = {
				add = 10
				tag = FRA
			}
		}

		highlight_states = {
			highlight_state_targets = { state = 553 }
			highlight_state_targets = { state = 878 }
		}

		complete_effect = {
			553 = {
				add_resistance = 10
				add_compliance = -10
			}

			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -2000
			}

			878 = {
				add_resistance = 10
				add_compliance = -10
			}
		}
	}

	Lebanon_Revolt_Peace_Treaty_Mission = {
		icon = generic_political_actions
		allowed = { always = no }
		activation = { always = no }

		is_good = no
		days_mission_timeout = 500

		available = {
			# Victory Condition for X_country
			AND = {
				LEB = { 
					OR = {
						has_capitulated = yes 
						exists = no
					}
				}
				IF = {
					limit = {
						PAL = {
							exists = yes
						}
					}

					PAL = { has_capitulated = yes }
				}
			}
		}


		complete_effect = {
			if = {
				limit = {
					tag = OTO
				}
				# Peace Treaty Event for X_country victory
				OTO = { 
					set_country_flag = defeat_lebanon_war
					clr_country_flag = stalemate_lebanon_war
					clr_country_flag = won_lebanon_war
					country_event = { id = OTO_events.60 } 
				}
				
			}
		}

		timeout_effect = {
			if = {
				limit = {
					LEB = {
						surrender_progress > 15
					}
				}
				# Peace Treaty for Y_country victory
				OTO = { 
					set_country_flag = stalemate_lebanon_war
					clr_country_flag = defeat_lebanon_war
					clr_country_flag = won_lebanon_war
					country_event = { id = OTO_events.60 }  
				}
			}

			if = {
				limit = {
					LEB = {
						surrender_progress < 16
					}
				}
				# Peace Treaty for Y_country victory
				OTO = { 
					set_country_flag = won_lebanon_war
					clr_country_flag = stalemate_lebanon_war
					clr_country_flag = defeat_lebanon_war
					country_event = { id = OTO_events.60 }  
				}
			}
		}
	}
}

#Economy
eoanb_category_economic = {

	#Create Agroindustries In Syria
	OTO_decision_create_agroindustries_syria= {

		icon = generic_factory

		allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_create_agroindustries_syria
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 6.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 720
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -6.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			677 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
				}
				add_building_construction = {
						type = farm
						level = 1
						instant_build = yes
				}
			}
			554 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
						type = logging_camp
						level = 1
						instant_build = yes
				}
				add_building_construction = {
						type = farm
						level = 1
						instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0008
			}
			add_unemployment_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}

	OTO_decision_develop_trip = {

		icon = generic_factory

		allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_manufactures_tunesia
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 4
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 320
		
		modifier = {
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -4 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			448 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
				}
				add_building_construction = {
						type = farm
						level = 1
						instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}

	#Ressurect Silk Industry
	OTO_decision_ressurect_silk_industry = {

		icon = generic_factory

		allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_ressurect_silk_industry
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 3.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 280
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -3.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			49 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
				}
				add_building_construction = {
						type = cotton_farm
						level = 1
						instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Ruggery Workshops
	OTO_decision_modernised_ruggery_workshops = {

		icon = generic_factory

		allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_modernised_ruggery_workshops
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 6.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 280
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -6.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			340 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = fabric_weavery
					level = 2
					instant_build = yes
				}
			}
			339 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fabric_weavery
					level = 1
					instant_build = yes
				}
			}
			modify_building_resources = { building = fabric_weavery resource = fabric amount = 1 }
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#European Stock Exchange
	OTO_decision_euro_stock_exchange = {

		icon = generic_factory

		allowed = { tag = OTO }
		
		available = {
			#
		}

		visible = {
			has_completed_focus = OTO_focus_euro_stock_exchange
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 6.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 280
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -6.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}

	OTO_develop_industry_in_central_anatolia = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_develop_mechanized_production_ca
		}

		available = {
			set_temp_variable = { loan_size_to_check = 50 }
			has_less_than_specific_loan_size = yes
		}
		
		fire_only_once = yes
		days_remove = 60
		custom_cost_trigger = {
        	set_temp_variable = { amount_of_money_to_check = 0.5 }
    	}
		custom_cost_text = eoanb_money_cost_text

		complete_effect = {
			set_temp_variable = { loans_amount = 1 }
			take_loan_effect = yes
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes

		}
		remove_effect = {
		
			346 = {
				add_extra_state_shared_building_slots = 2
				
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	OTO_invest_on_galata_institutions = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			#has_completed_focus = OTO_focus_invest_galata_institutions
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			set_temp_variable = { loans_amount = 2 }
			take_loan_effect = yes
		}
		remove_effect = {
		
			957 = {
				add_extra_state_shared_building_slots = 4
				
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	OTO_organize_guilds = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_organise_rural_guilds
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			348 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = farm
					level = 2
					instant_build = yes
				}
			}
			
			342 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = cotton_farm
					level = 1
					instant_build = yes
				}
			}
		}
	}
	OTO_consolidate_cotton_farms = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_consolidate_cotton_farms
		}
		
		fire_only_once = yes
		
		days_remove = 60
		
		complete_effect = {
			set_temp_variable = { loans_amount = 2 }
			take_loan_effect = yes
		}
		
		remove_effect = {

			356 = {
				add_extra_state_shared_building_slots = 3
				
				add_building_construction = {
					type = cotton_farm
					level = 3
					instant_build = yes
				}
			}
		}
	}
	OTO_create_agroindustries_syria = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_create_agroindustries_syria
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			set_temp_variable = { loans_amount = 2 }
			take_loan_effect = yes
		}
		
		remove_effect = {
		
			677 = {
				add_extra_state_shared_building_slots = 2
				
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			
			554 = {
				add_extra_state_shared_building_slots = 4
				
				add_building_construction = {
					type = logging_camp
					level = 2
					instant_build = yes
				}
				
				add_building_construction = {
					type = farm
					level = 2
					instant_build = yes
				}
			}
		}
	}
	OTO_fund_mining_expeditions = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_fund_mining_epeditions_anatolia	
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			set_temp_variable = { loans_amount = 2 }
			take_loan_effect = yes
		}
		
		remove_effect = {
		
			add_resource = { type = coal amount = 5 state = 354}
			add_resource = { type = iron amount = 3 state = 345}
			add_resource = { type = iron amount = 2 state = 349}
		}
	}
	OTO_invest_ironworks_south_east = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_invest_ironworks_south_east
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			set_temp_variable = { loans_amount = 2 }
			take_loan_effect = yes
		}
		
		remove_effect = {
			
			add_resource = { type = iron amount = 3 state = 350}
			add_resource = { type = iron amount = 2 state = 352}
			
			add_tech_bonus = {bonus = 0.5 uses = 1 technology = industrial_blast_furnace}
			add_tech_bonus = {bonus = 0.5 uses = 1 technology = cast_iron_industrialization}
		}
	}
	OTO_establish_naval_works_lybia = {
		allowed = {
			tag = OTO
		}
		
		visible = {
			has_completed_focus = OTO_focus_establish_naval_works_lybia
		}
		
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			set_temp_variable = { loans_amount = 1 }
			take_loan_effect = yes
		}
		
		remove_effect = {
			
			 450 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			
			449 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			449 = {
				set_building_level = {
					type = naval_base
					level = 1
					province = {
						id = 4047
					}
				}
			}
		}
	}
}
#################################
### CHURCH MECHANIC DECISIONS ###
#################################
OTO_bulgarian_church = {
	#Decisions cost guide for the mechanic: (Most of them will cost PP, but some decisions may require the player some money)
	#	- PP: Decisions that does something that the goverment is involved (for example proposing plans, imprisoning agitators, etc)
	#	- Money: Decisions that would cost money IRL (for example paving the roads, preventing the spread of newspaper, etc)

	### Debug decisions ###
	OTO_debug_decrease_moesia_seperatism = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			is_debug = yes
		}
		
		complete_effect = {
			set_temp_variable = { separatism_to_gain = -1 }
			add_vidin_separatism_with_tooltip_effect = yes
			set_temp_variable = { separatism_to_gain = -1 }
			add_vratsa_separatism_with_tooltip_effect = yes
			set_temp_variable = { separatism_to_gain = -1 }
			add_pleven_separatism_with_tooltip_effect = yes
			set_temp_variable = { separatism_to_gain = -1 }
			add_tarnovo_separatism_with_tooltip_effect = yes
			set_temp_variable = { separatism_to_gain = -1 }
			add_gabrovo_separatism_with_tooltip_effect = yes

			OTO_calculate_hellenization = yes
		}
	}

	### Macedonia Decisions ###
	OTO_improson_bulgarian_agitators_in_bitolya = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		cost = 75
		fire_only_once = yes
		
		days_remove = 90

		remove_effect = {
			106 = {
				add_resistance = 8
			}
			set_temp_variable = { separatism_to_gain = -0.05 }
			add_bitolya_separatism_with_tooltip_effect = yes
		}
	}
	OTO_bul_mac_generic_supress_local_bulgarian_population_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		cost = 80
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				106 = {
					add_resistance = 15
				}
				731 = {
					add_resistance = 15
				}
				963 = {
					add_resistance = 15
				}
				1119 = {
					add_resistance = 15
				}
			}
			custom_effect_tooltip = OTO_add_resistance_mac_TT
			if = {
				limit = {
					NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_mac_generic_force_the_bulgarians_to_use_greek_language_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		cost = 75
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				106 = {
					add_resistance = 10
				}
				731 = {
					add_resistance = 10
				}
				963 = {
					add_resistance = 10
				}
				1119 = {
					add_resistance = 10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_mac_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_mac_generic_appoint_greek_officials_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.2 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.2}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				106 = {
					add_compliance = -10
				}
				731 = {
					add_compliance = -10
				}
				963 = {
					add_compliance = -10
				}
				1119 = {
					add_compliance = -10
				}
			}
			custom_effect_tooltip = OTO_take_compliance_mac_TT
			if = {
				limit = {
					NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}	
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_mac_generic_allow_partial_independence_for_bulgarians_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		cost = 100
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				106 = {
					add_compliance = 10
				}
				731 = {
					add_compliance = 10
				}
				963 = {
					add_compliance = 10
				}
				1119 = {
					add_compliance = 10
				}
			}
			custom_effect_tooltip = OTO_add_compliance_mac_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_mac_generic_use_goverment_aparatus_to_forbid_old_slavonic_churches_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 190

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			hidden_effect = {
				106 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				731 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				963 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				1119 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
			}
			custom_effect_tooltip = OTO_add_resistance_mac_TT
			if = {
				limit = {
					NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_mac_generic_prevent_the_spread_of_bulgarian_newspaper_in_macedonia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 1199 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				106 = {
					add_resistance = 3
				}
				731 = {
					add_resistance = 3
				}
				963 = {
					add_resistance = 3
				}
				1119 = {
					add_resistance = 3
				}
			}
			custom_effect_tooltip = OTO_add_resistance_mac_TT
			if = {
				limit = {
					NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_gorna_djumaya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
		}
	} 
	

	### Dobrudja Decisions ###

	OTO_designate_tulcea_as_a_district_city = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.15 }
		}
		custom_cost_text = eoanb_money_cost_text
		fire_only_once = yes
		
		days_remove = 45

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.15}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			set_temp_variable = { separatism_to_gain = -0.1 }
			add_tulcea_separatism_with_tooltip_effect = yes
			set_victory_points = {
				province = 3076
				value = 3
			}
			hidden_effect = {
				set_province_name = { id = 3076 name = "Tulcea" }
			}
		}
	} 

	OTO_bul_dob_generic_supress_local_bulgarian_population_in_dobruja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		cost = 80
	
		days_remove = 20
		days_re_enable = 30

		
		remove_effect = {
			hidden_effect = {
				77 = {
					add_resistance = 15
				}
				1241 = {
					add_resistance = 15
				}
				748 = {
					add_resistance = 15
				}
			}
			custom_effect_tooltip = OTO_add_resistance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_dob_generic_force_the_bulgarians_to_use_greek_language_in_dobruja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		cost = 75
	
		days_remove = 20
		days_re_enable = 30

		remove_effect = {
			hidden_effect = {
				77 = {
					add_resistance = 10
				}
				1241 = {
					add_resistance = 10
				}
				748 = {
					add_resistance = 10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_dob_generic_appoint_greek_officials_in_dobrudja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.2 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.2}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				77 = {
					add_compliance = -10
				}
				1241 = {
					add_compliance = -10
				}
				748 = {
					add_compliance = -10
				}
			}
			custom_effect_tooltip = OTO_take_compliance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_dob_generic_allow_partial_independence_for_bulgarians_in_dobrudja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		cost = 50
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				77 = {
					add_compliance = 10
				}
				1241 = {
					add_compliance = 10
				}
				748 = {
					add_compliance = 10
				}
			}
			custom_effect_tooltip = OTO_add_compliance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_dob_generic_use_goverment_aparatus_to_forbid_old_slavonic_churches_in_dobrudja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 190

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}


		remove_effect = {
			hidden_effect = {
				77 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				1241 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				748 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
			}
			custom_effect_tooltip = OTO_add_resistance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_dob_generic_prevent_the_spread_of_bulgarian_newspaper_in_dobrudja = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 211 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				77 = {
					add_resistance = 3
				}
				1241 = {
					add_resistance = 3
				}
				748 = {
					add_resistance = 3
				}
			}
			custom_effect_tooltip = OTO_add_resistance_dob_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_varna_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_varna_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_silistra_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_silistra_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_dobrich_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_dobrich_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tutrakan_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_tutrakan_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kyustendja_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_kyustendja_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tulcea_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_tulcea_separatism_with_tooltip_effect = yes
			}
		}
	}

	### Moesia Decisions ###

	OTO_kidnap_iosif_sokolski = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.15 }
		}
		custom_cost_text = eoanb_money_cost_text
		fire_only_once = yes
		
		days_remove = 30

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.15}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			106 = {
				add_resistance = 8
			}
			set_temp_variable = { separatism_to_gain = -0.05 }
			add_gabrovo_separatism_with_tooltip_effect = yes
		}
	} 

	OTO_pave_the_main_street_roads_in_pleven = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.25}
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			set_temp_variable = { separatism_to_gain = -0.05 }
			add_gabrovo_separatism_with_tooltip_effect = yes
		}
	} 

	OTO_bul_moe_generic_supress_local_bulgarian_population_in_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		cost = 50
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				48 = {
					add_resistance = 15
				}
				211 = {
					add_resistance = 15
				}
			}
			custom_effect_tooltip = OTO_add_resistance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_moe_generic_force_the_bulgarians_to_use_greek_language_in_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		cost = 75
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				48 = {
					add_resistance = 10
				}
				211 = {
					add_resistance = 10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_moe_generic_appoint_greek_officials_in_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		cost = 50
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			# Don't see effects in the drafts
		}
		remove_effect = {
			hidden_effect = {
				48 = {
					add_compliance= -10
				}
				211 = {
					add_compliance = -10
				}
			}
			custom_effect_tooltip = OTO_take_compliance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_moe_generic_allow_partial_independence_for_bulgarians_in_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		cost = 100
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
						hidden_effect = {
				48 = {
					add_compliance= -10
				}
				211 = {
					add_compliance = -10
				}
			}
			custom_effect_tooltip = OTO_take_compliance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_moe_generic_use_goverment_aparatus_to_forbid_old_slavonic_churches_in_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 190

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				48 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				211 = {
					add_resistance = 10
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
			}
			custom_effect_tooltip = OTO_add_resistance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_moe_generic_prevent_the_spread_of_bulgarian_newspaper_moesia = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				48 = {
					add_resistance = 3
				}
				211 = {
					add_resistance = 3
				}
			}
			custom_effect_tooltip = OTO_add_resistance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vidin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_vidin_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_vratsa_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_vratsa_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_pleven_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_pleven_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tarnovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_tarnovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_gabrovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
		}
	}

	### Thrace Decisions ###

	OTO_bul_thr_generic_supress_local_bulgarian_population_in_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 964 }
		}

		cost = 50
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				184 = {
					add_resistance = 15
				}
				964 = {
					add_resistance = 15
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_thr_generic_force_the_bulgarians_to_use_greek_language_in_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 964 }
		}

		cost = 75
	
		days_remove = 90
		days_re_enable = 20

		remove_effect = {
			hidden_effect = {
				184 = {
					add_resistance = 10
				}
				964 = {
					add_resistance = 10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_thr_generic_appoint_greek_officials_in_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 964 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.2 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.2}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				184 = {
					add_compliance = -10
				}
				964 = {
					add_compliance = -10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_thr_generic_allow_partial_independence_for_bulgarians_in_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 964 }
		}

		cost = 50
	
		days_remove = 90
		days_re_enable = 20


		remove_effect = {
			hidden_effect = {
				184 = {
					add_compliance = 10
				}
				964 = {
					add_compliance = 10
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.07 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.07 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_thr_generic_use_goverment_aparatus_to_forbid_old_slavonic_churches_in_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 964 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 190

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				184 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
				964 = {
					add_resistance = 15
					add_resistance_target = {
    					amount = 20
    					days = 180
					}
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	} 

	OTO_bul_thr_generic_prevent_the_spread_of_bulgarian_newspaper_thrace = {
		allowed = {
			original_tag = OTO
		}

		visible = {
			check_variable = { focused_bulgarian_church_region = 48 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
	
		days_remove = 90
		days_re_enable = 20

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		remove_effect = {
			hidden_effect = {
				184 = {
					add_compliance = 3
				}
				964 = {
					add_compliance = 3
				}
			}
			custom_effect_tooltip = OTO_add_resistance_thr_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.02 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.02 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
		}
	}

	### Uniqe Decisions - With no regions ###
	OTO_appoint_greek_bulgarian_commision_to_solve_the_problems = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 25
		
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = {
					is_historical_focus_on = yes
				}
				random_list = {
					70 = {
						country_event = { id = OTO_events.249}
					}
					30 = {
						country_event = { id = OTO_events.248}
					}
				}
			}
			else = {
				random_list = {
					50 = {
						country_event = { id = OTO_events.249}
					}
					50 = {
						country_event = { id = OTO_events.248}
					}
				}
			}
		}
	}

	OTO_form_ali_pashas_birefringent_council = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_greeks_failed_tackling_the_problem
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 20
		fire_only_once = yes
		
		days_remove = 20
		
		remove_effect = {
			if = {
				limit = {
					is_historical_focus_on = yes
				}
				random_list = {
					30 = {
						country_event = { id = OTO_events.250}
					}
					70 = {
						country_event = { id = OTO_events.251}
					}
				}
			}
			else = {
				random_list = {
					50 = {
						country_event = { id = OTO_events.250}
					}
					50 = {
						country_event = { id = OTO_events.251}
					}
				}
			}
		}
	} 

	OTO_propose_a_six_point_project_for_the_church_questions = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_al_pasha_failed_tackling_the_problem
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 50
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			# Don't see effects in the drafts
		}
		remove_effect = {
			if = {
				limit = {
					is_historical_focus_on = yes
				}
				random_list = {
					80 = {
						country_event = { id = OTO_events.252}
					}
					20 = {
						country_event = { id = OTO_events.253}
					}
				}
			}
			else = {
				random_list = {
					60 = {
						country_event = { id = OTO_events.252}
					}
					40 = {
						country_event = { id = OTO_events.253}
					}
				}
			}
		}
	} 

	OTO_establish_the_bulgarian_exarchate = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		available = {
			OR = {
				check_variable = { OTO_avg_sep > 60}
				core_compliance = {
					occupied_country_tag = BUL
					value > 70
				}
			}
		}

		cost = 50
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			country_event = { id = OTO_events.245 days = 30}
		}
	} 

	OTO_visit_ruse = {
		allowed = {
			original_tag = OTO  
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 50
		fire_only_once = yes
		
		days_remove = 90
		
		complete_effect = {
			# Don't see effects in the drafts
		}
		remove_effect = {
			OTO = {
				country_event = { id = OTO_events.228 }
			}
		}
	} 

	OTO_stop_the_activities_of_konstantin_mishaikov_and_dimitar_robev = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_unlock_stop_activities
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 40
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			set_temp_variable = { separatism_to_gain = -0.05 }
			add_bitolya_separatism_with_tooltip_effect = yes
			hidden_effect = {
				106 = {
					add_compliance = -3
				}
				731 = {
					add_compliance = -3
				}
				963 = {
					add_compliance = -3
				}
				1119 = {
					add_compliance = -3
				}
			}
			custom_effect_tooltip = OTO_take_compliance_mac_TT
		}
	} 

	OTO_sweep_away_the_protestors = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_sweep_protestors_away
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 25
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			1023 = {
				add_resistance = -5
				add_compliance = -8
			}
		}
	} 

	OTO_supress_the_conflict_in_plovdiv = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_supress_the_conflict
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 25
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			1023 = {
				add_compliance = -3
			}
		}
	} 

	OTO_take_counter_measures_for_the_bulgarian_rpiests_in_gabrovo = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_supress_the_conflict
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			hidden_effect = {
				48 = {
					add_compliance = -5
				}
				211 = {
					add_compliance = -5
				}
			}
			custom_effect_tooltip = OTO_take_compliance_moe_TT
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_gabrovo_separatism_with_tooltip_effect = yes
			}
			add_stability = -0.02	
		}
	} 

	OTO_exile_ilarion_makariopolski = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_exile_ilarion_makariopolski
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_varna_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_varna_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_varna_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_dobrich_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_dobrich_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_dobrich_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_silistra_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_silistra_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_silistra_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tutrakan_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tutrakan_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tutrakan_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kyustendja_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kyustendja_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kyustendja_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tulcea_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tulcea_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tulcea_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_vidin_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_vidin_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_vidin_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_vratsa_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_vratsa_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_vratsa_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_pleven_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_pleven_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_pleven_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tarnovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tarnovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tarnovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_gabrovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_gabrovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_gabrovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_plovdiv_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_plovdiv_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_plovdiv_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_burgas_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_burgas_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_burgas_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kazanlak_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kazanlak_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kazanlak_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kavala_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kavala_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kavala_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_komotini_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_komotini_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_komotini_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_drama_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_drama_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_drama_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_odrin_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_odrin_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_odrin_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_skopie_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_skopie_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_skopie_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_bitolya_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_bitolya_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_bitolya_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_gorna_djumaya_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_gorna_djumaya_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tetovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tetovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tetovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_serres_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_serres_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_serres_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kukush_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kukush_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kukush_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_solyn_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_solyn_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_solyn_separatism_with_tooltip_effect = yes
				}
			}
			custom_effect_tooltip = OTO_decrease_separatism_everywhere
			add_stability = -0.02
			add_political_power = 50
		}
	} 

	OTO_send_rebels_to_exile_in_anatolia = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_send_rebels_to_exile_in_anatolia
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			hidden_effect = {
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_varna_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_varna_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_varna_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_varna_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_dobrich_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_dobrich_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_dobrich_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_dobrich_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_silistra_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_silistra_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_silistra_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_silistra_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tutrakan_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tutrakan_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tutrakan_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tutrakan_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kyustendja_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kyustendja_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kyustendja_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kyustendja_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tulcea_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tulcea_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tulcea_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tulcea_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_vidin_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_vidin_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_vidin_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_vidin_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_vratsa_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_vratsa_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_vratsa_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_vratsa_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_pleven_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_pleven_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_pleven_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_pleven_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tarnovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tarnovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tarnovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tarnovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_gabrovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_gabrovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_gabrovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_gabrovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_plovdiv_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_plovdiv_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_plovdiv_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_burgas_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_burgas_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_burgas_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kazanlak_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kazanlak_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kazanlak_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kavala_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kavala_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kavala_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_komotini_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_komotini_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_komotini_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_drama_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_drama_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_drama_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_odrin_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_odrin_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_odrin_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_skopie_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_skopie_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_skopie_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_skopie_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_bitolya_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_bitolya_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_bitolya_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_gorna_djumaya_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_gorna_djumaya_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_gorna_djumaya_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_tetovo_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_tetovo_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_tetovo_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_serres_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_serres_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_serres_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_kukush_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_kukush_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_kukush_separatism_with_tooltip_effect = yes
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = OTO_solyn_being_hellenized_flag
						}
					}
					set_temp_variable = { separatism_to_gain = -0.05 }
					add_solyn_separatism_with_tooltip_effect = yes
				}
				else_if = {
					limit = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
					set_temp_variable = { separatism_to_gain = 0.05 }
					add_solyn_separatism_with_tooltip_effect = yes
				}
			}
			custom_effect_tooltip = OTO_decrease_separatism_everywhere
			add_stability = -0.02
			add_political_power = 50
		}
	} 

	OTO_use_force_in_the_pirin_mountains = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_use_force_in_the_pirin_mountains
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 90
		
		remove_effect = {
			963 = {
				add_resistance = -5
				add_compliance = -10
			}
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			clr_country_flag = OTO_ch_use_force_in_the_pirin_mountains
		}
	} 

	OTO_send_a_negotiator_to_greek_macedonia = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_send_a_negotiator_to_greek_macedonia
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 30
		fire_only_once = yes
		
		days_remove = 20

		complete_effect = {
			hidden_effect = {
				set_variable = { OTO_ch_chance_success = 0 }
				set_variable = { OTO_ch_chance_fail = 0 }
				set_variable = { OTO_ch_helper_var_1 = 100 }
				set_variable = { OTO_ch_helper_var_2 = 0 }
				OTO_kukush_scripted_effect = yes
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = OTO_ch_influence_macedonia_tt
			clr_country_flag = OTO_ch_send_a_negotiator_to_greek_macedonia
			random_list = {
				OTO_ch_chance_success = {
					country_event = { id = OTO_events.234 days = 3 }
				}
				OTO_ch_chance_fail = {
					country_event = { id = OTO_events.235 days = 3 }
				}
			}
		}
	} 

	OTO_appoint_archimandrit_partenius_of_zograf = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_appoint_archimandrit_partenius_of_zograf
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		cost = 10
		fire_only_once = yes
		
		days_remove = 10
		
		remove_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_solyn_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.03 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_solyn_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.03 }
				add_solyn_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_serres_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.03 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_serres_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.03 }
				add_serres_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.03 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.03 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			clr_country_flag = OTO_ch_appoint_archimandrit_partenius_of_zograf
		}
	} 

	OTO_mission_send_in_the_army = {

		icon = hol_draw_up_staff_plans

		allowed = { always = no }
		
		available = {
			owns_state = 731
			divisions_in_state = {
				size > 0
				state = 731
			}
		}

		activation = { always = no }

		priority = 55

		highlight_states = {
			highlight_state_targets = {
				state = 731
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 60

		timeout_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.2 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.2 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			custom_effect_tooltip = OTO_add_5_Unitates_support_tt
			add_to_variable = { OTO.ch_unitates_var = 5}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kukush_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.5 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kukush_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.5 }
				add_kukush_separatism_with_tooltip_effect = yes
			}
			731 = {
				add_resistance = 20
				add_compliance = -10
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	OTO_supress_the_esnafs_in_the_region = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			has_country_flag = OTO_ch_supress_the_esnafs_in_the_region
			check_variable = { focused_bulgarian_church_region = 1 }
		}

		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.10 }
		}
		custom_cost_text = eoanb_money_cost_text
		fire_only_once = yes
		
		days_remove = 10

		complete_effect = {
			add_political_power = -10
			set_temp_variable = { money_to_gain = -0.10}
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_bitolya_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_bitolya_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_bitolya_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_tetovo_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_tetovo_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.05 }
				add_tetovo_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_skopie_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_skopie_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.05 }
				add_skopie_separatism_with_tooltip_effect = yes
			}
			clr_country_flag = OTO_ch_supress_the_esnafs_in_the_region
		}
	} 

	OTO_mission_send_the_army_to_the_plovdiv_church_gathering = {

		icon = hol_draw_up_staff_plans

		allowed = { always = no }
		
		available = {
			owns_state = 184
			divisions_in_state = {
				size > 1
				state = 184
			}
		}

		activation = { always = no }

		priority = 55

		highlight_states = {
			highlight_state_targets = {
				state = 184
			}
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 60

		timeout_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			custom_effect_tooltip = OTO_locked_plovdiv_tt
			set_variable = { OTO_plodiv_separatism = 1}
		}

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_plovdiv_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_plovdiv_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_plovdiv_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_burgas_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_burgas_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_burgas_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kazanlak_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kazanlak_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kazanlak_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_kavala_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_kavala_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_kavala_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_komotini_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_komotini_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_komotini_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_drama_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_drama_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_drama_separatism_with_tooltip_effect = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = OTO_odrin_being_hellenized_flag
					}
				}
				set_temp_variable = { separatism_to_gain = -0.1 }
				add_odrin_separatism_with_tooltip_effect = yes
			}
			else_if = {
				limit = {
					has_country_flag = OTO_odrin_being_hellenized_flag
				}
				set_temp_variable = { separatism_to_gain = 0.1 }
				add_odrin_separatism_with_tooltip_effect = yes
			}

			add_stability = -0.01
		}

		ai_will_do = {
			base = 1000
		}
	}

	OTO_ch_faq_event = {
		allowed = {
			original_tag = OTO
		}
		
		visible = {
			check_variable = { focused_bulgarian_church_region = 1 }
		}
		
		remove_effect = {
			country_event = { id = OTO_events.254}
		}
	} 
}

OTO_decision_category_vilayet_divisions = {
	OTO_decision_raise_vilayet_divisions_in_the_balkans = {
		allowed = {
			original_tag = OTO
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = OTO_owns_balkan_states
				OR = {
					104 = {
						is_owned_by = OTO
					}
					1207 = {
						is_owned_by = OTO
					}
					1272 = {
						is_owned_by = OTO
					}
					1208 = {
						is_owned_by = OTO
					}
					1205 = {
						is_owned_by = OTO
					}
					1202 = {
						is_owned_by = OTO
					}
					1204 = {
						is_owned_by = OTO
					}
					966 = {
						is_owned_by = OTO
					}
					255 = {
						is_owned_by = OTO
					}
					1201 = {
						is_owned_by = OTO
					}
					44 = {
						is_owned_by = OTO
					}
					1200 = {
						is_owned_by = OTO
					}
					185 = {
						is_owned_by = OTO
					}
					811 = {
						is_owned_by = OTO
					}
					1274 = {
						is_owned_by = OTO
					}
					731 = {
						is_owned_by = OTO
					}
					106 = {
						is_owned_by = OTO
					}
					108 = {
						is_owned_by = OTO
					}
					965 = {
						is_owned_by = OTO
					}
					1273 = {
						is_owned_by = OTO
					}
					810 = {
						is_owned_by = OTO
					}
					1199 = {
						is_owned_by = OTO
					}
					48 = {
						is_owned_by = OTO
					}
					963 = {
						is_owned_by = OTO
					}
					1023 = {
						is_owned_by = OTO
					}
					211 = {
						is_owned_by = OTO
					}
					964 = {
						is_owned_by = OTO
					}
					184 = {
						is_owned_by = OTO
					}
					77 = {
						is_owned_by = OTO
					}
					1241 = {
						is_owned_by = OTO
					}
					748 = {
						is_owned_by = OTO
					}
				}
			}
		}
		
		visible = {
			has_war = yes
			OR = {
				104 = {
					is_owned_by = OTO
				}
				1207 = {
					is_owned_by = OTO
				}
				1272 = {
					is_owned_by = OTO
				}
				1208 = {
					is_owned_by = OTO
				}
				1205 = {
					is_owned_by = OTO
				}
				1202 = {
					is_owned_by = OTO
				}
				1204 = {
					is_owned_by = OTO
				}
				966 = {
					is_owned_by = OTO
				}
				255 = {
					is_owned_by = OTO
				}
				1201 = {
					is_owned_by = OTO
				}
				44 = {
					is_owned_by = OTO
				}
				1200 = {
					is_owned_by = OTO
				}
				185 = {
					is_owned_by = OTO
				}
				811 = {
					is_owned_by = OTO
				}
				1274 = {
					is_owned_by = OTO
				}
				731 = {
					is_owned_by = OTO
				}
				106 = {
					is_owned_by = OTO
				}
				108 = {
					is_owned_by = OTO
				}
				965 = {
					is_owned_by = OTO
				}
				1273 = {
					is_owned_by = OTO
				}
				810 = {
					is_owned_by = OTO
				}
				1199 = {
					is_owned_by = OTO
				}
				48 = {
					is_owned_by = OTO
				}
				963 = {
					is_owned_by = OTO
				}
				1023 = {
					is_owned_by = OTO
				}
				211 = {
					is_owned_by = OTO
				}
				964 = {
					is_owned_by = OTO
				}
				184 = {
					is_owned_by = OTO
				}
				77 = {
					is_owned_by = OTO
				}
				1241 = {
					is_owned_by = OTO
				}
				748 = {
					is_owned_by = OTO
				}
			}
		}
		
		remove_effect = {
			random_owned_state = {
				prioritize = { 104 1207 1272 1208 1205 1202 1204 966 255 1201 44 1200 185 811 1274 731 106 108 965 1273 810 1199 48 963 1023 211 964 184 77 1241 748 }
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			random_owned_state = {
				prioritize = { 104 1207 1272 1208 1205 1202 1204 966 255 1201 44 1200 185 811 1274 731 106 108 965 1273 810 1199 48 963 1023 211 964 184 77 1241 748 }
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			random_owned_state = {
				prioritize = { 104 1207 1272 1208 1205 1202 1204 966 255 1201 44 1200 185 811 1274 731 106 108 965 1273 810 1199 48 963 1023 211 964 184 77 1241 748 }
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			random_owned_state = {
				prioritize = { 104 1207 1272 1208 1205 1202 1204 966 255 1201 44 1200 185 811 1274 731 106 108 965 1273 810 1199 48 963 1023 211 964 184 77 1241 748 }
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
		}
	} 

	OTO_decision_raise_vilayet_divisions_in_syria = {
		allowed = {
			original_tag = OTO
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = OTO_owns_syrian_states
				OR = {
					677 = {
						is_owned_by = OTO
					}
					1158 = {
						is_owned_by = OTO
					}
					680 = {
						is_owned_by = OTO
					}
					554 = {
						is_owned_by = OTO
					}
				}
			}
		}
		
		visible = {
			has_war = yes
			OR = {
				677 = {
					is_owned_by = OTO
				}
				1158 = {
					is_owned_by = OTO
				}
				680 = {
					is_owned_by = OTO
				}
				554 = {
					is_owned_by = OTO
				}
			}
		}
		
		remove_effect = {
			677 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			1158 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			680 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			554 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
		}
	} 
	OTO_decision_raise_vilayet_divisions_in_iraq = {
		allowed = {
			original_tag = OT
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = OTO_owns_iraq_states
				OR = {
					1026 = {
						is_owned_by = OTO
					}
					676 = {
						is_owned_by = OTO
					}
					240 = {
						is_owned_by = OTO
					}
					1027 = {
						is_owned_by = OTO
					}
					291 = {
						is_owned_by = OTO
					}
				}
			}
		}
		
		visible = {
			has_war = yes
			OR = {
				1026 = {
					is_owned_by = OTO
				}
				676 = {
					is_owned_by = OTO
				}
				240 = {
					is_owned_by = OTO
				}
				1027 = {
					is_owned_by = OTO
				}
				291 = {
					is_owned_by = OTO
				}
			}
		}
		
		remove_effect = {
			676 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			240 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			1027 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
			291 = {
				create_unit = {
					division = "name = \"Vilayet Division\" division_template = \"Vilayet Division\" start_experience_factor = 0.2"
					owner = OTO
				}
			}
		}
	} 
}