eoanb_category_economic = {

	#Clean up Thames after "Great Stink"
	eoanb_decision_ENG_clean_great_stink = {

		icon = generic_construction

		allowed = {
			tag = ENG
		}

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			owns_state = 952
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_country_flag = eoanb_flag_ENG_thames_polluted_stink
		}

		fire_only_once = yes

		cost = 50

		days_remove = 60

		modifier = {
			consumer_goods_expected_value = 0.05
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -4.2 }
			add_money_with_tooltip_effect = yes
			custom_effect_tooltip = eoanb_tt_ENG_thames_cleaned_decision
			set_temp_variable = {
				unemployment_value = -0.005
			}
			hidden_effect = {
				clr_country_flag = eoanb_flag_ENG_thames_polluted_stink
			}
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Build a Naval Dockyard in London (FOCUS)
	eoanb_decision_ENG_build_dockyard_london = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_invest_in_shipbuilding_industry
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			check_variable = {
				money > 0
			}
			owns_state = 952
			has_completed_focus = ENG_focus_invest_in_shipbuilding_industry
		}

		fire_only_once = yes

		cost = 0

		days_remove = 180

		modifier = {
			civilian_factory_use = 3
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -10 }
			add_money_with_tooltip_effect = yes
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = dockyard level = 1 instant_build = yes }
			}
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Build a Naval Dockyard in Liverpool (FOCUS)
	eoanb_decision_ENG_build_dockyard_liverpool = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_invest_in_shipbuilding_industry
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			check_variable = {
				money > 0
			}
			owns_state = 132
			has_completed_focus = ENG_focus_invest_in_shipbuilding_industry
		}

		fire_only_once = yes

		cost = 0

		days_remove = 180

		modifier = {
			civilian_factory_use = 3
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -10 }
			add_money_with_tooltip_effect = yes
			132 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = dockyard level = 1 instant_build = yes }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Lay a Sea Cable to USA (FOCUS)
	eoanb_decision_ENG_sea_cable_USA = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_sea_cables
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			check_variable = {
				money > 0
			}
			country_exists = USA
			has_completed_focus = ENG_focus_sea_cables
		}

		fire_only_once = yes

		cost = 0

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			reverse_add_opinion_modifier = { target = USA modifier = eoanb_om_ENG_sea_cable }
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Lay a Sea Cable to FRA (FOCUS)
	eoanb_decision_ENG_sea_cable_FRA = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_sea_cables
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			check_variable = {
				money > 0
			}
			country_exists = FRA
			has_completed_focus = ENG_focus_sea_cables
		}

		fire_only_once = yes

		cost = 0

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			reverse_add_opinion_modifier = { target = FRA modifier = eoanb_om_ENG_sea_cable }
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Lay a Sea Cable to RUS (FOCUS)
	eoanb_decision_ENG_sea_cable_RUS = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_sea_cables
			num_of_civilian_factories_available_for_projects > 0
		}

		visible = {
			check_variable = {
				money > 0
			}
			country_exists = RUS
			has_completed_focus = ENG_focus_sea_cables
		}

		fire_only_once = yes

		cost = 0

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			reverse_add_opinion_modifier = { target = RUS modifier = eoanb_om_ENG_sea_cable }
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Construct the London Sewers (FOCUS)
	eoanb_decision_ENG_build_london_sewers = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_public_works_projects
			num_of_civilian_factories_available_for_projects > 1
		}

		visible = {
			check_variable = {
				money > 0
			}
			owns_state = 952
			has_completed_focus = ENG_focus_public_works_projects
		}

		fire_only_once = yes

		cost = 50

		days_remove = 180

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -6.5 }
			add_money_with_tooltip_effect = yes
			952 = { add_dynamic_modifier = { modifier = dynmod_ENG_london_sewers } }
			set_temp_variable = {
				unemployment_value = -0.01
			}
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Construct the London Underground (FOCUS)
	eoanb_decision_ENG_build_london_underground = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_completed_focus = ENG_focus_public_works_projects
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			check_variable = {
				money > 0
			}
			owns_state = 952
			has_completed_focus = ENG_focus_public_works_projects
		}

		fire_only_once = yes

		cost = 50

		days_remove = 1825

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			952 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = infrastructure level = 1 instant_build = yes }
			}
			country_event = {
				id = britain.200
			}
			set_temp_variable = {
				unemployment_value = -0.003
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Resolve tea shortage
	eoanb_decision_ENG_resolve_tea_shortage = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_idea = ENG_idea_tea_shortage
			RAJ = {
				is_subject_of = ENG
			}
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_idea = ENG_idea_tea_shortage
		}

		fire_only_once = yes

		cost = 50

		days_remove = 180

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			country_event = britain.128
		}

		ai_will_do = {
			base = 1000
		}
	}

	#Continue to invest in Indian tea
	eoanb_decision_ENG_invest_india_tea = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_idea = ENG_idea_indian_tea1
			RAJ = {
				is_subject_of = ENG
			}
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_idea = ENG_idea_indian_tea1
		}

		fire_only_once = yes

		cost = 150

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_tooltip_effect = yes
			RAJ = {
				add_ideas = CAN_idea_Exports_to_Britain
			}
			757 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = infrastructure level = 1 instant_build = yes }
			}
			757 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = industrial_complex level = 1 instant_build = yes }
			}
			432 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = infrastructure level = 1 instant_build = yes }
			}
			432 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = industrial_complex level = 1 instant_build = yes }
			}
			ENG = {
				swap_ideas = {
					remove_idea = ENG_idea_indian_tea1
					add_idea = ENG_idea_indian_tea2
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

ENG_decision_category_worker_unrest = {

	#Improve Conditions for Workers
	eoanb_decision_ENG_improve_worker_conditions = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			custom_trigger_tooltip = {
				tooltip = eoanb_ttt_ENG_decision_improve_worker_conditions
			}
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
		}

		fire_only_once = no

		cost = 75

		days_re_enable = 180

		days_remove = 90

		complete_effect = {
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			custom_effect_tooltip = eoanb_tt_ENG_decision_improve_worker_conditions
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 1 }
			}
		}

		remove_effect = {
			add_stability = 0.02
		}

		modifier = {
			industrial_capacity_factory = -0.05
			industrial_capacity_dockyard = -0.05
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Shorten the Workday
	eoanb_decision_ENG_shorten_workday = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			custom_trigger_tooltip = {
				tooltip = eoanb_ttt_ENG_decision_shorten_workday
				check_variable = { ENG_worker_unrest > 10 }
			}
		}

		visible = {
			#NOT = { has_idea = eight_hour_work_day }
			check_variable = { ENG_worker_unrest > 0 }
		}

		fire_only_once = no

		cost = 200

		days_re_enable = 1000

		complete_effect = {
			add_popularity = { ideology = social_egalitarianism popularity = 0.03 }
			custom_effect_tooltip = eoanb_tt_ENG_decision_shorten_workday
			#if = {
			#	limit = {
			#		has_idea = unlimited_work_day
			#	}
			#	swap_ideas = {
			#		remove_idea = unlimited_work_day
			#		add_idea = fourteen_hour_work_day
			#	}
			#}
			#if = {
			#	limit = {
			#		has_idea = fourteen_hour_work_day
			#	}
			#	swap_ideas = {
			#		remove_idea = fourteen_hour_work_day
			#		add_idea = twelve_hour_work_day
			#	}
			#}
			#if = {
			#	limit = {
			#		has_idea = twelve_hour_work_day
			#	}
			#	swap_ideas = {
			#		remove_idea = twelve_hour_work_day
			#		add_idea = ten_hour_work_day
			#	}
			#}
			#if = {
			#	limit = {
			#		has_idea = ten_hour_work_day
			#	}
			#	swap_ideas = {
			#		remove_idea = ten_hour_work_day
			#		add_idea = eight_hour_work_day
			#	}
			#}
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 10 }
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.1
				check_variable = { ENG_worker_unrest < 30 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 50 }
			}
		}

	}

	#Ban Trade Unions
	eoanb_decision_ENG_trade_unions_ban = {

		icon = generic_civil_support

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				OR = {
					has_government = social_egalitarianism
					has_government = ideology_radical_socialism
				}
			}
		}

		visible = {
			NOT = { has_idea = ENG_idea_trade_unions_banned }
			has_country_flag = ENG_first_TU
		}

		fire_only_once = no

		cost = 100

		days_re_enable = 30

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_trade_unions_ban
			add_ideas = ENG_idea_trade_unions_banned
			hidden_effect = {
				add_to_variable = { var = ENG_worker_unrest value = 3 }
				news_event = { id = britain.64 random = 24 }
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0.5
				social_egalitarianism < 0.4
			}
			modifier = {
				factor = 0.25
				social_egalitarianism < 0.35
			}
			modifier = {
				factor = 0
				social_egalitarianism < 0.3
			}
		}

	}

	#Lift the Ban on Trade Unions
	eoanb_decision_ENG_trade_unions_reallow = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			custom_trigger_tooltip = {
				tooltip = eoanb_ttt_ENG_decision_trade_unions_reallow
				check_variable = { ENG_worker_unrest > 5 }
			}
		}

		visible = {
			has_idea = ENG_idea_trade_unions_banned
			check_variable = { ENG_worker_unrest > 0 }
		}

		fire_only_once = no

		cost = 100

		days_re_enable = 30

		complete_effect = {
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			custom_effect_tooltip = eoanb_tt_ENG_decision_trade_unions_reallow
			remove_ideas = ENG_idea_trade_unions_banned
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 3 }
			}
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				NOT = {
					OR = {
						has_government = social_egalitarianism
						has_government = ideology_radical_socialism
					}
				}
			}
		}

	}

	#Crime to Strike
	eoanb_decision_ENG_crime_to_strike = {

		icon = eng_trade_unions_support

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_pro_employer_legislation
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
		}

		fire_only_once = yes

		cost = 100

		days_remove = 90

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_worker_unrest_decrease_2
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 2 }
			}
		}

		remove_effect = {
			add_stability = 0.02
		}

		modifier = {
			industrial_capacity_factory = -0.05
			industrial_capacity_dockyard = -0.05
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Give free reign to businesses
	eoanb_decision_ENG_free_reign_business = {

		icon = eng_trade_unions_support

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_pro_employer_legislation
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
		}

		fire_only_once = yes

		cost = 50

		days_remove = 70

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_worker_unrest_decrease_1
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 1 }
			}
		}

		remove_effect = {
			add_stability = -0.01
		}

		modifier = {
			industrial_capacity_factory = 0.05
			industrial_capacity_dockyard = 0.05
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Send in the police
	eoanb_decision_ENG_send_police = {

		icon = GFX_decision_oppression

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		fire_only_once = no

		cost = 150

		days_remove = 30

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_worker_unrest_decrease_1
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 1 }
			}
		}

		remove_effect = {
			add_stability = 0.01
		}

		modifier = {
			industrial_capacity_factory = -0.05
			industrial_capacity_dockyard = -0.05
		}

		ai_will_do = {
			base = 80
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Send in the army
	eoanb_decision_ENG_send_army = {

		icon = GFX_decision_oppression

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		fire_only_once = no

		cost = 250

		days_remove = 50

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_worker_unrest_decrease_2
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 2 }
			}
		}

		remove_effect = {
			add_stability = 0.05
		}

		modifier = {
			industrial_capacity_factory = -0.15
			industrial_capacity_dockyard = -0.15
		}

		ai_will_do = {
			base = 20
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Arrest instigators
	eoanb_decision_ENG_arrest_instigators = {

		icon = generic_independence

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
			has_completed_focus = ENG_focus_no_more_prudction_delays
		}

		fire_only_once = no

		cost = 100

		days_remove = 25

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_worker_unrest_decrease_2
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 2 }
			}
		}

		remove_effect = {
			add_stability = 0.05
		}

		modifier = {
			industrial_capacity_factory = -0.02
			industrial_capacity_dockyard = -0.02
		}

		ai_will_do = {
			base = 80
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}

	#Social Aid to Workers (FOCUS)
	eoanb_decision_ENG_worker_social_aid = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			custom_trigger_tooltip = {
				tooltip = eoanb_ttt_ENG_decision_improve_worker_conditions
			}
		}

		visible = {
			check_variable = { ENG_worker_unrest > 0 }
			has_completed_focus = ENG_focus_assist_the_poor
		}

		fire_only_once = no

		cost = 25

		days_re_enable = 180

		complete_effect = {
			add_popularity = { ideology = social_egalitarianism popularity = 0.01 }
			custom_effect_tooltip = eoanb_tt_ENG_decision_improve_worker_conditions
			hidden_effect = {
				subtract_from_variable = { var = ENG_worker_unrest value = 1 }
			}
		}

		ai_will_do = {
			base = 10
			modifier = {
				factor = 0.25
				check_variable = { ENG_worker_unrest < 20 }
			}
			modifier = {
				factor = 0
				check_variable = { ENG_worker_unrest < 10 }
			}
		}

	}
	
	ENG_bwr_looming = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
			modifier = {
				add = 200
				divisions_in_state = {
					state = 952
					size > 1
				}
			}
			modifier = {
				add = 200
				divisions_in_state = {
					state = 129
					size > 1
				}
			}
			modifier = {
				add = 200
				divisions_in_state = {
					state = 133
					size > 1
				}
			}
		}
		available = {
			has_completed_focus = ENG_focus_no_more_prudction_delays
			custom_trigger_tooltip = {
				tooltip = "Worker unrest is less than 5"
				check_variable = { ENG_worker_unrest < 5 }
			}
		}

		days_mission_timeout = 720
		fire_only_once = yes
		
		activation = {
			TAG = ENG
			OR = {
				has_idea = ENG_idea_working_class_exploitation
				has_idea = ENG_idea_working_class_exploitation_2
				has_idea = ENG_idea_working_class_exploitation_3
				has_idea = ENG_idea_working_class_exploitation_4
			}
			has_completed_focus = ENG_focus_provide_false_promises
			check_variable = { ENG_worker_unrest > 9 }
			NOT = {
				AND = {
					is_ai = yes
					is_historical_focus_on = yes
				}
			}
		}
		visible = {
			has_completed_focus = ENG_focus_provide_false_promises
		}
			
		highlight_states = {
			highlight_state_targets = {
				state = 128
				state = 132
				#state = 126
			}
		}

		is_good = no

		timeout_effect = {
			country_event = {id=britain.114}
		}

		complete_effect = {
			add_political_power = 50
		    add_stability = 0.05
			add_war_support = 0.05
        }
    }

	ENG_defeat_BWR = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			#controls_state = 126
			controls_state = 128
			controls_state = 130
			controls_state = 132
		}

		days_mission_timeout = 720

		activation = {
			BWR={exists = yes}
			has_war_with = BWR
		}

		cancel_trigger = {
			NOT = {
				has_war_with = BWR
			}
		}

		visible = {
			tag = ENG
		}

		is_good = no

		timeout_effect = {
			country_event = {id=britain.116}
			add_stability = -0.4
			add_political_power = -400
			add_war_support = -0.3
			BWR={
				transfer_state = 123
				transfer_state = 127
				transfer_state = 952
				transfer_state = 125
				transfer_state = 122
				transfer_state = 129
				transfer_state = 131
				transfer_state = 121
				transfer_state = 136
				transfer_state = 120
				#transfer_state = 1152
				white_peace = ENG
			}
		}

		complete_effect = {
		    add_stability = 0.05
			annex_country = {
   				target = BWR
    			transfer_troops = no
			}
        }
	}
}

eoanb_category_war_measures = {

	#Draft Emergency Regiments in India to fight the Sepoy
	eoanb_decision_ENG_emergency_sepoy_fighters = {

		icon = generic_prepare_civil_war

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_defend_jewel
			RAJ = { has_idea = ENG_idea_RAJ_gse_act }
		}

		visible = {
			RAJ = { has_war_with = SRS }
			RAJ = { has_full_control_of_state = 431 }
		}

		fire_only_once = yes

		cost = 20

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_decision_ENG_emergencyunits_sepoy
			hidden_effect = {
				load_oob = "ENG_emergency_divisions_sepoy"
			}
		}

		ai_will_do = {
			base = 1000
		}

	}

	#Call the VRC to defend Britain
	eoanb_decision_ENG_emergency_call_vrc = {

		icon = generic_prepare_civil_war

        allowed = {
            tag = ENG
        }

		available = {
			controls_state = 952
			ENG_being_invaded = yes
		}

		visible = {
			has_completed_focus = ENG_focus_the_vrc
			OR = {
				has_idea = ENG_idea_volunteer_movement
				has_idea = ENG_idea_volunteer_movement_2
				has_idea = ENG_idea_volunteer_movement_3
			}
		}

		fire_only_once = yes

		cost = 0

		complete_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_emergency_call_vrc
			hidden_effect = {
				load_oob = "ENG_emergency_vrc_deployment"
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

eoanb_category_military = {

	ENG_decision_regular_exercises_1 = {
	
		icon = generic_prepare_civil_war

		available = {
			has_completed_focus = ENG_focus_regular_exercises
			IF = {
				CAN = {
					is_subject_of = ENG
				}
			}
		}
		allowed = { TAG = ENG }		
		visible = {
			has_completed_focus = ENG_focus_regular_exercises
		}
		
		fire_only_once = no

		cost = 50

		days_remove = 120

		complete_effect = {
			add_manpower = -500
			add_opinion_modifier = {
				target = CAN
				modifier = improved_relations_light
			}
		}

		modifier = {
			experience_gain_army_factor = 0.15
		}

		remove_effect = {
			add_manpower = 500
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	ENG_decision_regular_exercises_2 = {
	
		icon = generic_prepare_civil_war
		allowed = { TAG = ENG }
		available = {
			has_completed_focus = ENG_focus_regular_exercises
			IF = {
				SAF = {
					is_subject_of = ENG
				}
			}
		}
		
		visible = {
			has_completed_focus = ENG_focus_regular_exercises
		}
		
		fire_only_once = no

		cost = 50

		days_remove = 120

		complete_effect = {
			add_manpower = -500
			add_opinion_modifier = {
				target = SAF
				modifier = improved_relations_light
			}
		}

		modifier = {
			experience_gain_army_factor = 0.15
		}

		remove_effect = {
			add_manpower = 500
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	ENG_decision_regular_exercises_3 = {
	
		icon = generic_prepare_civil_war
		allowed = { TAG = ENG }
		available = {
			has_completed_focus = ENG_focus_regular_exercises
			OR = {
				AST = {
					is_subject_of = ENG
				}
				NSW = {
					is_subject_of = ENG
				}
			}
		}
		
		visible = {
			has_completed_focus = ENG_focus_regular_exercises
		}
		
		fire_only_once = no

		cost = 50

		days_remove = 120

		complete_effect = {
			add_manpower = -500
			add_opinion_modifier = {
				target = NSW
				modifier = improved_relations_light
			}
		}

		modifier = {
			experience_gain_army_factor = 0.15
		}

		remove_effect = {
			add_manpower = 500
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	ENG_decision_regular_exercises_4 = {
	
		icon = generic_prepare_civil_war
		allowed = { TAG = ENG }
		available = {
			has_completed_focus = ENG_focus_regular_exercises
			IF = {
				RAJ = {
					is_subject_of = ENG
				}
			}
		}
		
		visible = {
			has_completed_focus = ENG_focus_regular_exercises
		}
		
		fire_only_once = no

		cost = 50

		days_remove = 120

		complete_effect = {
			add_manpower = -500
			add_opinion_modifier = {
				target = RAJ
				modifier = improved_relations_light
			}
		}

		modifier = {
			experience_gain_army_factor = 0.15
		}

		remove_effect = {
			add_manpower = 500
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}
	
	ENG_decision_regular_exercises_5 = {
	
		icon = generic_prepare_civil_war
		allowed = { TAG = ENG }
		available = {
			has_completed_focus = ENG_focus_regular_exercises
			IF = {
				NZL = {
					is_subject_of = ENG
				}
			}
		}
		
		visible = {
			has_completed_focus = ENG_focus_regular_exercises
		}
		
		fire_only_once = no

		cost = 50

		days_remove = 120

		complete_effect = {
			add_manpower = -500
			add_opinion_modifier = {
				target = NZL
				modifier = improved_relations_light
			}
		}

		modifier = {
			experience_gain_army_factor = 0.15
		}

		remove_effect = {
			add_manpower = 500
			army_experience = 10
		}
		
		ai_will_do = {
			base = 10
		}
	}

	#Send a Royal Commission to the VRC
	eoanb_decision_ENG_commission_vrc = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_vrc_reforms
		}

		visible = {
			has_completed_focus = ENG_focus_vrc_reforms
			OR = {
				has_idea = ENG_idea_volunteer_movement
				has_idea = ENG_idea_volunteer_movement_2
				has_idea = ENG_idea_volunteer_movement_3
			}
		}

		fire_only_once = yes

		cost = 20

		complete_effect = {
			add_political_power = 10
			army_experience = 5
			add_war_support = 0.02
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1862.6.1
			}
		}
	}

	#The Volunteer Act
	eoanb_decision_ENG_vrc_volunteer_act = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			has_completed_focus = ENG_focus_vrc_reforms
			threat > 0.05
		}

		visible = {
			has_completed_focus = ENG_focus_vrc_reforms
			OR = {
				has_idea = ENG_idea_volunteer_movement
				has_idea = ENG_idea_volunteer_movement_2
				has_idea = ENG_idea_volunteer_movement_3
			}
		}

		fire_only_once = yes

		cost = 50

		complete_effect = {
			add_manpower = 12000
			army_experience = 20
			add_war_support = 0.02
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1863.6.1
			}
		}
	}

	#Finance military equipment for Canada
	eoanb_decision_ENG_finance_military_CAN = {

		icon = generic_industry

        allowed = {
            tag = ENG
        }

		available = {
			CAN = { is_subject_of = ENG }
		}

		visible = {
			country_exists = CAN
			has_completed_focus = ENG_focus_new_military_colonial_policy
		}

		fire_only_once = no

		cost = 50

		days_re_enable = 365

		complete_effect = {
			CAN = {
				add_manpower = 1000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 100
					producer = ENG
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment
					amount = 100
					producer = ENG
				}
			}
		}

		#Only when the colonies are weak
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				CAN = { num_divisions > 5 }
			}
		}
	}

	#Finance military equipment for Australia
	eoanb_decision_ENG_finance_military_AST = {

		icon = generic_industry

        allowed = {
            tag = ENG
        }

		available = {
			AST = { is_subject_of = ENG }
		}

		visible = {
			country_exists = AST
			has_completed_focus = ENG_focus_new_military_colonial_policy
		}

		fire_only_once = no

		cost = 50

		days_re_enable = 365

		complete_effect = {
			AST = {
				add_manpower = 1000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 100
					producer = ENG
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment
					amount = 100
					producer = ENG
				}
			}
		}

		#Only when the colonies are weak
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				AST = { num_divisions > 5 }
			}
		}
	}

	#Finance military equipment for New Zealand
	eoanb_decision_ENG_finance_military_NZL = {

		icon = generic_industry

        allowed = {
            tag = ENG
        }

		available = {
			NZL = { is_subject_of = ENG }
		}

		visible = {
			country_exists = NZL
			has_completed_focus = ENG_focus_new_military_colonial_policy
		}

		fire_only_once = no

		cost = 50

		days_re_enable = 365

		complete_effect = {
			NZL = {
				add_manpower = 1000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 100
					producer = ENG
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment
					amount = 100
					producer = ENG
				}
			}
		}

		#Only when the colonies are weak
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				NZL = { num_divisions > 5 }
			}
		}
	}

	#Finance military equipment for South Africa
	eoanb_decision_ENG_finance_military_SAF = {

		icon = generic_industry

        allowed = {
            tag = ENG
        }

		available = {
			SAF = { is_subject_of = ENG }
		}

		visible = {
			country_exists = SAF
			has_completed_focus = ENG_focus_new_military_colonial_policy
		}

		fire_only_once = no

		cost = 50

		days_re_enable = 365

		complete_effect = {
			SAF = {
				add_manpower = 1000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 100
					producer = ENG
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment
					amount = 100
					producer = ENG
				}
			}
		}

		#Only when the colonies are weak
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				SAF = { num_divisions > 5 }
			}
		}
	}

	ENG_decision_demand_PRS_naval_treaty_compliance = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			if = {
				limit = {
					FROM = {
						original_tag = PRS
					}
				}
				FROM = {
					custom_trigger_tooltip = {
						tooltip = ENG_decision_demand_PRS_naval_treaty_compliance_trigger_tt
						naval_strength_comparison = {
							other = ENG
							ratio > 0.3
						}
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_war_with = ROOT }
				}
			}
		}

		cost = 50

		fire_only_once = no

		ai_will_do = {
			base = 10000
		}

		visible = {
			original_tag = ENG
			has_idea = ENG_idea_PRS_naval_treaty
			PRS = { has_idea = PRS_idea_ENG_naval_treaty }
			FROM = {
				original_tag = PRS
				naval_strength_comparison = {
					other = ENG
					ratio > 0.25
				}
				NOT = { is_in_faction_with = ROOT }
				NOT = { has_war_with = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_country_flag = ENG_demanding_ship_reduction_flag
				activate_mission = ENG_mission_demand_PRS_naval_treaty_compliance
				country_event = { id = prussia.849 hours = 6 }
				custom_effect_tooltip = ENG_decision_demand_PRS_naval_treaty_compliance_effect_tt
			}
		}
	}

	ENG_mission_demand_PRS_naval_treaty_compliance = { # ENG demanding scuttling of ships to maintain Anglo-Prussian Naval Treaty - PRS Mission

		icon = generic_naval

		available = {
			if = {
				limit = {
					original_tag = PRS
				}
				custom_trigger_tooltip = {
					tooltip = ENG_mission_demand_PRS_naval_treaty_compliance_trigger_tt
					naval_strength_comparison = {
						other = ENG
						ratio < 0.26
					}
				}
			}
		}

		days_mission_timeout = 60

		fire_only_once = no

		activation = {
			has_country_flag = ENG_demanding_ship_reduction_flag
		}

		visible = {
			has_country_flag = ENG_demanding_ship_reduction_flag
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			clr_country_flag = ENG_demanding_ship_reduction_flag
			ENG = { country_event = { id = prussia.850 } }
		}

		timeout_effect = {
			clr_country_flag = ENG_demanding_ship_reduction_flag
			ENG = { country_event = { id = prussia.851 } }
		}
	}
}

political_actions = {

	#Send Peacekeeping Forces to RAJ
	eoanb_decision_ENG_send_RAJ_peacekeepers = {

		icon = generic_civil_support

        allowed = {
            tag = ENG
        }

		available = {
			has_manpower > 2000
			has_equipment = {
				infantry_equipment > 199
			}
			has_equipment = {
				uniform_equipment > 199
			}
			has_equipment = {
				convoy > 2
			}
		}

		visible = {
			RAJ = { is_subject_of = ENG }
			RAJ = {
				check_variable = {
					var = ENG_RAJ_revolt_risk
					value = 2
					compare = greater_than_or_equals
				}
			}
		}

		fire_only_once = no

		cost = 50

		days_remove = 10

		days_re_enable = 180

		complete_effect = {
			add_manpower = -2000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = -200
			}
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = -200
			}
			add_equipment_to_stockpile = {
				type = convoy
				amount = -3
			}
		}

		remove_effect = {
			add_equipment_to_stockpile = {
				type = convoy
				amount = 3
				producer = ENG
			}
			custom_effect_tooltip = eoanb_tt_decision_ENG_RAJ_peacekeepers
			hidden_effect = {
				RAJ = {
					subtract_from_variable = {
						var = ENG_RAJ_revolt_risk
						value = 2
					}
				}
			}
		}

		#AI will do if revolt risk exceeds 10
		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				NOT = {
					RAJ = {
						check_variable = {
							var = ENG_RAJ_revolt_risk
							value = 10
							compare = greater_than_or_equals
						}
					}
				}
			}
		}
	}

	ENG_mission_defeat_sepoy_rebellion = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			OR = {
				controls_state = 439
				SRS = {
					surrender_progress > 0.6
				}
			}
		}

		days_mission_timeout = 660

		activation = {
			SRS={
				exists = yes
				has_country_flag = ENG_sepoy_rebellious_state_diplomacy_flag
			}
			has_war_with = SRS
		}

		cancel_trigger = {
			NOT = {
				has_war_with = SRS
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 439
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			SRS = {
				country_event = {id=britishindia.14}
			}
			add_stability = -0.2
			add_political_power = -200
			add_war_support = -0.2
		}

		complete_effect = {
		   RAJ = {
				annex_country = {
					target = SRS
					transfer_troops = no
				}
				annex_country = {
					target = OUD
					transfer_troops = no
				}
				annex_country = {
					target = GWA
					transfer_troops = no
				}
		    }
			country_event = britishindia.1
		    add_stability = 0.05
			add_war_support = 0.05
        }
    }

	

	ENG_mission_abyssinian_epedition = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			ETH = {
				OR = {
					surrender_progress > 0.8
				}
			}
		}

		days_mission_timeout = 215

		activation = {
			always = no
		}

		cancel_trigger = {
			NOT = {
				has_war_with = ETH
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 816
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			ETH = {
				country_event = { id = britishafrica.53 }
			}
			add_stability = -0.2
			add_political_power = -200
			add_war_support = -0.2
			white_peace = ETH
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = ENG_abyssinian_epedition_port
					}
					EGY = {
						transfer_state = 550
					}
				}
			}
		}

		complete_effect = {
			ETH = {
				country_event = britishafrica.54
		    }
		    add_stability = 0.1
			add_war_support = 0.1
			add_political_power = 100
			white_peace = ETH
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = ENG_abyssinian_epedition_port
					}
					EGY = {
						transfer_state = 550
					}
				}
			}
        }
    }

	#Request Access to Zula
	eoanb_decision_ENG_zula_port = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			EGY = {
				owns_state = 550
			}
		}

		visible = {
			has_active_mission = ENG_mission_abyssinian_epedition
		}

		fire_only_once = yes

		cost = 50

		complete_effect = {
			transfer_state = 550
			hidden_effect = {
				if = {
					limit = {
						is_ai = yes
					}
					550 = {
						create_unit = {
							division = "name = \"Abyssinian Expedition\" division_template = \"Line Infantry Regiment\"	start_experience_factor = 0.5"
							owner = ENG
						}
					}
				}
				set_country_flag = ENG_abyssinian_epedition_port
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	ENG_mission_first_boer_war = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			TRV = {
				surrender_progress > 0.8
			}
		}

		days_mission_timeout = 100

		activation = {
			always = no
		}

		cancel_trigger = {
			NOT = {
				has_war_with = TRV
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 275
				state = 1143
				state = 1140
			}
		}

		is_good = no

		timeout_effect = {
			add_stability = -0.2
			add_political_power = -200
			add_war_support = -0.2
			white_peace = TRV
		}

		complete_effect = {
		    add_stability = 0.1
			add_war_support = 0.1
			add_political_power = 100
			white_peace = TRV
			TRV = {
				set_cosmetic_tag = TRV_ENG_dominated
				add_ideas = AFR_british_colony
				add_ideas = TRV_idea_useless_volksraad
				add_popularity = { ideology = autocracy popularity = 1 }
				set_politics = { ruling_party = autocracy elections_allowed = no }
			}
        }
    }

	#Grant the Canadian Confederation land from the Hudson Bay Company
	eoanb_decision_ENG_grant_CAN_HBC_land = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			HBC = {
				owns_state = 332
				owns_state = 466
				owns_state = 682
			}
		}

		visible = {
			CAN = { is_subject_of = ENG }
			HBC = { is_subject_of = ENG }
			CAN = { has_cosmetic_tag = CAN_confederation }
		}

		fire_only_once = yes

		cost = 25

		complete_effect = {
			CAN = { country_event = { id = britishcanada.8 days = 1 } }
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1864.10.1
			}
		}
	}

	# Defend OTO against RUS
	eoanb_decision_ENG_defend_OTO = {

		icon = generic_decision

        allowed = {
            tag = ENG
        }

		available = {
			OTO = {
				has_idea = ENG_british_protection
				has_defensive_war = yes
				has_war_with = RUS
				surrender_progress > 0.2
			}
			NOT = {
				OR = {
					has_non_aggression_pact_with = RUS
					is_in_faction_with = RUS
				}
			}
		}

		visible = {
			OTO = {
				has_idea = ENG_british_protection
				has_war_with = RUS
			}
		}

		fire_only_once = no

		cost = 0

		complete_effect = {
			add_to_war = {
				targeted_alliance = OTO
				enemy = RUS
				hostility_reason = asked_to_join
			}
		}

		ai_will_do = {
			base = 0
		}
	}
	
	ENG_defeat_egyptian_revolt = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			EGY = {
				surrender_progress > 0.7
			}
		}

		days_mission_timeout = 165

		activation = {
			always = no
		}

		cancel_trigger = {
			NOT = {
				has_war_with = EGY
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 446
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			white_peace = {
				tag = EGY
			}
			add_stability = -0.25
			add_political_power = -250
			add_war_support = -0.25
		}

		complete_effect = {
			white_peace = {
				tag = EGY
			}
			add_stability = 0.05
			add_war_support = 0.05
			EGY = {
				add_ideas = AFR_british_protectorate
			}
			set_autonomy = {
				target = EGY
				autonomous_state = autonomy_protectorate
				freedom_level = 0.1
			}
		}
	}

	ENG_defeat_burmese_war = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			BRM = {
				surrender_progress > 0.7
			}
		}

		days_mission_timeout = 65

		activation = {
			always = no
		}

		cancel_trigger = {
			NOT = {
				has_war_with = BRM
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 640
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			white_peace = {
				tag = BRM
			}
			add_stability = -0.25
			add_political_power = -250
			add_war_support = -0.25
			BRM = {
				transfer_state = 288
				transfer_state = 1075
			}
		}

		complete_effect = {
			add_stability = 0.05
			add_war_support = 0.05
			RAJ = {
				annex_country = {
					target = BRM
					transfer_troops = no
				}
				annex_country = {
					target = SHN
					transfer_troops = no
				}
			}
		}
	}

	# Mission for sending troops to UK Gold Coast
	Anglo_ashanti_war_troops_mission_1863 = {
		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			army_manpower_in_state = { 
				amount > 2500
				state = 847
			}
		}

		days_mission_timeout = 365

		activation = {
			always = no
		}

		#cancel_trigger = {
		#	
		#}

		highlight_states = {
			highlight_state_targets = {
				state = 847
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			ASH = { 
				add_timed_idea = {
					idea = ENG_idea_ashanti_win
					days = 183 
				} 
			}
			ENG = { 
				add_timed_idea = {
					idea = ENG_idea_ashanti_lose
					days = 183 
				} 
			}
		}

		complete_effect = {
			ASH = { add_timed_idea = {
			idea = ENG_idea_ashanti_lose
			days = 183 } 
			}
			ENG = { add_timed_idea = {
			idea = ENG_idea_ashanti_win
			days = 183 } }
		}
	}

	# Mission for sending troops to Gold Coast in 1873
	Anglo_ashanti_war_troops_mission_1873 = {
		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			army_manpower_in_state = { 
				amount > 2500
				state = 847 
			}
		}

		days_mission_timeout = 365

		activation = {
			always = no
		}

		#cancel_trigger = {
		#	
		#}

		highlight_states = {
			highlight_state_targets = {
				state = 847
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			ASH = { 
				set_state_owner = 1108
				set_state_owner = 847
			} 
			ENG = { 
				remove_state_claim = 1108
				remove_state_claim = 847
			}
		}

		complete_effect = {
			ASH = { remove_state_claim = 1108
					remove_state_claim = 847
					add_timed_idea = {
						idea = ENG_idea_ashanti_lose
						days = 183 }
					country_event = britishafrica.87
					}						
			ENG = { add_timed_idea = {
			idea = ENG_idea_ashanti_win
			days = 183 } }
		}
	}

}

eoanb_category_projects = {

	#Construct Fortifications in key areas
	eoanb_decision_ENG_fortify_land_strategic = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			#has_full_control_of_state = 126
			has_full_control_of_state = 127
			num_of_civilian_factories_available_for_projects > 3
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_strategic_fortifications
		}

		fire_only_once = yes

		cost = 0

		days_remove = 90

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

		remove_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_strategic_fortifications
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				#126 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 11374 } }
				127 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 3501 } }
				127 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 507 } }
			}
		}

		modifier = {
			civilian_factory_use = 3
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1859.1.1
			}
		}
	}

	#Construct Fortifications on the coast
	eoanb_decision_ENG_fortify_land_coast = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_full_control_of_state = 123
			has_full_control_of_state = 127
			num_of_civilian_factories_available_for_projects > 3
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_fortify_coast
		}

		fire_only_once = yes

		cost = 0

		days_remove = 90

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

		remove_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_coastal_fortifications
			set_temp_variable = { money_to_gain = -5 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				123 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 540 } }
				127 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 9458 } }
				127 = { add_building_construction = { type = bunker level = 1 instant_build = yes province = 11446 } }
			}
		}

		modifier = {
			civilian_factory_use = 3
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1859.1.1
			}
		}
	}

	#Construct Coastal Batteries in the East
	eoanb_decision_ENG_fortify_coast_east = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			#has_full_control_of_state = 126
			has_full_control_of_state = 127
			num_of_civilian_factories_available_for_projects > 5
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_coastal_batteries_east
		}

		fire_only_once = yes

		cost = 0

		days_remove = 150

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

		remove_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_coastal_batteries_east
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				#126 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 11374 } }
				127 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 9458 } }
				127 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 11446 } }
				127 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 3501 } }
			}
		}

		modifier = {
			civilian_factory_use = 5
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1860.1.1
			}
		}
	}

	#Construct Coastal Batteries in the Wast
	eoanb_decision_ENG_fortify_coast_west = {

		icon = generic_construction

        allowed = {
            tag = ENG
        }

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			has_full_control_of_state = 123
			num_of_civilian_factories_available_for_projects > 5
		}

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_coastal_batteries_west
		}

		fire_only_once = yes

		cost = 0

		days_remove = 150

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

		remove_effect = {
			custom_effect_tooltip = eoanb_tt_ENG_decision_coastal_batteries_west
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			hidden_effect = {
				123 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 3422 } }
				123 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 3463 } }
				123 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 540 } }
				123 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 6526 } }
			}
		}

		modifier = {
			civilian_factory_use = 5
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				date < 1860.1.1
			}
		}
	}

}

ENG_decision_category_irish_unrest = {

    ENG_decision_ulster_revival = {

        icon = eng_trade_unions_support

		available = {
		   date > 1859.6.1
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = britainirishunrest.2 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }


	ENG_decision_deasy_act = {

        icon = eng_trade_unions_support

		available = {
		   date > 1860.6.1
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = britainirishunrest.3 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }


	ENG_royal_tour_ireland_1861 = {

        icon = eng_trade_unions_support

		available = {
		   date > 1861.8.21
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = britainirishunrest.4 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_riots_corck = {
        icon = generic_civil_support
		available = {
		   has_country_flag = eng_riots_corck
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = britainirishunrest.6 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_close_down_fenian_newspaper = {

        icon = eng_trade_unions_support

		available = {
		   has_country_flag = eng_fenian_newspaper
		   has_country_flag = eng_fenian_leader_arrest
		   date > 1865.9.13
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    add_political_power = 50
			add_stability = 0.02
			add_to_variable = { var = ENG_irish_unrest value = 2 }
			custom_effect_tooltip = eoanb_tt_irish_unrest_increase_2
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_fenian_leader_arrest = {

        icon = generic_civil_support

		available = {
		   date > 1865.4.13
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = britainirishunrest.11 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_fenian_plant_informants = {

        icon = generic_civil_support

		available = {
		   date > 1860.1.1
		}
		visible ={
			OR={
				has_country_flag = eng_fenian_uprising_impending
				date < 1869.1.1
			}
		}

		#fire_only_once = yes

		days_remove = 30
		days_re_enable = 10
		cost = 15

		complete_effect={
			add_manpower = -5
		}

		remove_effect = {
			add_manpower = 4
			if={
				limit={
					NOT={has_variable = ENG_IRE_fenian_informants}
				}
				set_variable = { ENG_IRE_fenian_informants = 1 }
			}
			else={
				add_to_variable = {ENG_IRE_fenian_informants = 1}
			}
			custom_effect_tooltip = ENG_IRE_increase_informants
		}

		ai_will_do = {
			base = 1000
			modifier = {
				factor = 0
				check_variable = {ENG_IRE_fenian_informants > 16}
			}
		}
    }

	ENG_bring_order_ireland = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
			modifier = {
				add = 200
				divisions_in_state = {
					state = 134
					size > 1
				}
			}
			modifier = {
				add = 200
				divisions_in_state = {
					state = 135
					size > 1
				}
			}
			modifier = {
				add = 200
				divisions_in_state = {
					state = 113
					size > 1
				}
			}
		}
		available = {
			OR={
				AND={#put down with force
					divisions_in_state = {
						state = 134
						size > 1
					}
					divisions_in_state = {
						state = 135
						size > 1
					}
					divisions_in_state = {
						state = 113
						size > 1
					}
				}
				AND={#put down with informants
					has_political_power > 50
					custom_trigger_tooltip = {
						tooltip = ENG_IRE_informants_greater_15
						check_variable = {ENG_IRE_fenian_informants > 14}
					}
				}
			}
		}

		days_mission_timeout = 180

		activation = {
			has_country_flag = fenian_rising_dublin
			has_idea = ENG_unrest_in_ireland
			IRE={exists = no}
		}

		#cancel_trigger = {
		#
		#}

		highlight_states = {
			highlight_state_targets = {
				state = 134
				state = 135
				state = 113
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			country_event = {id=britainirishunrest.14}
		}

		complete_effect = {
		    hidden_effect = {
					clr_country_flag = fenian_rising_dublin
			        set_country_flag = fenian_rising_crushed
					remove_ideas = { ENG_fenian_uprising_ireland }
            }
			if={
				limit ={
					divisions_in_state = {
						state = 134
						size > 1
					}
					divisions_in_state = {
						state = 135
						size > 1
					}
					divisions_in_state = {
						state = 113
						size > 1
					}
				}
				add_political_power = 100
			}
			else ={
				add_political_power = 50
			}
		    add_stability = 0.05
			add_war_support = 0.05
        }
    }

	ENG_defeat_1867_ireland_rebellion = {

		icon= generic_civil_support
		ai_will_do = {
			factor = 1000
		}
		available = {
			controls_state = 119
			controls_state = 134
			controls_state = 135
			controls_state = 119
		}

		days_mission_timeout = 120

		activation = {
			IRE={exists = yes}
			has_war_with = IRE
			has_country_flag = IRE_in_revolt
		}

		#cancel_trigger = {
		#
		#}

		highlight_states = {
			highlight_state_targets = {
				state = 134
				state = 135
				state = 113
				state = 119
			}
		}

		#visible = {
		#	has_country_flag = fenian_rising_dublin
		#	tag = ENG
		#}

		is_good = no

		timeout_effect = {
			country_event = {id=britainirishunrest.13}
			add_stability = -0.2
			add_political_power = -200
			add_war_support = -0.02
			IRE={
				transfer_state = 119
				white_peace = ENG
			}
			ENG = {
				remove_ideas = ENG_irish_unrest
			}
		}

		complete_effect = {
		    hidden_effect = {
				clr_country_flag = fenian_rising_dublin
			    set_country_flag = fenian_rising_crushed	
            }
			remove_ideas = { ENG_fenian_uprising_ireland }
			if={
				limit ={
					divisions_in_state = {
						state = 134
						size > 1
					}
					divisions_in_state = {
						state = 135
						size > 1
					}
					divisions_in_state = {
						state = 113
						size > 1
					}
				}
				add_political_power = 100
			}
			else ={
				add_political_power = 50
			}
		    add_stability = 0.05
			add_war_support = 0.05
        }
    }
}

ENG_decision_category_british_industry = {
    
	ENG_mission_sawmills_lothian = {

        icon = generic_construction

		allowed = { always = no }

        available = {
			owns_state = 121
			121 = { logging_camp > 0 }
        }

        activation = {
            always = no #has_completed_focus = ENG_focus_forestry_investments
        }

        highlight_states = {
			state = 121
		}

        fire_only_once = yes

        is_good = no
        days_mission_timeout = 3200
        timeout_effect = {
            add_political_power = -80
            add_stability = -0.02
        }
        complete_effect = {
            121 = { add_extra_state_shared_building_slots = 2 }
			random_list = {
                50 = {
                    add_stability = 0.02
                }
                50 = {
                    add_manpower = 1000
				}
            }
			set_temp_variable = {
				unemployment_value = -0.001
			}
        }

        ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_coal_mines_northern_england = {

        icon = generic_construction

        allowed = { always = no }

        available = {
			owns_state = 131
			131 = { coal_mine > 1 }
        }

        activation = {
            always = no #has_completed_focus = ENG_focus_coal_in_northern_england
        }

        highlight_states = {
			state = 131
		}

        fire_only_once = yes

        is_good = no
        days_mission_timeout = 3200
        timeout_effect = {
            add_political_power = -80
            add_stability = -0.02
        }
        complete_effect = {
            131 = { add_extra_state_shared_building_slots = 2 }
			random_list = {
                50 = {
                    add_stability = 0.02
                }
                50 = {
                    add_manpower = 1000
                     }
                }
				set_temp_variable = {
				unemployment_value = -0.005
			}
            }

        ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_coal_mines_the_midlands = {

        icon = generic_construction

        allowed = { always = no }

        available = {
			owns_state = 129
			129 = { coal_mine > 1 }
        }

        activation = {
            always = no #has_completed_focus = ENG_focus_coal_in_northern_england
        }

        highlight_states = {
			state = 129
		}

        fire_only_once = yes

        is_good = no
        days_mission_timeout = 3200
        timeout_effect = {
            add_political_power = -80
            add_stability = -0.02
        }
        complete_effect = {
            129 = { add_extra_state_shared_building_slots = 2 }
			random_list = {
                50 = {
                    add_stability = 0.02
                }
                50 = {
                    add_manpower = 1000
                }
        	}
			set_temp_variable = {
				unemployment_value = -0.005
			}
        }

        ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_scottish_iron = {

        icon = generic_operation

		highlight_states = {
			state = 133
		}

		available = {
			NOT = {
				has_idea = bankruptcy
			}
		    has_completed_focus = ENG_focus_scottish_iron
			num_of_civilian_factories_available_for_projects > 3
			owns_state = 133
			controls_state = 133
		}

		visible = {
			check_variable = {
				money > 0
			}
		    ENG = { has_completed_focus = ENG_focus_scottish_iron }
		}

		fire_only_once = yes
		is_good = yes

		cost = 0
		days_remove = 80

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			133 = {
				add_resource = {
					type = iron
					amount = 15
				}
			}
			set_temp_variable = {
				unemployment_value = -0.005
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_scottish_bauxite = {

        icon = generic_operation

		highlight_states = {
			state = 120
		}

		available = {
			NOT = {
				has_idea = bankruptcy
			}
		    has_completed_focus = ENG_focus_scottish_bauxite
			num_of_civilian_factories_available_for_projects > 3
			owns_state = 120
			controls_state = 120
		}

		visible = {
			check_variable = {
				money > 0
			}
		    ENG = { has_completed_focus = ENG_focus_scottish_bauxite }
		}

		fire_only_once = yes
		is_good = yes

		cost = 0
		days_remove = 80

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			120 = {
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			set_temp_variable = {
				unemployment_value = -0.005
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_english_iron = {

        icon = generic_operation

		highlight_states = {
			state = 128
		}

		available = {
			NOT = {
				has_idea = bankruptcy
			}
		    has_completed_focus = ENG_focus_mining_efforts
			num_of_civilian_factories_available_for_projects > 3
			owns_state = 128
			owns_state = 338

			controls_state = 128
			controls_state = 338

		}

		visible = {
			check_variable = {
				money > 0
			}
		    ENG = { has_completed_focus = ENG_focus_mining_efforts }
		}

		fire_only_once = yes
		is_good = yes

		cost = 0
		days_remove = 80

		modifier = {
			civilian_factory_use = 1
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_tooltip_effect = yes
			128 = {
				add_resource = {
					type = iron
					amount = 15
				}
			}
			338 = {
				add_resource = {
					type = iron
					amount = 15
				}
			}
			set_temp_variable = {
				unemployment_value = -0.01
			}
		}

		ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_northern_railway = {

        icon = generic_construction

        allowed = {

        }

        available = {
            133 = { infrastructure > 3 }
            121 = { infrastructure > 2 }
			owns_state = 133
            owns_state = 121
        }

        activation = {
            always = no #has_completed_focus = ENG_focus_northern_railway
        }

        highlight_states = {
			state = 133
		}

        fire_only_once = yes

        is_good = no
        days_mission_timeout = 1600
        timeout_effect = {
            add_political_power = -80
            add_stability = -0.02
        }
        complete_effect = {
            133 = { add_extra_state_shared_building_slots = 1 }
            121 = { add_extra_state_shared_building_slots = 1 }
            add_tech_bonus = { bonus = 0.1 uses = 1 category = transport_tech }
			set_temp_variable = {
				unemployment_value = -0.001
			}
        }

        ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_bristol_boston_line = {

        icon = generic_construction

        allowed = {

        }

        available = {
            338 = { infrastructure > 6 }
            129 = { infrastructure > 6 }
			owns_state = 338
            owns_state = 129
        }

        activation = {
            always = no #has_completed_focus = ENG_focus_bristol_boston_line
        }

        highlight_states = {
			state = 338
		}

        fire_only_once = yes

        is_good = no
        days_mission_timeout = 1600
        timeout_effect = {
            add_political_power = -80
            add_stability = -0.02
        }
        complete_effect = {
            338 = { add_extra_state_shared_building_slots = 1 }
            129 = { add_extra_state_shared_building_slots = 1 }
            add_tech_bonus = { bonus = 0.1 uses = 1 category = transport_tech }
			set_temp_variable = {
				unemployment_value = -0.001
			}
        }

        ai_will_do = {
			base = 1000
		}
    }
	ENG_mission_more_farms = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 3
			controls_state = 122
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_build_more_farms}
		}

		fire_only_once = yes

		days_remove = 90

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			122 = { add_building_construction = { type = farm level = 2 instant_build = yes } }
			122 = { add_extra_state_shared_building_slots = 2 }
			set_temp_variable = {
				unemployment_value = -0.005
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_yorkshire_steel_mill = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 5
			controls_state = 130
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_open_steel_foundry}
		}

		fire_only_once = yes

		days_remove = 180

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			130 = { add_building_construction = { type = steel_mill level = 2 instant_build = yes } }
			130 = { add_extra_state_shared_building_slots = 2 }
			set_temp_variable = {
				unemployment_value = -0.005
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_indian_cotton = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 3
			RAJ = { controls_state = 428 }
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_cotton_from_india}
		}

		fire_only_once = yes

		days_remove = 90

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			428 = { add_building_construction = { type = cotton_farm level = 2 instant_build = yes } }
			428 = { add_extra_state_shared_building_slots = 2 }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_australian_coal = {

        icon = generic_construction

        allowed = {

        }

        available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 3
			NSW = { controls_state = 285 }
        }

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_australian_coal
		}

		fire_only_once = yes

		days_remove = 130

		cost = 0

        highlight_states = {
			state = 285
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			add_resource = {
                type = coal
                amount = 12
                state = 285
            }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_canadian_wood = {

        icon = generic_construction

        allowed = {

        }

        available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 3
			CAN = {
                controls_state = 1310
                controls_state = 276
            }
        }

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_canadian_wood
		}

		fire_only_once = yes

		days_remove = 130

		cost = 0

        highlight_states = {
			state = 285
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			add_resource = {
                type = wood
                amount = 12
                state = 1310
            }
			add_resource = {
                type = wood
                amount = 12
                state = 276
            }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_develop_wales = {

        icon = generic_construction

        allowed = {

        }

        available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 4
			controls_state = 122
        }

		visible = {
			check_variable = {
				money > 0
			}
			has_completed_focus = ENG_focus_develop_wales
		}

		fire_only_once = yes

		days_remove = 130

		cost = 0

        highlight_states = {
			state = 285
		}

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_tooltip_effect = yes
			add_resource = {
                type = wood
                amount = 5
                state = 122
            }
			add_resource = {
                type = iron
                amount = 5
                state = 122
            }
			add_resource = {
                type = coal
                amount = 5
                state = 122
            }
			122 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
			set_temp_variable = {
				unemployment_value = -0.01
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_cotton_autarky = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 3
			RAJ = { controls_state = 428 }
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_cotton_autarky}
		}

		fire_only_once = yes

		days_remove = 90

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			428 = { add_building_construction = { type = cotton_farm level = 2 instant_build = yes } }
			428 = { add_extra_state_shared_building_slots = 2 }
			set_temp_variable = {
				unemployment_value = -0.001
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_develop_ireland = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 5
			controls_state = 134
			controls_state = 135
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_develop_ireland }
		}

		fire_only_once = yes

		days_remove = 240

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -10 }
			add_money_with_tooltip_effect = yes
			134 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
			134 = { add_extra_state_shared_building_slots = 1 }
			135 = { add_building_construction = { type = farm level = 1 instant_build = yes } }
			135 = { add_extra_state_shared_building_slots = 1 }
			113 = { add_manpower = 5000 }
			119 = { add_manpower = 5000 }
			134 = { add_manpower = 5000 }
			135 = { add_manpower = 5000 }
			113 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } }
			set_temp_variable = {
				unemployment_value = -0.02
			}
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_english_civilian_industry = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 4
			controls_state = 338
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_focus_on_civilian_industry }
		}

		fire_only_once = yes

		days_remove = 90

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			338 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
			338 = { add_extra_state_shared_building_slots = 1 }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_english_military_industry = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 4
			controls_state = 128
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_increase_arms_production }
		}

		fire_only_once = yes

		days_remove = 90

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			128 = { add_building_construction = { type = arms_factory level = 1 instant_build = yes } }
			128 = { add_extra_state_shared_building_slots = 1 }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}

	ENG_mission_english_service_industry = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 2
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_growing_service_industry }
		}

		fire_only_once = yes

		days_remove = 200

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -3 }
			add_money_with_tooltip_effect = yes
			127 = { add_extra_state_shared_building_slots = 1 }
			338 = { add_extra_state_shared_building_slots = 1 }
			123 = { add_extra_state_shared_building_slots = 1 }
			952 = { add_extra_state_shared_building_slots = 1 }
			125 = { add_extra_state_shared_building_slots = 1 }
			129 = { add_extra_state_shared_building_slots = 1 }
			128 = { add_extra_state_shared_building_slots = 1 }
			132 = { add_extra_state_shared_building_slots = 1 }
			130 = { add_extra_state_shared_building_slots = 1 }
			132 = { add_extra_state_shared_building_slots = 1 }
		}

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_welsh_service_industry = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 1
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_growing_service_industry }
		}

		fire_only_once = yes

		days_remove = 100

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
			122 = { add_extra_state_shared_building_slots = 3 }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
	ENG_mission_scotish_service_industry = {

		icon = generic_construction

		available = {
			NOT = {
				has_idea = bankruptcy
			}
			num_of_civilian_factories_available_for_projects > 1
		}

		visible = {
			check_variable = {
				money > 0
			}
			ENG = { has_completed_focus = ENG_focus_growing_service_industry }
		}

		fire_only_once = yes

		days_remove = 150

		cost = 0

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

		remove_effect = {
			set_temp_variable = { money_to_gain = -2 }
			add_money_with_tooltip_effect = yes
			133 = { add_extra_state_shared_building_slots = 1 }
			121 = { add_extra_state_shared_building_slots = 2 }
			136 = { add_extra_state_shared_building_slots = 1 }
			120 = { add_extra_state_shared_building_slots = 1 }
		}

		modifier = {
			civilian_factory_use = 1
		}

		ai_will_do = {
			base = 1000
		}
	}
}


ENG_decision_category_british_parliament = {

	ENG_decision_Inclosure_act_1857 = {

        icon = eng_trade_unions_support

		#allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.1 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Obscene_publications_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.3 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_matrimonial_causes_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   has_completed_focus = ENG_focus_matrimonial_causes_act
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.2 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_government_of_india_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   has_completed_focus = ENG_focus_government_of_india_act
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.4 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_companies_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.5 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_molestation_workmen_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.8 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_offences_against_person_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.11 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_metro_fire_brigade_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.14 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_criminal_law_consolidation_acts = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.6 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_coal_mines_consolidation_act_1860 = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.9 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_land_registry_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.12 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_locomotives_highway_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.15 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_habeas_corpus_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.7 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_adulteration_food_drinks_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.10 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_poaching_prevention_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.13 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_medical_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1859_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.16 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_parliamentary_oaths_act_1866 = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
           has_completed_focus = ENG_focus_1865_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.17 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_1867_reform_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1865_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.19 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_colonial_prisoners_removal_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.20 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_irish_church_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.22 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_metropolitan_public_carriage_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.24 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_elementary_education_1870_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.21 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_irish_land_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.23 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_tramways_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1868_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.25 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_national_debt_reduction_1866 = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1865_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.18 days = 10 } }
		}

		ai_will_do = {
			base = 1000000
		}
    }

	ENG_decision_PRS_naval_treaty_approval = {

        icon = generic_naval

        #allowed = { tag = ENG }

		available = {
			PRS = { has_war = no }
			ENG = { has_war = no }
			ENG = {
				has_opinion = {
                    target = PRS
                    value > 49
				}
			}
			check_variable = { current_reform_id = 0 }
		}

		visible = { has_country_flag = ENG_PRS_naval_treaty_flag }

		fire_only_once = yes

		cost = 0

		complete_effect = {
			ENG = { country_event = { id = british_votes.26 days = 10 } }
			hidden_effect = {
				clr_country_flag = ENG_PRS_naval_treaty_flag
			}
		}

		ai_will_do = {
			base = 1000000
		}
    }

	ENG_decision_public_health_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.27 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_customs_consolidation_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.28 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_commons_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.29 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_cruelty_animals_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.30 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_chelsea_hospital_act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.31 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Newspaper_Libel_Registration_Act = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.32 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Married_Womens_Property_Act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.33 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Conveying_Law_Property_Act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.34 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_ballot_act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1874_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.35 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Electric_Lighting_Act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.36 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_Municipal_Corporations_Act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.37 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }

	ENG_decision_National_Debt_act  = {

        icon = eng_trade_unions_support

        #allowed = { tag = ENG }

		available = {
		   check_variable = { current_reform_id = 0 }
		}

		visible = {
		   has_completed_focus = ENG_focus_1880_general_elections
		}

		fire_only_once = yes

		cost = 15

		complete_effect = {
		    ENG = { country_event = { id = british_votes.38 days = 10 } }
		}

		ai_will_do = {
			base = 1000
		}
    }
}

ENG_decision_category_royal_navy = {

    ENG_mission_britain_rules_the_waves = {
		icon = generic_naval

        allowed = { always = no }

        available = {
			ENG = {
				if = {
					limit = {
						is_ai = yes
					}
					AND = {
						has_navy_size = { size > 319 }
						has_navy_size = {
							size > 169
							type = capital_ship
						}
					}
				}
				else = {
					AND = {
						has_navy_size = { size > 319 }
						has_navy_size = {
							size > 169
							type = capital_ship
						}
					}
				}
			}
        }

        activation = { always = no }

        fire_only_once = yes

        is_good = no

        days_mission_timeout = 2300

        timeout_effect = {
            add_political_power = -100
			add_war_support = -0.1
			add_stability = -0.03
        }

        complete_effect = {
		custom_effect_tooltip = ENG_our_seas
		hidden_effect = {
            if = {
				limit = { ENG = { owns_state = 127 } }
				127 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 9458
					}
				}
			}
			if = {
				limit = { ENG = { owns_state = 123 } }
				123 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 540
					}
				}
			}
			if = {
			    limit = { has_idea = ENG_idea_dockyard_output }
				    remove_ideas = ENG_idea_dockyard_output
            }
			complete_national_focus = ENG_focus_britannia_rules_the_waves
		    }
		}

        ai_will_do = {
			base = 100
		}
    }
}

ENG_houses_of_parliament_category_decisions = {

	#ENG_decision_dissolved_commons = {
	#	icon = constitution
	#
	#	#allowed = { always = no }
	#
	#	available = {
	#	}
	#
	#	visible = {
	#	   power_balance_value = {
	#			id = ENG_Balance_of_Power_Parliament
	#			value > 0.95
	#		}
	#	}
	#
	#	fire_only_once = yes
	#
	#	cost = 250
	#
	#	complete_effect = {
	#		country_event = britain.186
	#	}
	#
	#	ai_will_do = {
	#		base = 1000
	#	}
	#}

	ENG_decision_pay_parliamentarians = {
		icon = constitution

		#allowed = { always = no }

		available = {
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = -0.05
				tooltip_side = ENG_BOP_House_of_Commons_Strength
			}
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 10
		}
	}

	ENG_decision_end_proxy_voting = {
		icon = constitution

		#allowed = { always = no }

		available = {
		}

		fire_only_once = yes

		cost = 50

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = -0.05
				tooltip_side = ENG_BOP_House_of_Commons_Strength
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	ENG_decision_law_lords= {
		icon = constitution

		#allowed = { always = no }

		available = {
		}

		fire_only_once = yes

		cost = 50

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = 0.05
				tooltip_side = ENG_BOP_House_of_Lords_Strength
			}
			add_stability = 0.05
		}

		ai_will_do = {
			base = 100
		}
	}

	ENG_decision_limit_party_lords= {
		icon = constitution

		#allowed = { always = no }

		available = {
		}

		fire_only_once = yes

		cost = 200

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = -0.05
				tooltip_side = ENG_BOP_House_of_Commons_Strength
			}
			add_stability = -0.05
		}

		ai_will_do = {
			base = 100
		}
	}

	ENG_decision_increase_lords= {
		icon = eng_lords

		#allowed = { always = no }

		available = {
		}

		fire_only_once = no

		cost = 100

		days_re_enable = 365

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = 0.05
				tooltip_side = ENG_BOP_House_of_Lords_Strength
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	ENG_decision_increase_commons= {
		icon = eng_commons

		#allowed = { always = no }

		available = {
		}

		fire_only_once = no

		cost = 100

		days_re_enable = 365

		complete_effect = {
			add_power_balance_value = {
				id = ENG_Balance_of_Power_Parliament
				value = -0.05
				tooltip_side = ENG_BOP_House_of_Commons_Strength
			}
		}

		ai_will_do = {
			base = 100
		}
	}
}
