political_actions = {
	GRE_decision_pick_monarchist_a = { #Pick Monarchy

		visible = {
		  tag = GRE
		  NOT = { has_country_flag = GRE_pick_republican_a }
	      has_country_flag = GRE_pick_monarchy_or_republic_a
		}

		allowed = { tag = GRE }

		fire_only_once = yes

		complete_effect = {
            set_country_flag = GRE_pick_monarchist_a
			clr_country_flag = GRE_pick_monarchy_or_republic_a
		}

		ai_will_do = {
			base = 80
		}
	}

	GRE_decision_pick_republic_a = { #Pick Republic

		visible = {
		  tag = GRE
		  NOT = { has_country_flag = GRE_pick_monarchist_a }
	      has_country_flag = GRE_pick_monarchy_or_republic_a
		}

		allowed = { tag = GRE }

		fire_only_once = yes

		complete_effect = {
            set_country_flag = GRE_pick_republican_a
			clr_country_flag = GRE_pick_monarchy_or_republic_a
		}

		ai_will_do = {
			base = 20
		}
	}

}

GRE_decision_category_influence_referendum_monarchist = {

	GRE_decision_fraud_a = { #Electoral fraud

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_1 = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	GRE_decision_censorship_a = { #Electoral censorship

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_1 = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	GRE_decision_discredit_a = { #Discredit opponents

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_1 = yes
		}

		ai_will_do = {
			base = 50
		}
	}

	GRE_decision_open_ballots_a = { #Discredit opponents

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_1 = yes
		}

		ai_will_do = {
			base = 50
		}
	}
}

GRE_decision_category_influence_referendum_republican = {

	GRE_decision_fraud_b = { #Electoral fraud

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_2 = yes
		}

		ai_will_do = {
			base = 50
		}
	}

	GRE_decision_censorship_b = { #Electoral censorship

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_2 = yes
		}

		ai_will_do = {
			base = 50
		}
	}

	GRE_decision_discredit_b = { #Discredit opponents

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_2 = yes
		}

		ai_will_do = {
			base = 50
		}
	}

	GRE_decision_open_ballots_b = { #Discredit opponents

		cost = 100

		fire_only_once = yes

		complete_effect = {
           GRE_referenduma_2 = yes
		}

		ai_will_do = {
			base = 50
		}
	}
}

GRE_decision_category_cretan_revolution = {

	#The Cretan Revolution
	eoanb_mission_cretan_revolution = {
		
		icon = generic_ignite_civil_war
		
		allowed = { always = no }
		
		available = {
			if = {
				limit = {
					tag = CET
				}
				surrender_progress < 0.8
				OR = {
					controls_province = 9940
					controls_province = 12058
				}
				date > 1869.7.1
				date < 1876.1.1
			}
			if = {
				limit = {
					tag = OTO
				}
				custom_trigger_tooltip = {
					tooltip  = cretan_revolution_ottoman_trigger_tt
				}
				if = {
					limit = {
						NOT = { GRE = { has_war_with = OTO } }
					}
					controls_province = 9940
					controls_province = 12058
				}
				else_if = {
					limit = {
						GRE = { has_war_with = OTO }
					}
					CET = {
						surrender_progress > 0.8
					}
					GRE = {
						surrender_progress > 0.3
					}
				}
			}
		}
		
		activation = { always = no }
		
		priority = 75
		
		is_good = no
		
		days_mission_timeout = 1095
		
		complete_effect = {
			if = {
				limit = {
					tag = CET
				}
				white_peace = OTO
				country_event = { id = GREcrete.11 days = 1 }
			}
			if = {
				limit = {
					tag = OTO
				}
				hidden_effect = {
					remove_mission = eoanb_mission_cretan_revolution
					CET = { remove_mission = eoanb_mission_cretan_revolution }
				}
				annex_country = {
					target = CET
				}
				country_event = { id = GREcrete.13 days = 1 }
				if = {
					limit = {
						GRE = { has_war_with = OTO }
					}
					white_peace = GRE
				}
			}
			clr_global_flag = cretan_revolution_ongoing_flag
		}
		
		timeout_effect = {
			if = {
				limit = {
					tag = OTO
				}
				white_peace = CET
				set_autonomy = {
					target = CET
					autonomous_state = autonomy_khedive
					freedom_level = 0.5
				}
				remove_mission = eoanb_mission_cretan_revolution
				CET = { remove_mission = eoanb_mission_cretan_revolution }
			}
		}
	}
	
	#Help the Cretan Rebels
	GRE_decision_help_the_cretan_rebels = {

		icon = generic_nationalism

		allowed = { tag = GRE }

		available = {
			has_war = no
			has_manpower > 999
		}

		visible = {
			has_global_flag = cretan_revolution_ongoing_flag
			CET = {
				has_war_with = OTO
				exists = yes
			}
		}

		fire_only_once = yes

		cost = 25

		days_remove = 7

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		remove_effect = {
			#CET = { country_event = { id = greek_events.3 } }
			add_manpower = -1000
			unlock_decision_category_tooltip = GRE_decision_category_cretan_revolution
			hidden_effect = {
				set_country_flag = cretan_revolution_greek_help_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Send Military Officers to Crete
	GRE_decision_help_the_cretan_rebels_1 = {

		icon = generic_military

		allowed = { tag = GRE }

		available = {
			has_war = no
			has_manpower > 249
			has_equipment = {
				infantry_equipment > 249
			}
			has_equipment = {
				uniform_equipment > 249
			}
			has_army_experience > 10
		}
		
		visible = {
			has_country_flag = cretan_revolution_greek_help_flag
			has_global_flag = cretan_revolution_ongoing_flag
			CET = {
				has_war_with = OTO
				exists = yes
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50

		days_remove = 21

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		complete_effect = {
			add_political_power = -20
			add_command_power = -50
		}

		remove_effect = {
			CET = { country_event = { id = GREcrete.4 } }
			add_manpower = -250
			send_equipment = {
				equipment = infantry_equipment
				amount = 250
				target = CET
			}
			send_equipment = {
				equipment = uniform_equipment
				amount = 250
				target = CET
			}
			army_experience = -10
			custom_effect_tooltip = cretan_revolution_help_crete_effect_tt
			hidden_effect = {
				if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_2_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
				}
				else_if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_1_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
				}
				else = {
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Send Military Equipment to Crete
	GRE_decision_help_the_cretan_rebels_2 = {

		icon = generic_industry

		allowed = { tag = GRE }

		available = {
			has_war = no
			has_equipment = {
				infantry_equipment > 499
			}
			has_equipment = {
				uniform_equipment > 499
			}
			has_equipment = {
				cannon_equipment > 23
			}
		}
		
		visible = {
			has_country_flag = cretan_revolution_greek_help_flag
			has_global_flag = cretan_revolution_ongoing_flag
			CET = {
				has_war_with = OTO
				exists = yes
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50

		days_remove = 21

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		complete_effect = {
			add_political_power = -20
			add_command_power = -50
		}

		remove_effect = {
			CET = { country_event = { id = GREcrete.5 } }
			send_equipment = {
				equipment = infantry_equipment
				amount = 500
				target = CET
			}
			send_equipment = {
				equipment = uniform_equipment
				amount = 500
				target = CET
			}
			send_equipment = {
				equipment = cannon_equipment
				amount = 24
				target = CET
			}
			custom_effect_tooltip = cretan_revolution_help_crete_effect_tt
			hidden_effect = {
				if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_2_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
				}
				else_if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_1_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
				}
				else = {
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Send a Volunteer Unit to Crete
	GRE_decision_help_the_cretan_rebels_3 = {

		icon = generic_reorganize_irregulars

		allowed = { tag = GRE }

		available = {
			has_war = no
			has_manpower > 999
			has_equipment = {
				infantry_equipment > 199
			}
			has_equipment = {
				uniform_equipment > 199
			}
		}
		
		visible = {
			has_country_flag = cretan_revolution_greek_help_flag
			has_global_flag = cretan_revolution_ongoing_flag
			CET = {
				has_war_with = OTO
				exists = yes
				OR = {
					controls_province = 9940
					controls_province = 12058
				}
			}
			date > 1866.10.1
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_20_command_power_50

		days_remove = 60

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		complete_effect = {
			add_political_power = -20
			add_command_power = -50
		}

		remove_effect = {
			CET = { country_event = { id = GREcrete.6 } }
			add_manpower = -1000
			custom_effect_tooltip = cretan_revolution_help_crete_effect_tt
			hidden_effect = {
				if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_2_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_2_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_3_REL }
				}
				else_if = {
					limit = {
						has_opinion_modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					remove_opinion_modifier = {
						target = OTO
						modifier = GRE_CRETAN_HELP_OTO_1_REL
					}
					OTO = {
						remove_opinion_modifier = {
							target = GRE
							modifier = GRE_CRETAN_HELP_OTO_1_REL
						}
					}
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_2_REL }
				}
				else = {
					add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
					reverse_add_opinion_modifier = { target = OTO modifier = GRE_CRETAN_HELP_OTO_1_REL }
				}
			}
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	#Prepare an Intervention
	GRE_decision_help_the_cretan_rebels_4 = {

		icon = generic_ignite_civil_war
		
		allowed = { tag = GRE }

		available = {
			has_war = no
			has_war_support > 0.65
		}
		
		visible = {
			has_country_flag = cretan_revolution_greek_intervention_flag
			has_global_flag = cretan_revolution_ongoing_flag
			CET = {
				has_war_with = OTO
				exists = yes
			}
		}

		fire_only_once = yes

		cost = 150

		days_remove = 90

		war_with_on_remove = OTO

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		remove_effect = {
			CET = { country_event = { id = GREcrete.9 } }
			create_faction_from_template = faction_template_greek_allies
			add_to_faction = CET
			add_to_war = {
				targeted_alliance = CET
				enemy = OTO
			}
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	#Violate Greek Sovereignty
	OTO_decision_violate_greek_sovereignty = {

		icon = generic_ignite_civil_war
		
		allowed = { tag = OTO }

		available = {
			has_war_support > 0.5
			has_opinion_modifier = GRE_CRETAN_HELP_OTO_3_REL
		}
		
		visible = {
			has_global_flag = cretan_revolution_ongoing_flag
			has_war_with = CET
			#GRE = {
			#	has_country_flag = GRE_Crete_Support_Yes
			#}
			#has_country_flag = OTO_Crete_Greece_Support_Yes
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 99.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_100_command_power_50

		days_remove = 30

		war_with_on_remove = GRE

		cancel_trigger = {
			NOT = { has_war_with = CET }
		}

		complete_effect = {
			add_political_power = -100
			add_command_power = -50
		}

		remove_effect = {
			if = {
				limit = {
					owns_state = 811
				}
				start_border_war = {
					change_state_after_war = no
					attacker = {
						state = 811
						num_provinces = 4
						on_win = greece.70
						on_lose = greece.71
						on_cancel = greece.72
					}
					defender = {
						state = 47
						num_provinces = 3
						on_win = greece.71
						on_lose = greece.73
						on_cancel = greece.72
					}
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	#Request British Mediation
	GRE_decision_request_british_mediation = {

		allowed = { always = no }
		
		available = {
			has_war_support > 0.5
			has_opinion_modifier = GRE_CRETAN_HELP_OTO_3_REL
		}

		visible = { always = no }
		
		#visible = {
		#	has_global_flag = cretan_revolution_ongoing_flag
		#	has_war_with = CET
		#	OR = {
		#		has_country_flag = GRE_flag_George_I
		#		has_country_flag = GRE_flag_Alfred_I
		#	}
		#	#has_country_flag = GRE_Crete_Support_Yes
		#	NOT = { has_country_flag = cretan_revolution_seek_austrian_mediation_flag }
		#}

		fire_only_once = yes
		
		cost = 50

		days_remove = 7

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = cretan_revolution_seek_british_mediation_flag
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_eng_help_crete_1
			hidden_effect = {
				ENG = { country_event = { id = greece.63 } }
			}
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 10
				has_opinion = {
					target = ENG
					value > 99
				}
			}
			modifier = {
				factor = 0
				has_opinion = {
					target = ENG
					value < 0
				}
			}
		}
	}

	#Request Austrian Mediation
	GRE_decision_request_austrian_mediation = {

		allowed = { always = no }

		available = {
			has_war_support > 0.5
			has_opinion_modifier = GRE_CRETAN_HELP_OTO_3_REL
		}
		
		visible = { always = no }

		#visible = {
		#	has_global_flag = cretan_revolution_ongoing_flag
		#	has_war_with = CET
		#	OR = {
		#		has_country_flag = GRE_flag_Luitpold_I
		#		has_country_flag = GRE_flag_Otto_I
		#	}
		#	#has_country_flag = GRE_Crete_Support_Yes
		#	NOT = { has_country_flag = cretan_revolution_seek_british_mediation_flag }
		#}

		fire_only_once = yes
		
		cost = 50

		days_remove = 7

		cancel_trigger = {
			CET = {
				OR = {
					NOT = { has_war_with = OTO }
					exists = no
				}
			}
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = cretan_revolution_seek_austrian_mediation_flag
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_aus_help_crete_1
			hidden_effect = {
				AUS = { country_event = { id = greece.63 } }
			}
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 10
				has_opinion = {
					target = AUS
					value > 99
				}
			}
			modifier = {
				factor = 0
				has_opinion = {
					target = AUS
					value < 0
				}
			}
		}
	}
}

GRE_decision_category_industry = {

	GRE_Athens_Patras_railway = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_acquire_train_technologies
		}

		days_remove = 365
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			build_railway = {
				level = 1
				path = {
					4109
					3988
					7211
				}
				start_state = 1251
				target_state = 186
			}
		}

		cancel_trigger = {
			NOT = { owns_state = 1251 } 
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_purchase_western_agricultural_equipment = {

        icon = GFX_decision_hol_draw_up_staff_plans

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 2
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_agrarian_nation
		}

		days_remove = 80
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2
			}
		}
		custom_cost_text = eoanb_money_cost_text
		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_tech_bonus = {
				bonus = 0.20
				uses = 2
				category = biochemistry_tech
			}
			186 = { add_dynamic_modifier = { modifier = dynmod_GRE_increased_agricultural_production } }
			1251 = { add_dynamic_modifier = { modifier = dynmod_GRE_increased_agricultural_production } }
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_extend_Patras_railway_to_Kalamata = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_railway_connection = {
				start_province = 4109
				target_province = 7211
			}
		}

		visible = {
			has_completed_focus = GRE_acquire_train_technologies
		}

		days_remove = 365
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

        remove_effect = {
			build_railway = {
				level = 1
				path = {
					7211
					4193
					1173
					11965
				}
				start_state = 186
				target_state = 186
			}
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}

		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}

		cancel_trigger = {
			NOT = { owns_state = 1251 } 
		}

		ai_will_do = {
			base = 1000
		}
	}	

	GRE_Central_Greece_railway = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_acquire_train_technologies
		}

		days_remove = 365

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

        remove_effect = {
			build_railway = {
				level = 1
				path = {
					4109
					3988
					1109
					976
				}
				start_state = 1251
				target_state = 47
			}
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}

		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}

		cancel_trigger = {
			
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_mission_help_greeks_asia_minor = { 

		icon = generic_construction

		allowed = {
			always = no
		}

		available = {
			owns_state = 1251
			custom_trigger_tooltip = {
				tooltip = GRE_mission_asia_minor_tt
				hidden_trigger = {
					AND = {
						has_country_flag = GRE_funded_education
						has_country_flag = GRE_envoy_to_asia_minor
						has_country_flag = GRE_food_to_asia_minor
					}
				}
			}
		}

		activation = {
			always = no
		}
		

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 730

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}
		
		complete_effect = {
			add_stability = 0.02
			add_offsite_building = { type = industrial_complex level = 1 }
		}

		ai_will_do = {
			base = 100
		}

		cancel_trigger = {
			
		}
	}

	GRE_decision_fund_greek_education_in_smyrna = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_greeks_asia_minor
		}

		days_remove = 365

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

		modifier = {
			political_power_gain = -0.05
		}


		complete_effect = {
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			add_stability = 0.05
			set_country_flag = GRE_funded_education
		}

		
		cancel_trigger = {
			
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_decision_send_envoy_to_asia_minor = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_greeks_asia_minor
		}

		days_remove = 365

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

		modifier = {
			political_power_gain = -0.05
		}


		complete_effect = {
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
			add_political_power = -30
		}

		remove_effect = {
			add_war_support = 0.03
			set_country_flag = GRE_envoy_to_asia_minor
		}

		
		cancel_trigger = {
			
		}

		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_provide_food_to_asia_minor = {

        icon = railway

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_greeks_asia_minor
		}

		days_remove = 365

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

		modifier = {
			civilian_factory_use = 1
		}


		complete_effect = {
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			set_country_flag = GRE_food_to_asia_minor
		}

		
		cancel_trigger = {
			
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	GRE_mission_piraeus_port = { 

		icon = generic_construction

		allowed = {
			always = no
		}

		available = {
			owns_state = 1251
			custom_trigger_tooltip = {
				tooltip = GRE_mission_piraeus_port_tt
				hidden_trigger = {
					1251 = {
						dockyard > 0
					}
					1251 = {
						any_province_building_level = {
							province = {
								id = 4109 # Piraeus
							}
							building = naval_base
							level > 2
						}
					}
				}
			}
		}

		activation = {
			always = no
		}
		
		highlight_states = {
			state = 1251
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1800

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}
		
		complete_effect = {
			add_stability = 0.02
			1251 = { add_extra_state_shared_building_slots = 1 }
			set_temp_variable = {
				unemployment_value = -0.001
			}
			add_unemployment_effect = yes
			add_doctrine_cost_reduction = { cost_reduction = 0.75 uses = 1 category = naval_doctrine }
		}

		ai_will_do = {
			base = 100
		}

		cancel_trigger = {
			
		}
	}
	
	#Syros Shipyard
	GRE_mission_syros_shipyard = { 

		icon = generic_construction

		allowed = {
			always = no
		}

		available = {
			owns_state = 47
			custom_trigger_tooltip = {
				tooltip = GRE_mission_syros_shipyard_tt
				hidden_trigger = {
					47 = {
						dockyard > 0
					}
					47 = {
						any_province_building_level = {
							province = {
								id = 3401 # Cyclades
							}
							building = naval_base
							level > 0
						}
					}
				}
			}
		}

		activation = {
			always = no
		}
		
		highlight_states = {
			state = 47
		}

		fire_only_once = yes
		
		is_good = no

		days_mission_timeout = 1800

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}
		
		complete_effect = {
			add_stability = 0.02
			set_temp_variable = {
				unemployment_value = -0.001
			}
			add_unemployment_effect = yes
			47 = { add_extra_state_shared_building_slots = 1 }
			add_doctrine_cost_reduction = { cost_reduction = 0.75 uses = 1 category = naval_doctrine }
		}

		ai_will_do = {
			base = 100
		}

		cancel_trigger = {
			
		}
	}

	GRE_decision_make_room_for_docks = {

		icon = generic_construction

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag } #Added clue for the player
		}

		visible = {
			has_full_control_of_state = 1251
			OR = {
				has_active_mission = GRE_mission_piraeus_port
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 60
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}
		
		remove_effect = {
			1251 = { add_extra_state_shared_building_slots = 1 } 
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag #added clear flag command so the player can pick more decisions later
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Basileiades
	GRE_decision_basileiades = {

		icon = generic_factory

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 4.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_full_control_of_state = 1251
			OR = {
				has_completed_focus = GRE_encourage_the_growth_of_basileiades
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 4.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365
		
		modifier = {
			consumer_goods_expected_value = 0.15
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -4.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}
		
		remove_effect = {
			1251 = { add_extra_state_shared_building_slots = 1 }
			1251 = {
				if = {
					limit = {
						steel_mill > 0
					}
					add_building_construction = {
						type = 	machine_parts_factory
						level = 1
						instant_build = yes
					}
				}
				else = {
					add_building_construction = {
						type = 	steel_mill
						level = 1
						instant_build = yes
					}
				}
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Ermoupoli Ironworks
	GRE_decision_ironworks_in_ermoupoli = {

		icon = generic_factory

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 4.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_full_control_of_state = 47
			has_completed_focus = GRE_ironworks_in_ermoupoli
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 4.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 365
		
		modifier = {
			consumer_goods_expected_value = 0.15
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -4.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}
		
		remove_effect = {
			47 = { add_extra_state_shared_building_slots = 1 }
			47 = {
				if = {
					limit = {
						steel_mill > 0
					}
					add_building_construction = {
						type = 	machine_parts_factory
						level = 1
						instant_build = yes
					}
				}
				else = {
					add_building_construction = {
						type = 	steel_mill
						level = 1
						instant_build = yes
					}
				}
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Greek Textile Industry
	GRE_decision_greek_textile_industry = {

		icon = generic_factory
		
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = GRE_encourage_textile_industry
			has_full_control_of_state = 186
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 280
		
		modifier = {
			
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}
		
		remove_effect = {
			add_resource = {
				type = fabric
				amount = 6
				state = 186
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Fix Brewery
	GRE_decision_fix_brewery = {

		icon = generic_factory
		
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			GRE_karl_johann_fix = {
				is_character_slot = political_advisor
			}
			has_full_control_of_state = 186
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		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 = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}
		
		remove_effect = {
			add_offsite_building = { type = industrial_complex level = 1 }
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Enact Free Enterprise
	GRE_decision_enact_free_enterprise = {

		icon = eng_trade_unions_support
		
		available = {
			has_balance_in_positive = yes
		}

		visible = {
			has_completed_focus = GRE_balance_import_and_export
			NOT = {
				OR = {
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
					has_government = anarchism
					has_government = chauvinist_populism
				}
			}
		}

		fire_only_once = yes

		cost = 50
		
		days_remove = 60
		
		remove_effect = {
			add_ideas = GRE_idea_free_enterprise
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}

	#Pursue Mercantalism Policy
	GRE_decision_pursue_mercantilism_policy = {

		icon = eng_trade_unions_support
		
		available = {
			has_balance_in_positive = yes
		}

		visible = {
			has_completed_focus = GRE_focus_on_export
			NOT = {
				OR = {
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
					has_government = anarchism
					has_government = chauvinist_populism
				}
			}
		}

		fire_only_once = yes

		cost = 50
		
		days_remove = 80
		
		remove_effect = {
			add_ideas = GRE_idea_mercantilism
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Foreign Investments
	GRE_decision_invite_foreign_investors = {

		icon = eng_trade_unions_support
		
		available = {
			has_balance_in_positive = yes
			NOT = { has_country_flag = eoanb_financial_investment_ongoing_flag }
		}

		visible = {
			has_completed_focus = GRE_attract_foreign_investors
			has_full_control_of_state = 1251
			NOT = {
				OR = {
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
					has_government = anarchism
					has_government = chauvinist_populism
				}
			}
		}

		fire_only_once = yes

		cost = 150
		
		days_remove = 60
		
		complete_effect = {
			custom_effect_tooltip = eoanb_financial_investment_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_financial_investment_ongoing_flag 
			}
		}
		
		remove_effect = {
			add_ideas = FIN_idea_foreign_investors
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
			hidden_effect = {
				clr_country_flag = eoanb_financial_investment_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	#Greek Stock Exchange
	GRE_decision_found_greek_stock_exchange = {

		icon = money
		
		available = {
			has_balance_in_positive = yes
			NOT = { has_country_flag = eoanb_financial_investment_ongoing_flag }
		}
		
		visible = {
			has_completed_focus = GRE_establish_the_greek_stock_market
			has_full_control_of_state = 1251
			NOT = {
				OR = {
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
					has_government = anarchism
					has_government = chauvinist_populism
				}
			}
		}

		fire_only_once = yes

		cost = 75
		
		days_remove = 180
		
		modifier = {
			
		}
		
		complete_effect = {
			custom_effect_tooltip = eoanb_financial_investment_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_financial_investment_ongoing_flag 
			}
		}
		
		remove_effect = {
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
			swap_ideas = { remove_idea = research_spending_level_1 add_idea = research_spending_level_2 }
			hidden_effect = {
				clr_country_flag = eoanb_financial_investment_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
	
	GRE_decision_industrial_credit_bank = {

		icon = money

		available = {
			has_balance_in_positive = yes
			NOT = { has_country_flag = eoanb_financial_investment_ongoing_flag }
		}

		visible = {
			has_completed_focus = GRE_industrial_credit_bank
		}

		fire_only_once = yes

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

		modifier = {
		}
		priority = 1

		days_remove = 75

		complete_effect = {
			custom_effect_tooltip = eoanb_financial_investment_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_financial_investment_ongoing_flag 
			}
		}

		remove_effect = {
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = economics_tech
				category = humanities_tech
			}
			hidden_effect = {
				clr_country_flag = eoanb_financial_investment_ongoing_flag
			}
		}

		ai_will_do = {
			base = 100
		}
	}
	
	#King's Decree Lavrion Mines
	GRE_decision_expand_resource_output = {

		icon = coal
		
		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_tech = machine_tools_1
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 1251
		}

		visible = {
			has_completed_focus = GRE_expand_the_laurion_mines
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		days_remove = 180
		
		modifier = {
			consumer_goods_expected_value = 0.02
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_ideas = GRE_laurion_mines
			set_country_flag = GRE_founded_the_Lavrion_mines
			add_resource = {
				type = coal
				amount = 2
				state = 1251
			}
			add_resource = {
				type = iron
				amount = 2
				state = 1251
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Hilarion Roux et Cie
	GRE_decision_hilarion_roux_et_cie = {
		icon = money
		
		available = {
			NOT = {
				has_idea = bankruptcy
			}
			#date > 1864.1.1
		}

		visible = {
			has_character = GRE_Joan_Seripieri
			has_completed_focus = GRE_expand_the_laurion_mines
		}

		fire_only_once = yes

		cost = 0
		
		complete_effect = {
			set_global_flag = GRE_hilarion_roux_et_cie_flag
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
			NOT = {
				has_idea = bankruptcy
			}
		}
	}
	
	#Tax Lavrion Mines
	GRE_decision_tax_laurion_mines = {
		icon = money
		
		available = {
			NOT = {
				has_idea = bankruptcy
			}
			custom_trigger_tooltip = {
				tooltip = GRE_decision_tax_laurion_mines_trigger_tt
			}
		}

		visible = {
			has_idea = GRE_laurion_mines
		}

		fire_only_once = yes
		
		days_remove = 60

		cost = 70
		
		complete_effect = {
			set_temp_variable = { money_to_gain = 1000 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				country_event = {
					id = greece.607
    				days = 210
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
			NOT = {
				has_idea = bankruptcy
			}
		}
	}

	### Lavrion Mines - mining technologies
	GRE_the_Lavrion_mines = {

		icon = coal

        available = {
			NOT = {
				has_idea = bankruptcy
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 1251
		}
		
		visible = {
			has_country_flag = GRE_founded_the_Lavrion_mines
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		modifier = {
			political_power_gain = -0.01
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = mechanical_engineering_tech
				category = economics_tech
			}
		}

		cancel_trigger = {
			NOT = {
				has_idea = bankruptcy
			}
		}
	}

	### Lavrion Mines - more resources
	GRE_decision_Lavrion_mines_tin_extractions = {
		icon = iron

        available = {
			NOT = {
				has_idea = bankruptcy
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 1251
		}
		
		visible = {
			has_country_flag = GRE_founded_the_Lavrion_mines
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180

		modifier = {
			political_power_gain = -0.01
			consumer_goods_expected_value = 0.025
			production_speed_buildings_factor = 0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_resource = {
				type = coal
				amount = 1
				state = 1251
			}
			add_resource = {
				type = iron
				amount = 2
				state = 1251
			}
		}

		cancel_trigger = {
			NOT = {
				has_idea = bankruptcy
			}
		}
	}

	#Nationalise the off-grade ores
	GRE_decision_nationalise_the_off_grade_ores = {
		icon = money
		
		available = {
		}

		visible = {
			has_country_flag = GRE_post_lavreotika_affair
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2000
			}
		}
		
		complete_effect = {
			FRA = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_NATIONALISE_THE_OFF_GRADE_ORES
				}
			}
			set_temp_variable = { money_to_gain = 2000 }
			add_money_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
			NOT = {
				has_idea = bankruptcy
			}
		}
	}

	#Position 2 Divisions to the Laurion Mines
	GRE_decision_position_divisions_laurion_mines = {

		available = {
			divisions_in_state = {
				state = 1251	
				size > 2
			}
		}

		activation = {
			tag = GRE
			has_country_flag = GRE_post_lavreotika_affair
		}

		days_mission_timeout = 70
		is_good = no

		complete_effect = {
			if = {
				limit = {
					NOT = {
						has_tech = interchange_parts
					}
				}
				add_tech_bonus = {
					bonus = 0.15
					uses = 1
					technology = interchange_parts
				}
			}
			else_if = {
				limit = {
					has_tech = interchange_parts
				}
				add_tech_bonus = {
					bonus = 0.15
					uses = 1
					technology = machine_tools_1
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_SECURED_LAURION_MINES
				}
			}
			set_temp_variable = { money_to_gain = 1000 }
			add_money_with_tooltip_effect = yes
			set_country_flag = GRE_laurion_mines_secured
		}

		timeout_effect = {
			give_resource_rights = { receiver = FRA state = 1251 }
			EOANBSYS_institutions_innovative_add_two = yes
		}
	}

	#Position 2 Divisions to the Laurion Mines (AI VERSION)
	GRE_decision_position_divisions_laurion_mines_ai = {

		available = {
			has_equipment = {
				infantry_equipment > 1000
			}
			has_manpower > 50000
		}

		activation = {
			tag = GRE
			has_country_flag = GRE_post_lavreotika_affair
			is_ai = yes
		}

		days_mission_timeout = 70
    	selectable_mission = yes
		is_good = no

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -1000
			}
			add_manpower = -50000
			if = {
				limit = {
					NOT = {
						has_tech = interchange_parts
					}
				}
				add_tech_bonus = {
					bonus = 0.15
					uses = 1
					technology = interchange_parts
				}
			}
			else_if = {
				limit = {
					has_tech = interchange_parts
				}
				add_tech_bonus = {
					bonus = 0.15
					uses = 1
					technology = machine_tools_1
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_SECURED_LAURION_MINES
				}
			}
			set_temp_variable = { money_to_gain = 1000 }
			add_money_with_tooltip_effect = yes
			set_country_flag = GRE_laurion_mines_secured
		}

		timeout_effect = {
			give_resource_rights = { receiver = FRA state = 1251 }
			EOANBSYS_institutions_innovative_add_two = yes
		}
	}

	#Send Deligation to Italy and France
	GRE_decision_send_french_italian_deligation = {
		icon = money
		
		available = {
		}

		visible = {
			has_country_flag = GRE_laurion_mines_secured
		}

		fire_only_once = yes

		cost = 25
		
		complete_effect = {
			ITA = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_SENT_DELIGATION
				}
			}
			add_opinion_modifier = {
				target = ITA
				modifier = GRE_SENT_DELIGATION
			}
			FRA = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_SENT_DELIGATION
				}
			}
			add_opinion_modifier = {
				target = FRA
				modifier = GRE_SENT_DELIGATION
			}
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	#Send King George to seek Russian Support
	GRE_decision_send_king_george_for_russian_support = {
		icon = money

		available = {
		}

		visible = {
			has_country_flag = GRE_laurion_mines_secured
		}

		fire_only_once = yes

		cost = 25
		
		complete_effect = {
			RUS = {
				add_opinion_modifier = {
					target = GRE
					modifier = GRE_SENT_DELIGATION
				}
			}
			add_opinion_modifier = {
				target = RUS
				modifier = GRE_SENT_DELIGATION
			}
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	#The Lavrion Metallurgical Company
	GRE_decision_the_lavrion_metallurgical_company = {
		icon = money
		
		allowed = { tag = GRE }
		
		available = {
		}

		visible = {
			has_country_flag = GRE_the_laurion_mines_exploited_by_France
		}

		fire_only_once = yes

		cost = 50
		
		complete_effect = {
			set_country_flag = GRE_laurion_mines_company
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	#Sell the conglomerat to the constantinopole banker Andreas Singros
	GRE_decision_sell_the_conglomerat_to_the_constantinopole_banker_andreas_singros = {
		icon = money

		available = {
		}

		visible = {
			has_country_flag = gre_another_approach
		}

		fire_only_once = yes

		cost = 50
		
		complete_effect = {
			set_temp_variable = { money_to_gain = 1000 }
			set_country_flag = GRE_the_laurion_mines_exploited_by_France
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	#Mines of Kamariza (French Decision)
	GRE_decision_mines_of_kamariza = {
		icon = money
		
		allowed = { tag = FRA }
		
		available = {
		}

		visible = {
			has_country_flag = GRE_the_laurion_mines_exploited_by_France
		}

		fire_only_once = no

		days_remove = 120
		cost = 10
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -2000 }
			set_country_flag = FRA_Compagnie_francaise_des_mines_du_Laurion
		}

		remove_effect = {
			add_resource = {
				type = iron
				amount = 1
				state = 814
			}
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	#Compagnie française des mines du Laurion (French Decision)
	GRE_decision_compagnie_francaise_des_mines_du_laurion = {
		icon = money
		
		allowed = { tag = FRA }
		
		available = {
		}

		visible = {
			has_country_flag = FRA_Compagnie_francaise_des_mines_du_Laurion
		}

		fire_only_once = yes

		cost = 25
		
		complete_effect = {
			give_resource_rights = { receiver = FRA state = 1251 }

			FRA = {
				country_event = {
					id = greece.619
					days = 7
				}
			}
			GRE = {
				country_event = {
					id = greece.619
					days = 7
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
		
		cancel_trigger = {
		}
	}

	### French mission
	GRE_decision_contest_Lavrion_Mines = {

		allowed = {
			tag = FRA
		}

		available = {
			ships_in_area = { area = 202 size > 10 }
		}

		days_mission_timeout = 40
    	selectable_mission = yes

		complete_effect = {
			add_political_power = -25
			set_country_flag = FRA_contest_Lavrion_mines
			hidden_effect = {
				GRE = {
					country_event = {
						id = greece.610
						days = 5
					}
				}
			}
		}

		timeout_effect = {
			custom_effect_tooltip = GRE_FRA_backdown_from_Lavrion_mines_tt
			hidden_effect = {
				GRE = {
					country_event = {
						id = greece.609
						days = 3
					}
				}
			}
		}
	}
	
	GRE_decision_greek_cotton_central_greece = { 

        icon = generic_construction

		available = {
			has_completed_focus = GRE_cotton_plantations
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}
		
		visible = {
			has_completed_focus = GRE_land_reform
		}

		fire_only_once = yes
		is_good = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		days_remove = 120

		modifier = {
		    
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}

		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
            47 = {
				add_resource = {
					type = cotton 
					amount = 6
				}
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
    }

	GRE_decision_greek_cotton_peloponnese = { 

        icon = generic_construction

		available = {
			has_completed_focus = GRE_cotton_plantations
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
		}

		visible = {
			has_completed_focus = GRE_land_reform
		}

		fire_only_once = yes
		is_good = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		days_remove = 120

		modifier = {
		    consumer_goods_expected_value = 0.02
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = { 
				set_country_flag = eoanb_industry_development_ongoing_flag 
			}
		}

		remove_effect = {
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
			186 = {
				add_resource = {
					type = cotton 
					amount = 6
				}
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
    }

	# Acquire Train Equipment
	GRE_decision_acquire_trains = {

		icon = railway

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			OR = {
				has_tech = basic_train
				has_tech = train_1855
				has_tech = train_1865
			}
		}

		visible = {
			has_completed_focus = GRE_acquire_train_technologies
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		cancel_trigger = {
			
		}
		
		complete_effect = {
			
		}
		
		remove_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = GRE_acquire_train_equipment_tt
			GRE_acquire_train_equipment = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_develop_thessaly = {

        icon = generic_construction

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 811
			controls_state = 185
		}

		visible = {
			has_completed_focus = GRE_thessaly_ours
		}
		
		days_remove = 220
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		modifier = {
			consumer_goods_expected_value = 0.05
			production_speed_rail_way_factor = -0.05
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1.25 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			811 = { 
				add_extra_state_shared_building_slots = 1 
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			185 = { 
				add_extra_state_shared_building_slots = 1 
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				} 
			}
		}

		cancel_trigger = {
			NOT = { owns_state = 1251 } 
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_decision_build_evia_bridge = {

        icon = generic_construction


        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 47
		}

		visible = {
			has_completed_focus = GRE_enlarge_public_works
		}
		
		days_remove = 60
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			47 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				} 
			}
		}


		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_dredge_athenian_ports = {

        icon = generic_construction

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			controls_state = 1251
		}

		visible = {
			has_completed_focus = GRE_enlarge_public_works
		}
		
		days_remove = 365
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			1251 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				} 
			}
			swap_ideas = {
				remove_idea = GRE_idea_Sea_Trade
				add_idea = GRE_idea_Sea_Trade_2
			}
		}


		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_telegrap_connection_with_OTO = {

        icon = generic_construction

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.6
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_enlarge_public_works
		}
		
		days_remove = 30
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.6
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.6 }
			add_money_with_tooltip_effect = yes
			add_opinion_modifier = { target = OTO modifier = improved_relations_light }
			reverse_add_opinion_modifier = { target = OTO modifier = improved_relations_light }
		}
		
		remove_effect = {
			add_tech_bonus = {
				bonus = 0.3 uses = 1 category = electronics_devices_tech
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_electrify_athens = {

        icon = generic_construction

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_enlarge_public_works
		}
		
		days_remove = 60
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_tech_bonus = {
				bonus = 0.5 uses = 1 category = process_engineering_tech
			}
			EOANBSYS_institutions_mechanization_add_two = yes
		}

		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_develop_olympias_artistic_department = {

        icon = generic_construction

        available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.03
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_enlarge_public_works
		}
		
		days_remove = 30
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.03
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.03 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_to_variable = { GRE_agriculture_rsf = 0.03 tooltip = research_speed_factor_tooltip  }
			EOANBSYS_institutions_nationalism_add_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}
}

GRE_decision_category_debt_management = {

	GRE_looming_debt = {
		icon = money
		priority = 10

		allowed = {
			tag = GRE
		}

		activation = {
			set_temp_variable = { loan_size_to_check = 100 }
			has_specific_loan_size = yes
			NOT = { has_country_flag = GRE_yearly_debt_repayment }
		}

		available = {
			has_idea = bankruptcy
			NOT = { has_country_flag = GRE_yearly_debt_repayment }
		}

		days_mission_timeout = 120

		timeout_effect = {
			hidden_effect = { activate_mission = GRE_looming_debt }
			GRE_debt_effect = yes
		}
	}

	GRE_enact_executive_order_reduce_military_budget = {
		icon = money
		cost = 30

		allowed = {
			tag = GRE
		}

		visible = {
			has_active_mission = GRE_looming_debt
		}

		available = {
			NOT = { has_idea = army_spending_level_1 }
		}

		complete_effect = {
			custom_effect_tooltip = GRE_stability_drop_tt
			set_country_flag = {
				flag = GRE_yearly_debt_repayment
				days = 1095
				value = 1
			}
			decrease_slider_army = yes
			remove_mission = GRE_looming_debt
		}
	}

	GRE_enact_executive_order_reduce_healthcare_budget = {
		icon = money
		cost = 30

		allowed = {
			tag = GRE
		}

		visible = {
			has_active_mission = GRE_looming_debt
		}

		available = {
			NOT = { has_idea = social_spending_level_1 }
		}

		complete_effect = {
			custom_effect_tooltip = GRE_stability_drop_tt
			set_country_flag = {
				flag = GRE_yearly_debt_repayment
				days = 1095
				value = 1
			}
			decrease_slider_social_spending = yes
			remove_mission = GRE_looming_debt
		}
	}

	GRE_tax_greek_marine_merchants = {
		icon = money
		cost = 100
		days_remove = 730

		allowed = {
			tag = GRE
		}

		visible = {
			set_temp_variable = { loan_size_to_check = 30 }
			has_less_than_specific_loan_size = no
			NOT = { has_idea = GRE_idea_tax_greek_marine_merchants }
			hidden_trigger = {
				OR = {
					has_idea = GRE_idea_merchant_marine
					has_idea = GRE_idea_merchant_marine1
					has_idea = GRE_idea_merchant_marine2
				}
			}
		}

		available = {
			NOT = { has_idea = GRE_idea_tax_greek_marine_merchants }
		}

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

		complete_effect = {
			add_timed_idea = {
				idea = GRE_idea_tax_greek_marine_merchants
				days = 730
			}
		}

		remove_effect = {
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
		}
	}

	GRE_decision_control_the_national_debt = {
		icon = money
		cost = 35
		days_remove = 50

		allowed = {
			tag = GRE
		}

		available = {
			has_idea = GRE_idea_national_debt
			NOT = {
				OR = {
					has_idea = GRE_idea_control_debt_1
					has_idea = GRE_idea_control_debt_2
					has_idea = GRE_idea_control_debt_3
				}
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_control_debts
			add_ideas = GRE_idea_control_debt_1
		}
	}

	GRE_decision_clamp_down_on_corruption = {
		icon = money
		cost = 35
		days_remove = 50

		allowed = {
			tag = GRE
		}

		available = {
			OR = {
				has_idea = GRE_idea_control_debt_1
				has_idea = GRE_idea_control_debt_2
				has_idea = GRE_idea_control_debt_3
			}
		}

		complete_effect = {
			decrease_ps_by_one = yes
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_cut_administration
			GRE_combat_debt_control = yes
			set_temp_variable = { inflation_to_gain = -0.1 }
			add_inflation_with_tooltip_effect = yes
		}
	}

	GRE_decision_reduce_the_civil_administration = {
		icon = money
		cost = 35
		days_remove = 50

		allowed = {
			tag = GRE
		}

		available = {
			OR = {
				has_idea = GRE_idea_control_debt_1
				has_idea = GRE_idea_control_debt_2
				has_idea = GRE_idea_control_debt_3
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_cut_administration
			GRE_combat_debt_control = yes
		}
	}

	GRE_decision_fiscal_responsability = {
		icon = money
		cost = 50
		days_remove = 730

		allowed = {
			tag = GRE
		}

		available = {
			OR = {
				has_idea = GRE_idea_control_debt_1
				has_idea = GRE_idea_control_debt_2
				has_idea = GRE_idea_control_debt_3
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_cut_administration
			GRE_combat_debt_control = yes
		}
	}

	GRE_decision_repay_the_1831_loan = {
		icon = money
		cost = 50
		days_remove = 730

		allowed = {
			tag = GRE
		}

		available = {
			OR = {
				has_idea = GRE_idea_control_debt_1
				has_idea = GRE_idea_control_debt_2
				has_idea = GRE_idea_control_debt_3
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_tt_cut_administration
			GRE_combat_debt_control = yes
			remove_ideas = GRE_idea_national_debt
		}
	}

	GRE_mission_russian_investment = {
		icon = generic_construction
		fire_only_once = yes
		is_good = yes
		days_mission_timeout = 200

		allowed = {
			always = no  # Activated via effect
		}

		available = {
			has_completed_focus = GRE_anti_ottoman_staging_ground
		}

		cancel_trigger = {
			NOT = { country_exists = RUS }
		}

		complete_effect = {
			add_offsite_building = { type = arms_factory level = 1 }
		}

		ai_will_do = {
			base = 100
		}
	}
}


GRE_decision_category_army = {

	#Finalize Army Reform
	GRE_decision_finalize_army_reform = {

		icon = placeholder

		available = {
			if = { #Partisan
				limit = {
					has_completed_focus = GRE_partisan_doctrine
				}
				has_country_flag = GRE_army_reform_local_armies_flag
				has_country_flag = GRE_army_reform_partisan_networks_flag
				has_country_flag = GRE_army_reform_decentralized_staff_flag
			}
			if = { #Hoplite
				limit = {
					has_completed_focus = GRE_hoplite_traditions
				}
				has_country_flag = GRE_army_reform_officer_training_flag
				has_country_flag = GRE_army_reform_infantry_discipline_flag
				has_country_flag = GRE_army_reform_modernize_staff_flag
				has_country_flag = GRE_army_reform_mountain_training_flag
				has_country_flag = GRE_army_reform_train_mountaineers_flag
				has_country_flag = GRE_army_reform_new_cavalry_flag
			}
			if = { #Marine
				limit = {
					has_completed_focus = GRE_marine_corps
				}
				has_country_flag = GRE_army_reform_officer_sent_gbr_flag
				has_country_flag = GRE_army_reform_interservice_coop_flag
				has_country_flag = GRE_army_reform_marine_training_flag
				has_country_flag = GRE_army_reform_train_marines_flag
			}
		}

		visible = {
			OR = {
				has_completed_focus = GRE_partisan_doctrine
				has_completed_focus = GRE_hoplite_traditions
				has_completed_focus = GRE_marine_corps
			}
		}

		fire_only_once = yes

		days_remove = 300

		cost = 50 #placeholder

		complete_effect = {
			remove_ideas = GRE_idea_outdated_army
			
			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			if = { #Partisan
				limit = {
					has_completed_focus = GRE_partisan_doctrine
				}

				custom_effect_tooltip = GRE_army_reform_completed_tt

				add_ideas = GRE_idea_partisan_army

				hidden_effect = {
					clr_country_flag = GRE_army_reform_local_armies_flag
					clr_country_flag = GRE_army_reform_partisan_networks_flag
					clr_country_flag = GRE_army_reform_decentralized_staff_flag
					remove_ideas = {
						GRE_idea_decentrlised_staff
						GRE_idea_guerilla_experts
						GRE_idea_partisan_doctrine
					}
				}
			}

			if = { #Hoplite
				limit = {
					has_completed_focus = GRE_hoplite_traditions
				}

				custom_effect_tooltip = GRE_army_reform_completed_tt

				add_ideas = GRE_idea_westernised_army

				hidden_effect = {
					clr_country_flag = GRE_army_reform_officer_training_flag
					clr_country_flag = GRE_army_reform_infantry_discipline_flag
					clr_country_flag = GRE_army_reform_modernize_staff_flag
					clr_country_flag = GRE_army_reform_mountain_training_flag
					clr_country_flag = GRE_army_reform_train_mountaineers_flag
					clr_country_flag = GRE_army_reform_new_cavalry_flag
					remove_ideas = {
						GRE_idea_spartan_layout
						GRE_idea_hoplite_traditions
						GRE_idea_improved_oficier_training
						GRE_idea_improved_infantry_discilpline
						GRE_idea_improved_planning_staff
						GRE_idea_mountain_training
					}
				}
			}

			if = { #Marine
				limit = {
					has_completed_focus = GRE_marine_corps
				}

				custom_effect_tooltip = GRE_army_reform_completed_tt

				add_ideas = GRE_idea_maritime_army

				hidden_effect = {
					clr_country_flag = GRE_army_reform_officer_sent_gbr_flag
					clr_country_flag = GRE_army_reform_interservice_coop_flag
					clr_country_flag = GRE_army_reform_marine_training_flag
					clr_country_flag = GRE_army_reform_train_marines_flag
					remove_ideas = {
						GRE_idea_naval_operations_coordination
						GRE_idea_marine_training
					}
				}
			}

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	###Partisan Doctrine Decisions

	#Create Local Armies
	GRE_decision_create_local_armies = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_local_armies
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			has_equipment = {
				uniform_equipment > 99
			}
			has_equipment = {
				infantry_equipment > 99
			}
		}

		visible = {
			has_completed_focus = GRE_partisan_doctrine
		}

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}

		custom_cost_text = eoanb_political_power_10_command_power_75

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = -100
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -100
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			1251 = {
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 1"
					owner = GRE
				}
			}

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_local_armies_flag
			}
		}
	}

	#Expand Partisan Networks
	GRE_decision_expand_partisan_networks = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_guerilla_experts
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_partisan_doctrine
		}

		fire_only_once = yes

		days_remove = 300

		cost = 50 

		complete_effect = {
			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_guerilla_experts
			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_partisan_networks_flag
			}
		}
	}

	#Decentralize Military Staff
	GRE_decision_decentralize_military_staff = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_decetralized_staff
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_partisan_doctrine
		}

		custom_cost_trigger = {
			command_power > 49.9
		}

		custom_cost_text = eoanb_command_power_50

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_command_power = -50

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_decentrlised_staff
			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_decentralized_staff_flag
			}
		}
	}

	### Hoplite Army Decisions

	#Improve Officer Training 
	GRE_decision_improve_officer_training = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_new_era_hellenic_army
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			command_power > 99.9
			has_army_experience > 24.9
		}

		custom_cost_text = eoanb_money_and_command_power_100_and_army_experience_25

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			add_command_power = -100
			army_experience = -25

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_improved_oficier_training

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_officer_training_flag
			}
		}
	}

	#Improve Infantry Discipline
	GRE_decision_improve_infantry_discipline = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_infanty_disciplinized_management
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			command_power > 99.9
			has_army_experience > 24.9
		}

		custom_cost_text = eoanb_money_and_command_power_100_and_army_experience_25

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			add_command_power = -100
			army_experience = -25

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_improved_infantry_discilpline

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_infantry_discipline_flag
			}
		}
	}

	#Modernize Military Staff
	GRE_decision_modernize_military_staff = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_new_era_hellenic_army
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}

		custom_cost_text = eoanb_political_power_20_command_power_50

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_political_power = -20
			add_command_power = -50

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_improved_planning_staff

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_modernize_staff_flag
			}
		}
	}

	#Organize Mountain Training
	GRE_decision_organize_mountain_training = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_outdated_mountain_warfare
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}

		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50

		days_remove = 300

		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_mountain_training
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = mountaineers_tech
			}
			
			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_mountain_training_flag
			}
		}
	}

	#Train Mountaineer Forces
	GRE_decision_train_mountaineers = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_outdated_mountain_warfare
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			has_equipment = {
				uniform_equipment > 299
			}
			has_equipment = {
				infantry_equipment > 299
			}
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}

		custom_cost_text = eoanb_political_power_10_command_power_75

		days_remove = 300

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = -300
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -300
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			division_template = {
				name = "Royal Greek Mountaineers"
				regiments = {
					mountaineers = { x = 0 y = 0 }
					mountaineers = { x = 0 y = 1 }
					mountaineers = { x = 0 y = 2 }
				}
			}

			1251 = {
				create_unit = {
					division = "name = \"1. Royal Greek Mountaineers\" division_template = \"Royal Greek Mountaineers\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"2. Royal Greek Mountaineers\" division_template = \"Royal Greek Mountaineers\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"3. Royal Greek Mountaineers\" division_template = \"Royal Greek Mountaineers\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
			}

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_train_mountaineers_flag
			}
		}
	}

	#Train New Cavalry
	GRE_decision_train_new_cavalry = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_acrobolis_cavalry
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			has_equipment = {
				uniform_equipment > 199
			}
			has_equipment = {
				cavalry_equipment > 199
			}
		}

		visible = {
			has_completed_focus = GRE_hoplite_traditions
		}

		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}

		custom_cost_text = eoanb_political_power_10_command_power_75

		days_remove = 300

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = -200
			}
			add_equipment_to_stockpile = {
				type = cavalry_equipment
				amount = -200
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			load_oob = GRE_acrobolis_cavalry

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
				set_country_flag = GRE_army_reform_new_cavalry_flag
			}
		}
	}

	### Maritime Army

	#Send Officers to Great Britain
	GRE_decision_send_officers_to_britain = {

		icon = placeholder

		available = {
			ENG = {
				has_opinion = {
					target = GRE
					value > -1
				}
			}
			has_completed_focus = GRE_british_style_marines
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			command_power > 99.9
			has_army_experience > 24.9
		}

		custom_cost_text = eoanb_money_and_command_power_100_and_army_experience_25

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			add_command_power = -100
			army_experience = -25
			add_popularity = {
				ideology = centrism 
				popularity = 0.025
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			army_experience = 35
			add_doctrine_cost_reduction = {
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_officer_sent_gbr_flag
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	#Establish Inter-Service Cooperation
	GRE_decision_establish_interservice_coop = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_naval_operations_coordinations
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			has_political_power > 19.9
			command_power > 49.99
		}
		
		custom_cost_text = eoanb_political_power_20_command_power_50

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_political_power = -20
			add_command_power = -50

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_ideas = GRE_idea_naval_operations_coordination
			
			hidden_effect = {
				set_country_flag = GRE_army_reform_interservice_coop_flag
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	#Organize Marine Training
	GRE_decision_organize_marine_training = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_british_style_marines
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			has_political_power > 24.9
			has_army_experience > 24.9
			command_power > 49.99
		}

		custom_cost_text = eoanb_political_power_25_army_experience_25_command_power_50

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_political_power = -25
			army_experience = -25
			add_command_power = -50

			add_ideas = GRE_idea_marine_training
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = tech_category_naval_infantry
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			hidden_effect = {
				set_country_flag = GRE_army_reform_marine_training_flag
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	#Train Marine Forces
	GRE_decision_train_marines = {

		icon = placeholder

		available = {
			has_completed_focus = GRE_british_style_marines
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			has_equipment = {
				uniform_equipment > 299
			}
			has_equipment = {
				infantry_equipment > 299
			}
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}

		custom_cost_text = eoanb_political_power_10_command_power_75

		fire_only_once = yes

		days_remove = 300

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = -300
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -300
			}

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_marine_spawn_tt
			division_template = {
				name = "Royal Greek Marines"
				regiments = {
					early_marine = { x = 0 y = 0 }
					early_marine = { x = 0 y = 1 }
					early_marine = { x = 0 y = 2 }
				}
			}

			1251 = {
				create_unit = {
					division = "name = \"1. Royal Greek Marines\" division_template = \"Royal Greek Marines\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"2. Royal Greek Marines\" division_template = \"Royal Greek Marines\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
				create_unit = {
					division = "name = \"3. Royal Greek Marines\" division_template = \"Royal Greek Marines\" start_experience_factor = 0.3 start_equipment_factor = 1"
					owner = GRE
				}
			}
			
			hidden_effect = {
				set_country_flag = GRE_army_reform_train_marines_flag
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	#Consult With Americans For Maritime Expertise
	GRE_decision_consult_americans = {

		icon = placeholder

		available = {
			USA = {
				has_opinion = {
					target = GRE
					value > 19
				}
			}
			has_completed_focus = GRE_cooperation_with_americans
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}

		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		days_remove = 300

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

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_doctrine_cost_reduction = {
				cost_reduction = 0.25
				uses = 1
				category = naval_doctrine
			}

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}
	#Ask British For Marine Expertise
	GRE_decision_ask_british_expertise = {

		icon = placeholder

		available = {
			ENG = {
				has_opinion = {
					target = GRE
					value > 19
				}
			}
			has_completed_focus = GRE_empower_british
			NOT = {
				has_country_flag = GRE_army_reform_ongoing_flag
			}
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_marine_corps
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}

		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		days_remove = 300

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

			hidden_effect = {
				set_country_flag = GRE_army_reform_ongoing_flag
			}
		}

		remove_effect = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = tech_category_naval_infantry
			}
			add_popularity = {
				ideology = centrism 
				popularity = 0.025
			}

			hidden_effect = {
				clr_country_flag = GRE_army_reform_ongoing_flag
			}
		}
	}

	#Military Hospital Evangelismos
	GRE_decision_military_hospital = {

		icon = generic_industry

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_military_nurses_school
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 180
         
        modifier = {
           
        }
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = hospital_tech
				category = support_tech
			}
			set_temp_variable = {
				inflation_to_gain = 0.01
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}

		cancel_trigger = {
			
		}
	}

	#Buy Rifles from Belgium
	GRE_decision_buy_belgian_rifles = {

		icon = generic_industry

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

		visible = {
			has_completed_focus = GRE_belgian_rifles
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = BEL
			}
			set_temp_variable = {
				inflation_to_gain = 0.05
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Buy Rifles from Prussia
	GRE_decision_buy_prussian_rifles = {

		icon = generic_industry

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			country_exists = PRS
			has_completed_focus = GRE_prussian_technology_share
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = PRS
			}
			set_temp_variable = {
				inflation_to_gain = 0.05
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	#Buy Rifles from France
	GRE_decision_buy_french_rifles = {

		icon = generic_industry

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			country_exists = FRA
			has_completed_focus = GRE_french_import
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = FRA
			}
			set_temp_variable = {
				inflation_to_gain = 0.05
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}

	##Buy canonns from Britain
	GRE_decision_buy_english_cannons = {

		icon = artillery

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			country_exists = ENG
			has_completed_focus = GRE_british_artillery
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 50
				producer = ENG
			}
			set_temp_variable = {
				inflation_to_gain = 0.1
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}

	#Buy cannons from Prussia
	GRE_decision_buy_prussian_cannons = {

		icon = artillery

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			country_exists = PRS
			has_completed_focus = GRE_krupp_cannons
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 50
				producer = PRS
			}
			set_temp_variable = {
				inflation_to_gain = 0.1
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}
	}

	## Buy french cannons
	GRE_decision_buy_french_cannons = {

		icon = artillery

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_french_artillery
			country_exists = FRA
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 50
				producer = FRA
			}
			set_temp_variable = {
				inflation_to_gain = 0.1
			}
			add_inflation_with_tooltip_effect = yes
	    }
       
		ai_will_do = {
			base = 500
		}

		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
	}

	## Buy french cannons
	GRE_decision_buy_uniforms = {

		icon = artillery

		available = {
			num_of_civilian_factories_available_for_projects > 0
			set_temp_variable = { loan_size_to_check = 200}
			has_less_than_specific_loan_size = yes
		}

		visible = {
			has_completed_focus = GRE_uniforms_change
		}

		fire_only_once = yes
		
		cost = 75
		
		days_remove = 180
			
		modifier = {
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 2000
			}
		}
		
		ai_will_do = {
			base = 500
		}

		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
	}

	#Renovation Nafplion Arsenal
	GRE_decision_renovation_of_nafplion_arsenal = {

		icon = generic_construction

		visible = {
			has_completed_focus = GRE_renovation_of_nafplion_arsenal
		}
		
		custom_cost_trigger = {
			set_temp_variable = { amount_of_money_to_check = 0.5 }
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 260

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}
		
		remove_effect = {
			add_tech_bonus = {
				bonus = 0.10
				uses = 3
				category = explosives_tech
				category = industry
				category = mechanical_engineering_tech
				category = support_tech
			}
		}
		
		modifier = {
			production_speed_arms_factory_factor = 0.05
			production_speed_buildings_factor = 0.05
		}

		cancel_trigger = {
			NOT = {
            	set_temp_variable = { loan_size_to_check = 200}
            	has_less_than_specific_loan_size = yes
        	}
		}
	}

	#Contract Aristarchis
	GRE_decision_contract_aristarchis = {

		icon = generic_construction

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.7
			}
			has_specific_amount_of_money_with_inflation_included = yes
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			has_completed_focus = GRE_contract_neorion
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.7
			}
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		highlight_states = {
			state = 1251
		}

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.7 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			1251 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = arms_factory level = 1 instant_build = yes }
			}
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			set_temp_variable = {
				inflation_to_gain = 0.01
			}
			add_inflation_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}

	#Neorion Shipyard
	GRE_decision_contract_neorion = {

		icon = generic_construction

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.7
			}
			has_specific_amount_of_money_with_inflation_included = yes
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			has_completed_focus = GRE_contract_neorion
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.7
			}
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 180
		
		highlight_states = {
			state = 47
		}

		modifier = {
			civilian_factory_use = 3
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.7 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			47 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = dockyard level = 1 instant_build = yes }
			}
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			set_temp_variable = {
				inflation_to_gain = 0.01
			}
			add_inflation_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}

		cancel_trigger = {
			
		}
	}
}

GRE_decision_category_navy = {

	#Greek Corvettes
	GRE_decision_greek_corvettes = {

		icon = generic_naval

		available = {
			set_temp_variable = { amount_of_money_to_check = 2 }
			has_specific_amount_of_money_with_inflation_included = yes
			has_tech = tech_naval_mtg_1860_corvette_hull
		}

		visible = {
			has_completed_focus = GRE_greek_corvettes
		}

		fire_only_once = yes
		
		days_remove = 365
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				name = "HMS Corvette"
				type = ship_hull_corvette_2
				name_group = GR_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_secondaries_slot = empty
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
					rear_1_custom_slot = empty
				}
			}
		}

		remove_effect = {
			navy_experience = 5
			create_ship = {
				type = ship_hull_corvette_2
				equipment_variant = "HMS Corvette"
				creator = GRE
				name = "HMS Corvette 1"
			} 
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Greek Frigate
	GRE_decision_greek_frigates = {

		icon = generic_naval

		available = {
			set_temp_variable = { amount_of_money_to_check = 10 }
			has_specific_amount_of_money_with_inflation_included = yes
			has_tech = tech_naval_ironclad_frigate
		}

		visible = { 
			has_completed_focus = GRE_amalia_frigate
		}

		fire_only_once = yes
		
		days_remove = 730
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 10
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		modifier = {
			
		}
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -10 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				name = "HMS Frigate"
				type = ship_hull_ironclad_0
				name_group = GR_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_module_ram_0
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_cruiser
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_armor_capital_hardwood_1
					mid_2_custom_slot = ship_armor_capital_hardwood_1
					front_1_custom_slot = ship_armor_capital_hardwood_1
					rear_1_custom_slot = ship_turret_heavy_0
				}
			}
		}

		remove_effect = {
			navy_experience = 5
			create_ship = {
				type = ship_hull_ironclad_0
				equipment_variant = "HMS Frigate"
				creator = GRE
				name = "HMS Frigate 1"
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	#Greek Gunboats
	GRE_decision_greek_gunboats = {

		icon = generic_naval

		available = {
			set_temp_variable = { amount_of_money_to_check = 5 }
			has_specific_amount_of_money_with_inflation_included = yes
			has_tech = tech_naval_mtg_1860_gunboat
		}

		visible = { 
			has_completed_focus = GRE_greek_gunboats
		}

		#fire_only_once = yes
		
		days_remove = 180
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				name = "HMS Gunboat"
				type = ship_hull_gunboat_2
				name_group = GR_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_secondaries_slot = empty
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
					rear_1_custom_slot = empty
				}
			}
		}

		remove_effect = {
			navy_experience = 5
			create_ship = {
				type = ship_hull_gunboat_2
				equipment_variant = "HMS Gunboat"
				creator = GRE
				name = "HMS Gunboat 1"
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	GRE_mission_study_modern_warships = {
		
		icon = generic_naval

		available = {
			has_tech = tech_naval_mtg_1860_corvette_hull
			has_tech = tech_naval_mtg_early_turrets
			has_tech = tech_naval_mtg_steam_driven_single_screw_propeller
		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 730
		
		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -25
				add_war_support = -0.02
			}
		}
		
		complete_effect = {
			navy_experience = 50
			add_political_power = 25
			add_war_support = 0.02
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = naval_doctrine }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = naval_equipment }
		}
		
		ai_will_do = {
			base = 100
		}
	}

	#Greek Royal Frigate
	GRE_decision_greek_king_frigate = {

		icon = generic_naval

		available = {
			set_temp_variable = { 	amount_of_money_to_check = 2.0 }
			has_specific_amount_of_money_with_inflation_included = yes
			has_tech = tech_naval_ironclad_frigate
		}

		visible = {  has_completed_focus = GRE_vasilefs_georgios }
		
		days_remove = 730
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2.0
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -2.0 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				name = "HMS Vasilefs Georgios"
				type = ship_hull_ironclad_1
				name_group = GR_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_capital
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_armor_capital_hardwood_1
					mid_2_custom_slot = ship_armor_capital_hardwood_1
					front_1_custom_slot = ship_armor_capital_hardwood_1
					rear_1_custom_slot = ship_turret_heavy_0
				}
			}
		}

		remove_effect = {
			navy_experience = 5
			create_ship = {
				type = ship_hull_ironclad_1
				equipment_variant = "HMS Vasilefs Georgios"
				creator = GRE
				name = "HMS King George"
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Greek Royal Frigate
	GRE_decision_greek_queen_frigate = {

		icon = generic_naval

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 2.0
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_tech = tech_naval_ironclad_frigate
		}

		visible = {  	has_completed_focus = GRE_vasilissa_olga }
		
		days_remove = 730
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2.0
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -2.0 }
			add_money_with_tooltip_effect = yes
			create_equipment_variant = {
				name = "HMS Vasilissa Olga"
				type = ship_hull_ironclad_1
				name_group = GR_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_module_ram_0
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_capital_2
					fixed_ship_armor_slot = ship_armor_capital_hardwood_1
					mid_1_custom_slot = ship_armor_capital_hardwood_1
					mid_2_custom_slot = ship_armor_capital_hardwood_1
					front_1_custom_slot = ship_armor_capital_hardwood_1
					rear_1_custom_slot = ship_turret_heavy_0
				}
			}
		}

		remove_effect = {
			navy_experience = 5
			create_ship = {
				type = ship_hull_ironclad_1
				equipment_variant = "HMS Vasilissa Olga"
				creator = GRE
				name = "HMS Queen Olga"
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
	
	###Foreign Ships
	GRE_decision_foreign_ships = {

		icon = generic_naval

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 2.0
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = { 
			OR = {
				has_completed_focus = GRE_british_ships
				has_completed_focus = GRE_french_ships
				has_completed_focus = GRE_russian_ships
			}
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 2.0
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -2.0 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			country_event = { id = greece.505 }
		}

		ai_will_do = {
			base = 1000
		}
	}
	GRE_mission_aegean_dominance = {

		icon = generic_naval

		allowed = {
			always = no
		}

		available = {
			naval_strength_ratio = {
				tag = OTO
				ratio > 0.3
			} 
		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 1250
		
		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				navy_experience = -25
				add_war_support = -0.02
				add_political_power = -30
			}
		}
		
		complete_effect = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			create_ship = {
				type = ship_hull_gunboat_2
				equipment_variant = "HMS Gunboat"
				creator = GRE
				name = "HMS Gunboat 2"
			}
			create_ship = {
				type = ship_hull_corvette_2
				equipment_variant = "HMS Corvette"
				creator = GRE
				name = "HMS Corvette 2"
			} 
		}
		
		ai_will_do = {
			base = 100
		}
	}
}

GRE_decision_category_political_situation = {
	
	GRE_decision_university_athens = {

		icon = university

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_hansen_trilogy
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			country_event = greece.33
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_academy_athens = {

		icon = university

		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_country_flag = GRE_university_complete
		}

		visible = {
			has_completed_focus = GRE_hansen_trilogy
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
	
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			country_event = greece.35
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_national_library = {

		icon = university
		
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
			has_country_flag = GRE_academy_complete
		}

		visible = {
			has_completed_focus = GRE_hansen_trilogy
		}

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

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			country_event = greece.37
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_language_reform = {

		icon = university

		visible = {
			AND = {
				has_country_flag = GRE_library_complete
				has_country_flag = GRE_university_complete
				has_country_flag = GRE_academy_complete
			}
		}

		fire_only_once = yes
		
		days_remove = 180

        remove_effect = {
			country_event = greece.39
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	GRE_decision_compensate_families = {

		icon = justice

		visible = {
			has_country_flag = GRE_dilessi_murder
		}

		fire_only_once = yes
		
		days_remove = 30
         
		modifier = {
			consumer_goods_expected_value = 0.05
        }
       
        remove_effect = {
			add_stability = 0.02
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	GRE_mission_increase_security_corinth = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			army_manpower_in_state = {
				type = infantry
				amount > 1000
				state = 47
			}
		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 70

		timeout_effect = {
			add_political_power = -10
		}
		
		complete_effect = {
			add_stability = 0.02
		}
	}

	GRE_decision_ignite_unrest_peloponnese = {
		
		icon = generic_military

		available = {
			has_completed_focus = GRE_ignite_unrest_peloponnese
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}

		visible = {
			has_completed_focus = GRE_ignite_unrest_peloponnese
			tag = AOR
		}

		highlight_states = {
			state = 186
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.1
			}
		}
		custom_cost_text = eoanb_money_cost_text

		fire_only_once = yes

		days_remove = 10

		complete_effect = {
			add_command_power = -30

			set_temp_variable = { money_to_gain = -0.1 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			186 = {
				create_unit = {
					division = "name = \"Greek Infantry Battalion\" division_template = \"Greek Infantry Battalion\" start_experience_factor = 0.1 start_equipment_factor = 0.5"
					owner = GRE
				}
			}

		}
	}

	GRE_mission_kill_aor = {
		available = {
			controls_province = 7096
		}
		allowed = { always = no }
		days_mission_timeout = 200

		complete_effect = {
			country_event = {
				id = greece.86
			}
			GRE = {
				white_peace = AOR
				set_state_owner = 186
			}
		}

		timeout_effect = {
			add_political_power = -100
			hidden_effect = {
				country_event = {
					id = greece.88
					random_days = 10
				}
				GRE = {
					white_peace = AOR
					set_state_owner = 186
				}
			}
		}
	}

	AOR_mission_kill_GRE = {
		available = {
			controls_province = 4109
		}
		allowed = { always = no }
		days_mission_timeout = 200

		complete_effect = {
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
			}
		}

		timeout_effect = {
			GRE = {
				white_peace = AOR
				set_state_owner = 186
			}
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
			}
		}
	}

	GRE_decision_imprison_the_protesters = {
		
		icon = generic_military

		available = {
			has_country_flag = GRE_otto_consolidate_power_flag
		}

		visible = {
			has_country_flag = GRE_otto_consolidate_power_flag
		}

		fire_only_once = yes

		days_remove = 10

		complete_effect = {
			subtract_from_variable = {
				var = GRE_otto_support_var
				value = 5
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_needed_To_keep_otto_tt
			if = {
				limit = { NOT = { has_completed_focus = GRE_nafplion_revolution } }
				set_country_flag = GRE_imprisend_protestors_falg
			}
		}
	}
	GRE_decision_temporarily_close_athens_university = {
		icon = generic_decision

		available = {
			has_country_flag = GRE_otto_consolidate_power_flag
		}

		visible = {
			has_country_flag = GRE_otto_consolidate_power_flag
		}

		fire_only_once = yes

		days_remove = 10

		complete_effect = {
			subtract_from_variable = {
				var = GRE_otto_support_var
				value = 10
			}
		}

		remove_effect = {
			custom_effect_tooltip = GRE_needed_To_keep_otto_tt
			if = {
				limit = { NOT = { has_completed_focus = GRE_nafplion_revolution } }
				set_country_flag = GRE_university_closed_flag
			}
		}
	}
	GRE_decision_exile_revolt_leaders = {
		icon = generic_decision

		available = {
			has_country_flag = GRE_exile_revolt_leaders_flag
		}

		visible = {
			has_country_flag = GRE_exile_revolt_leaders_flag
		}

		fire_only_once = yes

		days_remove = 40

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = GRE_otto_support_var
				value = 3
			}
			add_stability = -0.03
			clr_country_flag = GRE_exile_revolt_leaders_flag
			set_country_flag = GRE_exile_revolt_leaders_done_flag
		}
	}
	GRE_decision_amnesty_to_all_participators = {
		icon = generic_decision

		available = {
			has_country_flag = GRE_amnesty_to_all_participators_flag
		}

		visible = {
			has_country_flag = GRE_amnesty_to_all_participators_flag
		}

		fire_only_once = yes

		days_remove = 50

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = GRE_otto_support_var
				value = 2
			}
			add_stability = -0.03
			clr_country_flag = GRE_amnesty_to_all_participators_flag
			set_country_flag = GRE_amnesty_to_all_participators_done_flag
		}
	}
	GRE_decision_go_on_peloppense_tour = {
		icon = generic_decision

		available = {
			has_country_flag = GRE_amnesty_to_all_participators_done_flag
			has_country_flag = GRE_exile_revolt_leaders_done_flag
		}

		visible = {
			has_country_flag = GRE_tour_trough_pelopponese
		}

		fire_only_once = yes

		days_remove = 50

		complete_effect = {
		}

		remove_effect = {
			add_to_variable = {
				var = GRE_otto_support_var
				value = 3
			}
			add_stability = 0.02
			clr_country_flag = GRE_amnesty_to_all_participators_done_flag
			clr_country_flag = GRE_exile_revolt_leaders_done_flag
			clr_country_flag = GRE_tour_trough_pelopponese
			country_event = { id = greece.40 days = 10 }
		}
	}

	GRE_stop_the_insurgents_in_epirus = {
		available = {
			controls_province = 12001
		}
		allowed = { always = no }
		days_mission_timeout = 10

		complete_effect = {
			country_event = {
				id = greece.85
			}
			army_experience = 20
		}

		timeout_effect = {
			hidden_effect = {
				country_event = {
					id = greece.93
					random_days = 10
				}
			}
			army_experience = -20
			custom_effect_tooltip = historical_option
		}
	}
	GRE_stop_the_revolution = {
		available = {
			AOR = {
				surrender_progress > 79
			}
		}
		allowed = { always = no }
		days_mission_timeout = 100

		complete_effect = {
			country_event = {
				id = greece.85
			}
		}

		timeout_effect = {
			hidden_effect = {
				country_event = {
					id = greece.88
					random_days = 10
				}
			}
			army_experience = -20
		}
	}
	AOR_mission_dethrone_otto = {
		available = {
			GRE = {
				surrender_progress > 79
			}
		}
		allowed = { always = no }
		days_mission_timeout = 100

		complete_effect = {
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
				GRE = {
					white_peace = AOR
					set_state_owner = 186
					set_state_owner = 47
					country_event = {
						id = greece.3
					}
				}
				add_stability = 0.1
				add_war_support = 0.15
				increase_legitimacy_by_five = yes
				increase_ps_by_one = yes
			}
		}

		timeout_effect = {
			GRE = {
				white_peace = AOR
				set_state_owner = 186
				set_state_owner = 47
				country_event = {
					id = greece.85
				}
			}
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
			}
		}
	}
	AOR_mission_make_repulic = {
		available = {
			GRE = {
				surrender_progress > 70
			}
		}
		allowed = { always = no }
		days_mission_timeout = 100

		complete_effect = {
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
				GRE = {
					white_peace = AOR
					set_state_owner = 186
					set_state_owner = 47
				}
				add_stability = 0.1
				add_war_support = 0.15
				increase_legitimacy_by_five = yes
				increase_ps_by_one = yes
			}
		}

		timeout_effect = {
			GRE = {
				white_peace = AOR
				set_state_owner = 186
				set_state_owner = 47
			}
			hidden_effect = {
				GRE = { change_tag_from = ROOT }
			}
		}
	}
	GRE_decision_consolidate_control_athens = {

		icon = army_reform

		available = {
			divisions_in_state = {
				state = 1251
				size > 2
			}
		}

		visible = {
			has_completed_focus = GRE_change_in_course
		}

		fire_only_once = yes
		days_remove = 60

		custom_cost_text = eoanb_command_power_20
		custom_cost_trigger = {
			command_power > 19
		}
		complete_effect = {
			add_command_power = -20
		}

		remove_effect = {
			1251 = {
				add_core_of = GRE
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	GRE_decision_consolidate_control_peloponnese = {

		icon = army_reform

		available = {
			divisions_in_state = {
				state = 186
				size > 2
			}
		}

		visible = {
			has_completed_focus = GRE_change_in_course
		}

		fire_only_once = yes
		days_remove = 60

		custom_cost_text = eoanb_command_power_20
		custom_cost_trigger = {
			command_power > 19
		}
		complete_effect = {
			add_command_power = -20
		}

		remove_effect = {
			186 = {
				add_core_of = GRE
			}
		}

		ai_will_do = {
			base = 500
		}
	}
	GRE_decision_consolidate_control_central_greece = {

		icon = army_reform

		available = {
			divisions_in_state = {
				state = 47
				size > 2
			}
		}

		visible = {
			has_completed_focus = GRE_change_in_course
		}

		fire_only_once = yes
		days_remove = 60

		custom_cost_text = eoanb_command_power_20
		custom_cost_trigger = {
			command_power > 19
		}
		complete_effect = {
			add_command_power = -20
		}

		remove_effect = {
			47 = {
				add_core_of = GRE
			}
		}

		ai_will_do = {
			base = 500
		}
	}
}

GRE_decision_category_land_reform = {

	GRE_mission_land_reform = {
		
		icon = generic_military
		
		allowed = { always = no }
		
		available = {
			custom_trigger_tooltip= {
				tooltip = GRE_tt_land_reform_ongoing
				FROM = {
					NOT = {
						has_country_flag = GREland_reform_ongoing
					}
				}
			}

		}
		
		activation = { always = no }
		
		fire_only_once = yes
		
		is_good = no
		
		days_mission_timeout = 2500
		
		cancel_trigger = {
			
		}
		
		timeout_effect = {
			clr_country_flag = GREland_reform_ongoing
			remove_dynamic_modifier = { modifier = dynmod_GRE_poor_agriculture }
		}
		
		complete_effect = {
			hidden_effect = {
				clr_country_flag = GREland_reform_ongoing
				remove_dynamic_modifier = { modifier = dynmod_GRE_poor_agriculture }
			}
		}
	}

	GRE_decision_european_type_urbanization = {

		icon = university

		available = {
			has_active_mission = GRE_mission_land_reform
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}			

		visible = {
			has_active_mission = GRE_mission_land_reform
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 60
         
        modifier = {
            production_speed_buildings_factor = -0.05
        }
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.8 }
			add_money_with_tooltip_effect = yes
			1251 = {
				add_dynamic_modifier = {
					modifier = dynmod_PRS_urbanization
				}
			}
		}
       
        remove_effect = {
			custom_effect_tooltip = GRE_land_reform_effect_tt
			add_to_variable = { GRE_agriculture_im = 0.05 tooltip = money_income_tooltip }
			add_to_variable = { GRE_agriculture_mp = 0.02 tooltip = monthly_population_tooltip }
	    }
       
		ai_will_do = {
			base = 500
		}

		cancel_trigger = {
			
		}
	}
	
	GRE_decision_western_farming_equipment = {

		icon = university

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_active_mission = GRE_mission_land_reform
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}			

		visible = {
			has_active_mission = GRE_mission_land_reform
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
        days_remove = 40
         
        modifier = {
            civilian_factory_use = 1
        }
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.8 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			country_event = greece.616
			custom_effect_tooltip = GRE_land_reform_effect_tt
			add_to_variable = { GRE_agriculture_spsff = 0.08 tooltip = production_speed_farm_factor_tooltip}
			add_to_variable = {GRE_agriculture_spscff = 0.08 tooltip = production_speed_cotton_farm_factor_tooltip }
			add_to_variable = { GRE_agriculture_srf = 0.08 tooltip = local_resources_factor_tooltip }
			add_to_variable = { GRE_agriculture_mp = 0.04 tooltip = monthly_population_tooltip}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_question_ownership = {

		icon = university

		available = {
			has_active_mission = GRE_mission_land_reform
		}				

		visible = {
			has_active_mission = GRE_mission_land_reform
		}

		fire_only_once = yes
		
        days_remove = 180
		
		cost = 100

        remove_effect = {
			country_event = greece.617
			custom_effect_tooltip = GRE_land_reform_effect_tt
			add_to_variable = { GRE_agriculture_im = 0.02 tooltip = money_income_tooltip }
			add_to_variable = {GRE_agriculture_mif = 0.08 tooltip = money_income_factor_tooltip }
			add_to_variable = { GRE_agriculture_tef = 0.08 tooltip = tax_efficiency_factor_tooltip  }
			add_to_variable = { GRE_agriculture_srf = 0.06 tooltip = local_resources_factor_tooltip }
			add_to_variable = { GRE_agriculture_mp = 0.01 tooltip = monthly_population_tooltip}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_greek_mainland = {

		icon = university

		available = {
			has_active_mission = GRE_mission_land_reform
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
			has_specific_amount_of_money_with_inflation_included = yes
			custom_trigger_tooltip = {
				tooltip = GRE_greece_is_greek_tt
				FROM = {
					has_country_flag = GREgreece_is_greek
				}
			}
		}				

		visible = {
			has_active_mission = GRE_mission_land_reform
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.8
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 100

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.8 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			47 = {
				add_manpower = var:GRE.GRE_cretan_greeks
			}
			custom_effect_tooltip = GRE_tt_decrease_turkish_investment
			custom_effect_tooltip = GRE_land_reform_effect_tt
			add_to_variable = { GRE_agriculture_mp = 0.02 tooltip = monthly_population_tooltip}
	    }
       
		ai_will_do = {
			base = 500
		}
	}
	
	GRE_decision_destroy_metayage_system = {

		icon = university

		available = {
			has_active_mission = GRE_mission_land_reform
			set_temp_variable = {
				amount_of_money_to_check = 1.6
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}			

		visible = {
			has_active_mission = GRE_mission_land_reform
		}

		fire_only_once = yes
		
		days_remove = 180

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.6
			}
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -1.6 }
			add_money_with_tooltip_effect = yes
		}
       
        remove_effect = {
			add_tech_bonus = {
				bonus = 0.1
				uses = 2
				category = farming_tech
			}
			add_tech_bonus = {
				bonus = 0.05
				uses = 1
				category = biochemistry_tech
			}
			custom_effect_tooltip = GRE_land_reform_effect_tt
			add_to_variable = {GRE_agriculture_mif = 0.1 tooltip = money_income_factor_tooltip }
			add_to_variable = { GRE_agriculture_tef = 0.1 tooltip = tax_efficiency_factor_tooltip  }
			add_to_variable = { GRE_agriculture_srf = 0.09 tooltip = local_resources_factor_tooltip }
			add_to_variable = { GRE_agriculture_mp = 0.01 tooltip = monthly_population_tooltip}
			add_to_variable = { GRE_agriculture_spsff = 0.05 tooltip = production_speed_farm_factor_tooltip}
			add_to_variable = {GRE_agriculture_spscff = 0.05 tooltip = production_speed_cotton_farm_factor_tooltip }
	    }
       
		ai_will_do = {
			base = 500
		}
	}
}

GRE_decision_revolution_continues = {

	GRE_decision_integrate_crete = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		fire_only_once = yes

		visible = { has_completed_focus = GRE_acquisition_crete }

		available = {
			CET = { exists = yes has_war = no }
		}		
	
		is_good = no
	
		days_remove = 50
	
		cost = 50

		complete_effect = {
		}
	
		ai_will_do = {
			base = 100
		}
	}

	GRE_decision_unify_economy_crete = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		available = {
			has_decision = GRE_decision_integrate_crete
		}		

		visible = { has_completed_focus = GRE_acquisition_crete }

		is_good = no
	
		days_remove = 50

		cost = 25

		complete_effect = {
			set_temp_variable = { money_to_gain = 0.3 }
			add_money_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 100
		}
	}

	GRE_decision_unify_army_crete = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		available = {
			has_decision = GRE_decision_integrate_crete
		}		

		visible = { has_completed_focus = GRE_acquisition_crete }

		is_good = no
	
		days_remove = 50

		cost = 25

		complete_effect = {
			country_event = greece.21
		}

		ai_will_do = {
			base = 100
		}
	}

	GRE_decision_unify_laws_crete = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		available = {
			has_decision = GRE_decision_integrate_crete
		}

		visible = { has_completed_focus = GRE_acquisition_crete }

		is_good = no
	
		days_remove = 50

		cost = 25

		complete_effect = {
			add_stability = 0.05
		}
	
		ai_will_do = {
			base = 100
		}
	}	

	GRE_decision_fully_integrate_crete = {

		icon = generic_military

		allowed = { tag = GRE }

		available = {
			has_decision = GRE_decision_integrate_crete
		}		

		visible = { has_completed_focus = GRE_acquisition_crete }

		is_good = no

		days_remove = 50

		cost = 25

		complete_effect = {
			182 = {
				add_core_of = GRE
			}
			1242 = {
				add_core_of = GRE
			}
		}

		ai_will_do = {
			base = 100
		}
	}
}

GRE_decision_category_support_macedonia_much_equipment = {
		
	GRE_decision_support_macedonia_weapons = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		available = {
			has_completed_focus = GRE_macedonian_resistance
			has_equipment = {
				infantry_equipment > 499
			}
			OTO = { controls_state = 1274 }
		}

		visible = { has_completed_focus = GRE_macedonian_resistance }

		highlight_states = {
			highlight_state_targets = {  
			   state = 1274
			   state = 731
			   state = 1199
		   }
		}

		is_good = no
		
		days_remove = 200
		
		complete_effect = {
			1274 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
			731 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
			1199 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
		}
		remove_effect = {
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = -500
			producer = GRE
			}
		}
		ai_will_do = {
			base = 10
		}
	}


	GRE_decision_support_macedonia_financially = {
		
		icon = generic_military
		
		allowed = { tag = GRE }
		
		available = {
			has_completed_focus = GRE_macedonian_resistance
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
			OTO = { controls_state = 1274 }
		}		

		visible = { has_completed_focus = GRE_macedonian_resistance }

		is_good = no
		
		days_remove = 200

		highlight_states = {
			highlight_state_targets = {  
			   state = 1274
			   state = 731
			   state = 1199
		   }
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = -0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		complete_effect = {
			1274 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
			731 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
			1199 = { 
				add_resistance = 3
				add_compliance = -1.5
			}
		   set_temp_variable = { money_to_gain = -0.5 }
		   add_money_with_tooltip_effect = yes
		}
		ai_will_do = {
			base = 10
		}
	}
}
GRE_decision_category_fortifications_border = {

	GRE_decision_thessaly_line = { 

		visible = { 
			tag = GRE
			has_completed_focus = GRE_fortify_frontier 
	    }

	    allowed = { 
			tag = GRE 
		}

		custom_cost_trigger = {
            command_power > 20
        }

		fire_only_once = yes

		days_remove = 100

		complete_effect = {
           add_stability = -0.02
		   add_equipment_to_stockpile = {
                type = infantry_equipment
                amount = -1000
                producer = GRE
            }
		}

		remove_effect = {
			47 = {
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 976
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 11895
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = 12001
				}
			}
		}
		ai_will_do = {
			base = 100
		}
	}
}
GRE_decision_category_foreign_policy = {

	GRE_decision_volunteers_lebanon = { 

		visible = { 
			has_completed_focus = GRE_support_lebanon_christians
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_manpower > 2000
			LEB = {
				has_war_with = OTO
			}
		}

		fire_only_once = yes
		
		days_remove = 30

		remove_effect = {
			add_manpower = -2000
			LEB = {
				add_manpower = 2000
			}
			set_country_flag = GRE_sent_volunteers_to_lebanon
		}
	}
	
	GRE_decision_volunteers_beirut = { 

		visible = { 
			has_completed_focus = GRE_support_lebanon_christians
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_manpower > 1000
			LEB = {
				has_war_with = OTO
			}
		}

		fire_only_once = yes
		
		days_remove = 15

		remove_effect = {
			add_manpower = -1000
			LEB = {
				add_manpower = 1000
			}
			set_country_flag = GRE_sent_volunteers_to_lebanon_again
		}
	}
	
	GRE_decision_volunteers_italy = { 

		visible = { 
			has_completed_focus = GRE_support_risorgimento
	    }

		allowed = { 
			tag = GRE 
		}
		
		available = {
			has_manpower > 2000
			PIE = {
				has_war = yes
			}
		}

		fire_only_once = yes
		
		days_remove = 30

		remove_effect = {
			add_manpower = -2000
			PIE = {
				add_manpower = 2000
			}
			set_country_flag = GRE_sent_volunteers_to_italy
		}
	}

	GRE_decision_volunteers_usa = { 

		visible = { 
			has_completed_focus = GRE_athens_new_world
	    }

		allowed = { 
			tag = GRE 
		}
		
		available = {
			has_manpower > 2000
			USA = {
				has_war = yes
			}
		}

		fire_only_once = yes
		
		days_remove = 30

		remove_effect = {
			add_manpower = -2000
			USA = {
				add_manpower = 2000
			}
			set_country_flag = GRE_sent_volunteers_to_america
		}
	}
	
	GRE_decision_volunteers_beirut_repayment = { 

		visible = { 
			has_completed_focus = GRE_alternative_debt_repayments
			has_country_flag = GRE_sent_volunteers_to_lebanon_again
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_country_flag = GRE_sent_volunteers_to_lebanon_again
		}

		fire_only_once = yes
		
		days_remove = 7

		remove_effect = {
			set_temp_variable = { money_to_gain = 0.5 }
			add_money_with_tooltip_effect = yes
			clr_country_flag = GRE_sent_volunteers_to_lebanon_again
		}
	}
	
	GRE_decision_volunteers_lebanon_repayment = { 

		visible = { 
			has_completed_focus = GRE_alternative_debt_repayments
			has_country_flag = GRE_sent_volunteers_to_lebanon
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_country_flag = GRE_sent_volunteers_to_lebanon
		}

		fire_only_once = yes
		
		days_remove = 7

		remove_effect = {
			set_temp_variable = { money_to_gain = 1 }
			add_money_with_tooltip_effect = yes
			clr_country_flag = GRE_sent_volunteers_to_lebanon
		}
	}
	
	GRE_decision_volunteers_italy_repayment = { 

		visible = { 
			has_completed_focus = GRE_alternative_debt_repayments
			has_country_flag = GRE_sent_volunteers_to_italy
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_country_flag = GRE_sent_volunteers_to_italy
		}

		fire_only_once = yes
		
		days_remove = 7

		remove_effect = {
			set_temp_variable = { money_to_gain = 1 }
			add_money_with_tooltip_effect = yes
			clr_country_flag = GRE_sent_volunteers_to_italy
		}
	}
	
	GRE_decision_volunteers_usa_repayment = { 

		visible = { 
			has_completed_focus = GRE_alternative_debt_repayments
			has_country_flag = GRE_sent_volunteers_to_america
	    }

	    allowed = { 
			tag = GRE 
		}
		
		available = {
			has_country_flag = GRE_sent_volunteers_to_america
		}

		fire_only_once = yes
		
		days_remove = 7

		remove_effect = {
			set_temp_variable = { money_to_gain = 1 }
			add_money_with_tooltip_effect = yes
			clr_country_flag = GRE_sent_volunteers_to_america
		}
	}
}
GRE_decision_cat_greek_royalty = {
	GRE_decision_adopt_new_title = {
		icon = generic_decision
		fire_only_once = yes
		available = {
			has_country_flag = GRE_change_uniform_flag
			has_country_flag = GRE_royal_anthem_flag
			has_country_flag = GRE_new_flag_flag
			has_country_flag = GRE_royal_palace_flag
			has_country_flag = GRE_learn_greek_flag
			has_country_flag = GRE_orthodox_heir_flag
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		days_remove = 50
		complete_effect = {
			decrease_legitimacy_by_ten = yes
		}
		remove_effect = {
			GRE_king_george = {
				add_trait = {
					ideology = glucksburgism
					trait = GRE_trait_king_of_hellas
				}
			}
			GRE_king_alfred = {
				add_trait = {
					ideology = saxe_coburgism
					trait = GRE_trait_king_of_hellas
				}
			}
			clr_country_flag = GRE_change_uniform_flag
			clr_country_flag = GRE_royal_anthem_flag
			clr_country_flag = GRE_new_flag_flag
			clr_country_flag = GRE_royal_palace_flag
			clr_country_flag = GRE_learn_greek_flag
			clr_country_flag = GRE_orthodox_heir_flag
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_change_uniforms = {
		icon = generic_decision
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		fire_only_once = yes
		custom_cost_trigger = {
			command_power > 19
		}
		custom_cost_text = eoanb_command_power_20
		cost = 50
		days_remove = 50
		complete_effect = {
			add_command_power = -20
			set_temp_variable = { 
				money_to_gain = -1
			}
			add_money_with_tooltip_effect = yes
		}
		custom_cost_text = eoanb_money_cost_text
		remove_effect = {
			EOANBSYS_institutions_nationalism_add_one = yes
			
			complete_national_focus = GRE_uniforms_change

			set_country_flag = GRE_change_uniform_flag
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_introduce_royal_anthem = {
		icon = generic_decision
		fire_only_once = yes
		cost = 20
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		remove_effect = {
			add_stability = 0.03
			add_popularity = {
				ideology = autocracy 
				popularity = 0.02
			}
			set_country_flag = GRE_royal_anthem_flag
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_propose_new_flag = {
		icon = generic_decision	
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		fire_only_once = yes
		days_remove = 10
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text
		remove_effect = {
			set_cosmetic_tag = GRE_monarchy

			set_country_flag = GRE_new_flag_flag
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes 
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_refurbish_royal_palace = {
		icon = generic_construction	
		available = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		fire_only_once = yes
		days_remove = 200
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
		}
		custom_cost_text = eoanb_money_cost_text
		remove_effect = {
			increase_legitimacy_by_five = yes
			EOANBSYS_institutions_nationalism_add_three = yes
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			set_country_flag = GRE_royal_palace_flag
			set_temp_variable = { money_to_gain = -0.01 }
			add_money_with_tooltip_effect = yes 
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_learn_greek = {
		icon = generic_decision
		fire_only_once = yes
		days_remove = 120
		modifier = {
			political_power_factor = -0.1
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		remove_effect = {
			set_country_flag = GRE_learn_greek_flag
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_raise_orthodox_heirs = {
		icon = generic_decision
		fire_only_once = yes
		cost = 20
		complete_effect = {
			set_country_flag = GRE_orthodox_heir_flag
			remove_ideas = GRE_idea_uncertain_succession
		}
		visible = {
			has_completed_focus = GRE_rebranding_royal_image
		}
		ai_will_do = {
			base = 1000
		}
	}
	GRE_decision_visit_central_greece = {
		icon = generic_decision
		fire_only_once = yes
		cost = 10
		days_remove = 35
		complete_effect = {
			set_country_flag = GRE_georg_traveling_flag
		}
		visible = {
			has_completed_focus = GRE_georges_royal_tour
		}
		highlight_states = {
			state = 47
		}
		ai_will_do = {
			base = 1000
		}
		remove_effect = {
			clr_country_flag = GRE_georg_traveling_flag
			increase_legitimacy_by_five = yes
			add_popularity = {
				ideology = autocracy 
				popularity = 0.02
			}
		}
	}
	GRE_decision_visit_peloponnese = {
		icon = generic_decision
		fire_only_once = yes
		cost = 10
		days_remove = 35
		complete_effect = {
			set_country_flag = GRE_georg_traveling_flag
		}
		visible = {
			has_completed_focus = GRE_georges_royal_tour
		}
		highlight_states = {
			state = 186
		}
		ai_will_do = {
			base = 1000
		}
		remove_effect = {
			clr_country_flag = GRE_georg_traveling_flag
			increase_legitimacy_by_five = yes
			add_popularity = {
				ideology = autocracy 
				popularity = 0.02
			}
		}
	}
	GRE_decision_visit_athens = {
		icon = generic_decision
		fire_only_once = yes
		cost = 10
		days_remove = 35
		complete_effect = {
			set_country_flag = GRE_georg_traveling_flag
		}
		visible = {
			has_completed_focus = GRE_georges_royal_tour
		}
		highlight_states = {
			state = 1251
		}
		ai_will_do = {
			base = 1000
		}
		remove_effect = {
			clr_country_flag = GRE_georg_traveling_flag
			increase_legitimacy_by_five = yes
			add_popularity = {
				ideology = autocracy 
				popularity = 0.02
			}
		}
	}
}

GRE_BoP_decisions = {
	GRE_decision_BoP_power_to_lowlander = {
		icon = generic_decision

		cost = 25
		days_remove = 60

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = 0.05
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_power_to_highlander = {
		icon = generic_decision

		cost = 25
		days_remove = 60

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = -0.05
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_order_peaceful_transition = {
		icon = generic_decision
		fire_only_once = yes
		cost = 30

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = 0.1
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_declare_martial_law_athens = {
		icon = generic_decision
		fire_only_once = yes
		cost = 30

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = -0.1
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_western_agenda = {
		icon = generic_decision
		fire_only_once = yes
		cost = 15

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = -0.05
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_spread_greek_nationalism = {
		icon = generic_decision
		fire_only_once = yes
		cost = 15

		available = {
			has_completed_focus = GRE_revolution_cycle
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = 0.05
			}
		}

		ai_will_do = {
			base = 1
		}
	}
	GRE_decision_BoP_siege_athens = {
		icon = generic_military
		fire_only_once = yes
		cost = 20

		available = {
			has_completed_focus = GRE_bring_army_with_grivas
		}

		remove_effect = {
			add_power_balance_value = {
				id = GRE_BoP_highlanders_vs_lowlanders
				value = -0.2
			}
			add_war_support = 0.05
			add_stability = -0.1

			GRE_dimitrios_voulgaris = {
				add_corps_commander_role = {
					traits = {
					}
					skill=1
					attack_skill=1
					defense_skill=1
					planning_skill=1
					logistics_skill=1
					legacy_id=-1
				}
			}
		}

		ai_will_do = {
			base = 1
		}
	}

}
