
# The Narvik Crisis
ENG_narvik_crisis_cat = {

	# Launch Plan R4
	ENG_narvik_crisis = {
		icon = generic_operation
		available = {
			OR = {
				GER = {
					has_war_with = NOR
				}
				NOR = {
					any_core_state = {
						controller  = { original_tag = GER }
					}
				}
			}

			SWE = { 
				NOT = { has_war_with = ROOT }
				NOT = { has_war_with = NOR }
				NOT = { has_war_with = GER }
				exists = yes
				is_subject = no
			}

			NOR = {
				OR = {
					is_in_faction_with = ROOT
					has_capitulated = yes
					exists = no
				}
			}

			OR = {
				144 = { is_controlled_by = ROOT }
				any_allied_country = {
					controls_state = 144
				}
			}

			
			divisions_in_state = {
				state = 144
				size > 3 
			}
		}

		fire_only_once = yes

		cost = 10

		complete_effect = {
			SWE = {
				add_opinion_modifier = {
					target = PREV
					modifier = SWE_ENG_invaded_swe
				}
				add_opinion_modifier = {
					target = PREV
					modifier = SWE_ENG_invaded_swe_opinion
				}
			}
			declare_war_on = {
				target = SWE
				type = liberate_wargoal
			}
			144 = {
				controller = {
					if = {
						limit = {
							controller = { is_in_faction_with = ROOT } #needs to be here otherwise it throws errors
						}

						declare_war_on = {
							target = SWE
							type = liberate_wargoal
						}

						if = {
							limit = { controller = { NOT = { has_war_with = SWE }}}
							ROOT = { set_variable = { ENG_narvik_controller = PREV } }
						}
					}
				}
			}
			GER = { country_event = { id = AAT_britain_narvik.2 hours = 1} }
			SWE = { country_event = { id = AAT_britain_narvik.2 hours = 1 } }
			activate_mission = ENG_explode_the_swedish_iron_ore_mine
			hidden_effect = {
				set_country_flag = ENG_activated_plan_rfour
			}
		}

		ai_will_do = {
			base = 0
			modifier = {
				is_historical_focus_on = no
				OR = {
					has_completed_focus = ENG_no_further_appeasement
					has_completed_focus = uk_scandinavian_focus
				}

				NOR = { is_ai = yes }
				add = 1
			}
		}
	}

	# Sabotage the Swedish Mines
	ENG_narvik_crisis_blow_up_mines = {
		icon = generic_operation
		available = {
			OR = {
				controls_province = 3095
				any_allied_country = {
					controls_province = 3095
				}
			}
			OR = {
				controls_province = 11155
				any_allied_country = {
					controls_province = 11155
				}
			}
			OR = {
				has_active_mission = ENG_explode_the_swedish_iron_ore_mine
				has_war_with = SWE
			}
		}

		visible = {
			NOT = {
				666 = { 
					has_dynamic_modifier = {
						modifier = SWE_blown_up_mines
					}
				}
			}
		}
		cancel_trigger = {
			NOT = {
				controls_province = 3095
				controls_province = 11155
				OR = {
					has_active_mission = ENG_explode_the_swedish_iron_ore_mine 
					has_war_with = SWE
				}
			}

		}
		days_remove = 12
		complete_effect = {
			add_days_mission_timeout = {
				mission = ENG_explode_the_swedish_iron_ore_mine
				days = 13
			}
		}
		remove_effect = {
			666 = {
				add_dynamic_modifier = {
					modifier = SWE_blown_up_mines
				}
			}
			if = {
				limit = {
					has_country_flag = ENG_activated_plan_rfour
				}
				country_event = { id = AAT_britain_narvik.1 }
				SWE = {
					country_event = { id = AAT_britain_narvik.3 }
				}
				GER = {
					country_event = { id = AAT_britain_narvik.3 }
				}

				hidden_effect = {
					clr_country_flag = ENG_activated_plan_rfour
				}
			}
		}

		ai_will_do = {
			base = 100
		}
	}

	# Plan R4 
	ENG_explode_the_swedish_iron_ore_mine = { 

		icon = eng_support_imperialist_coup
		
		available = {
			666 = {
				has_dynamic_modifier = {
					modifier = SWE_blown_up_mines
				}
			}
		}
		activation = {
			always = no
		}
		days_mission_timeout = 60
		fire_only_once = yes

		visible = {
			always = yes
		}

		cancel_if_not_visible = no

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			white_peace = {
				tag = SWE
			}
			add_war_support = -0.1
			add_stability = -0.1
			custom_effect_tooltip = ENG_explode_the_swedish_iron_ore_mine_tt
		}
	}
}

# Organize the Blackshirts
ENG_organize_the_blackshirts = {

	# Urge Restraint
	ENG_urge_restraint = {

		icon = eng_propaganda_campaigns

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			NOT = { has_country_flag = ENG_restrained_march_flag }
		}

		cost = 25

		fire_only_once = no

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_popularity = { ideology = fascism popularity = -0.01 }
			119 = { set_state_flag = ENG_has_blackshirt_support }
			custom_effect_tooltip = ENG_urge_restraint_tt
			set_country_flag = ENG_restrained_march_flag
			custom_effect_tooltip = ENG_speech_against_germany_tt
		}

		ai_will_do = {
			factor = 0
		}
	}

	# Blackshirt March In Northern Ireland
	ENG_blackshirt_march_in_northern_ireland = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 119
		}

		highlight_states = {
 			highlight_state_targets = { state = 119 } 
		}

		on_map_mode = map_only

		cost = 26

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			119 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.041
						add_popularity = { ideology = fascism popularity = 0.027 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.054
						add_popularity = { ideology = fascism popularity = 0.027 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.081
						add_popularity = { ideology = fascism popularity = 0.027 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_northern_ireland
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.581
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in the Highlands
	ENG_blackshirt_march_in_the_highlands = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 120
		}

		highlight_states = {
 			highlight_state_targets = { state = 120 } 
		}

		on_map_mode = map_only

		cost = 6

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			120 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.009
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.012
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.018
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_highlands
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.518
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March on the Isle of Man
	ENG_blackshirt_march_on_the_isle_of_man = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 932
		}

		highlight_states = {
 			highlight_state_targets = { state = 932 } 
		}

		on_map_mode = map_only

		cost = 6

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			932 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.009
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.012
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.018
						add_popularity = { ideology = fascism popularity = 0.006 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_man
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.518
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Aberdeenshire
	ENG_blackshirt_march_in_aberdeenshire = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 136
		}

		highlight_states = {
 			highlight_state_targets = { state = 136 } 
		}

		on_map_mode = map_only

		cost = 17

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			136 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.026
						add_popularity = { ideology = fascism popularity = 0.017 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.034
						add_popularity = { ideology = fascism popularity = 0.017 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.051
						add_popularity = { ideology = fascism popularity = 0.017 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_aberdeenshire
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.551
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Cumbria
	ENG_blackshirt_march_in_cumbria = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 931
		}

		highlight_states = {
 			highlight_state_targets = { state = 931 } 
		}

		on_map_mode = map_only

		cost = 31

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			931 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.048
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.064
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.096
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_cumbria
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.596
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Lanark
	ENG_blackshirt_march_in_lanark = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 133
		}

		highlight_states = {
 			highlight_state_targets = { state = 133 } 
		}

		on_map_mode = map_only

		cost = 48

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			133 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.077
						add_popularity = { ideology = fascism popularity = 0.051 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.102
						add_popularity = { ideology = fascism popularity = 0.051 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.153
						add_popularity = { ideology = fascism popularity = 0.051 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_lanark
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.653
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Lothian
	ENG_blackshirt_march_in_lothian = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 121
		}

		highlight_states = {
 			highlight_state_targets = { state = 121 } 
		}

		on_map_mode = map_only

		cost = 31

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			121 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.048
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.064
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.096
						add_popularity = { ideology = fascism popularity = 0.032 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_lothian
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.596
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Northumberland
	ENG_blackshirt_march_in_northern_england = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 131
		}

		highlight_states = {
 			highlight_state_targets = { state = 131 } 
		}

		on_map_mode = map_only

		cost = 46

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			131 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.072
						add_popularity = { ideology = fascism popularity = 0.048 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.096
						add_popularity = { ideology = fascism popularity = 0.048 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.144
						add_popularity = { ideology = fascism popularity = 0.048 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_northern_england
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.644
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Yorkshire
	ENG_blackshirt_march_in_yorkshire = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 130
		}

		highlight_states = {
 			highlight_state_targets = { state = 130 } 
		}

		on_map_mode = map_only

		cost = 91

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			130 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.157
						add_popularity = { ideology = fascism popularity = 0.101 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.202
						add_popularity = { ideology = fascism popularity = 0.101 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.303
						add_popularity = { ideology = fascism popularity = 0.101 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_yorkshire
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.803
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Lancashire
	ENG_blackshirt_march_in_lancashire = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 132
		}

		highlight_states = {
 			highlight_state_targets = { state = 132 } 
		}

		on_map_mode = map_only

		cost = 113

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			132 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.195
						add_popularity = { ideology = fascism popularity = 0.13 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.26
						add_popularity = { ideology = fascism popularity = 0.13 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.39
						add_popularity = { ideology = fascism popularity = 0.13 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_lancashire
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.89
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Wales
	ENG_blackshirt_march_in_wales = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 122
		}

		highlight_states = {
 			highlight_state_targets = { state = 122 } 
		}

		on_map_mode = map_only

		cost = 49

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			122 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.078
						add_popularity = { ideology = fascism popularity = 0.052 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.104
						add_popularity = { ideology = fascism popularity = 0.052 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.156
						add_popularity = { ideology = fascism popularity = 0.052 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_wales
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.656
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in West Midlands
	ENG_blackshirt_march_in_west_midlands = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 128
		}

		highlight_states = {
 			highlight_state_targets = { state = 128 } 
		}

		on_map_mode = map_only

		cost = 76

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			128 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.125
						add_popularity = { ideology = fascism popularity = 0.083 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.166
						add_popularity = { ideology = fascism popularity = 0.083 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.249
						add_popularity = { ideology = fascism popularity = 0.083 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_west_midlands
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.749
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in East Midlands 
	ENG_blackshirt_march_in_east_midlands = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 129
		}

		highlight_states = {
 			highlight_state_targets = { state = 129 } 
		}

		on_map_mode = map_only

		cost = 47

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			129 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.075
						add_popularity = { ideology = fascism popularity = 0.05 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.1
						add_popularity = { ideology = fascism popularity = 0.05 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.15
						add_popularity = { ideology = fascism popularity = 0.05 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_east_midlands
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.65
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in East Anglia
	ENG_blackshirt_march_in_east_anglia = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 125
		}

		highlight_states = {
 			highlight_state_targets = { state = 125 } 
		}

		on_map_mode = map_only

		cost = 30

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			125 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.047
						add_popularity = { ideology = fascism popularity = 0.031 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.062
						add_popularity = { ideology = fascism popularity = 0.031 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.093
						add_popularity = { ideology = fascism popularity = 0.031 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_east_anglia
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.593
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Gloucestershire
	ENG_blackshirt_march_in_gloucestershire = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 338
		}

		highlight_states = {
 			highlight_state_targets = { state = 338 } 
		}

		on_map_mode = map_only

		cost = 39

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			338 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.062
						add_popularity = { ideology = fascism popularity = 0.041 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.082
						add_popularity = { ideology = fascism popularity = 0.041 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.123
						add_popularity = { ideology = fascism popularity = 0.041 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_gloucestershire
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.623
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in London
	ENG_blackshirt_march_in_london = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 126
		}

		highlight_states = {
 			highlight_state_targets = { state = 126 } 
		}

		on_map_mode = map_only

		cost = 173

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			126 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.333
						add_popularity = { ideology = fascism popularity = 0.222 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.444
						add_popularity = { ideology = fascism popularity = 0.222 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.666
						add_popularity = { ideology = fascism popularity = 0.222 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_london
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.944
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Cornwall
	ENG_blackshirt_march_in_cornwall = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 123
		}

		highlight_states = {
 			highlight_state_targets = { state = 123 } 
		}

		on_map_mode = map_only

		cost = 27

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			123 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.042
						add_popularity = { ideology = fascism popularity = 0.028 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.056
						add_popularity = { ideology = fascism popularity = 0.028 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.084
						add_popularity = { ideology = fascism popularity = 0.028 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_cornwall
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.584
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Blackshirt March in Sussex
	ENG_blackshirt_march_in_sussex = {

		icon = eng_blackshirt_march

		available = {
			NOT = { has_country_flag = ENG_march_timer_flag }
			has_full_control_of_state = 127
		}

		highlight_states = {
 			highlight_state_targets = { state = 127 } 
		}

		on_map_mode = map_only

		cost = 67

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			127 = { save_event_target_as = ENG_blackshirt_march_state }
			random_list = {
				25 = {
					country_event = { id = mtg_britain.57 days = 1 }
					effect_tooltip = {
						add_stability = -0.108
						add_popularity = { ideology = fascism popularity = 0.072 }
					}
				}
				50 = {
					country_event = { id = mtg_britain.58 days = 1 }
					effect_tooltip = {
						add_stability = -0.144
						add_popularity = { ideology = fascism popularity = 0.072 }
					}
				}
				25 = {
					modifier = {
						factor = 0.2
						has_country_flag = ENG_restrained_march_flag
					}
					country_event = { id = mtg_britain.59 days = 1 }
					effect_tooltip = {
						add_stability = -0.216
						add_popularity = { ideology = fascism popularity = 0.072 }
					}
				}
			}
			custom_effect_tooltip = ENG_blackshirt_march_tt
			set_country_flag = ENG_march_temp_sussex
			set_country_flag = ENG_march_timer_flag
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_stability < 0.716
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# March on Downing Street
	ENG_march_on_downing_street = {

		icon = eng_blackshirt_march

		available = {
			has_full_control_of_state = 126
			fascism > 0.5
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = fascism }
		}

		complete_effect = {
			country_event = { id = mtg_britain.35 days = 1 }
			set_country_flag = { flag = ENG_switched_to_fascism_communism_dominions_timer_flag value = 1 days = 180 }
		}

		ai_will_do = {
			factor = 100
		}
	}

	# Reconciliatory Speech
	ENG_reconciliatory_speech = {

		icon = eng_blackshirt_march

		allowed = {
			tag = ENG
		}

		available = {
			GER = {
				NOT = { has_government = fascism }
			}
			has_stability < 0.8
		}

		cost = 50

		days_remove = 60

		fire_only_once = no

		cancel_if_not_visible = yes

		modifier = {
			stability_weekly = 0.02
		}

		visible = {
			NOT = { has_government = fascism }
			GER = {
				NOT = { has_government = fascism }
			}
		}

		complete_effect = {
			custom_effect_tooltip = ENG_speech_against_germany_tt
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_stability < 0.8
			}
			modifier = {
				factor = 5
				has_stability < 0.7
			}
			modifier = {
				factor = 10
				has_stability < 0.6
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Hold Anti-German Speech
	ENG_speech_against_germany = {

		icon = eng_blackshirt_speech

		allowed = {
			tag = ENG
		}

		available = {
			FROM = {
				has_government = fascism
			}
			has_stability < 0.8
		}

		targets = { GER }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_organize_the_blackshirts
		}

		target_trigger = {
			FROM = {
				original_tag = GER
			}
		}

		days_remove = 60

		cost = 50

		fire_only_once = no

		visible = {
			NOT = { has_government = fascism }
			FROM = {
				has_government = fascism
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			stability_weekly = 0.02
		}

		complete_effect = {
			country_event = { id = mtg_britain.60 hours = 6 }
			custom_effect_tooltip = ENG_speech_against_germany_tt
			add_ai_strategy = {
				type = antagonize
				id = FROM
				value = 50
			}
			add_ai_strategy = {
				type = alliance
				id = FROM
				value = -50
			}
			add_ai_strategy = {
				type = befriend
				id = FROM
				value = -50
			}
			add_ai_strategy = {
				type = protect
				id = FROM
				value = -50
			}
			FROM = {
				add_ai_strategy = {
					type = antagonize
					id = ROOT
					value = 50
				}
				add_ai_strategy = {
					type = alliance
					id = ROOT
					value = -50
				}
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = -50
				}
				add_ai_strategy = {
					type = protect
					id = ROOT
					value = -50
				}
			}
		}

		remove_effect = {

		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 10
				has_stability < 0.8
			}
			modifier = {
				factor = 5
				has_stability < 0.7
			}
			modifier = {
				factor = 10
				has_stability < 0.6
			}
			modifier = {
				factor = 0
				fascism > 0.5
			}
		}
	}

	# Enact The Mosley Plan
	ENG_the_mosley_plan = {

		icon = generic_construction

		available = {
			has_country_flag = won_british_civil_war
		}

		visible = {
			has_country_flag = won_british_civil_war
		}

		fire_only_once = yes
	
		cost = 25

		days_remove = 365

		modifier = {
			political_power_gain = -0.33
			industry_repair_factor = 0.3
			industrial_capacity_factory = 0.2
			industrial_capacity_dockyard = 0.1
			production_speed_industrial_complex_factor = 0.1
			production_speed_arms_factory_factor = 0.1
			war_support_weekly = 0.005
		}
		
		ai_will_do = {
			factor = 200
		}
	}

}

# Home Defense
ENG_homeland_defense_decision_cat = {
	
	# Enforce Blackouts
	ENG_enforce_blackouts = {

		icon = GFX_decision_eng_propaganda_campaigns

		priority = 100

		visible = {
			NOT = {
				has_idea = ENG_blackouts_idea
			}
		}

		available = {
			has_war = yes
			NOT = {
				has_idea = ENG_blackouts_idea
			}
		}
	
		cost = 50

		days_remove = 14

		remove_effect = {
			add_ideas = ENG_blackouts_idea
			custom_effect_tooltip = ENG_enforce_blackouts_tt
		}
		
		ai_will_do = {
			base = 50
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 5
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	# End the Blackouts
	ENG_end_the_blackouts = {

		icon = GFX_decision_eng_propaganda_campaigns

		priority = 99

		visible = {
			has_idea = ENG_blackouts_idea
		}

		available = {
			has_idea = ENG_blackouts_idea
		}
	
		cost = 50

		days_remove = 14

		remove_effect = {
			remove_ideas = {
				ENG_blackouts_idea
			}	
		}
		
		ai_will_do = {
			base = 10
			modifier = {
				factor = 0
				has_war_with = GER
			}
			modifier = {
				factor = 100
				has_war = no
			}
		}
	}

	# Enforce Blackouts
	ENG_promote_the_blitz_spirit = {

		icon = GFX_decision_eng_install_government

		priority = 95

		visible = {
			has_war_with = GER
			NOT = {
				has_idea = ENG_blitz_spirit_idea
			}
		}

		available = {
			has_war = yes
			has_completed_focus = general_rearmament_focus
		}
	
		cost = 50

		days_remove = 35

		remove_effect = {
			swap_ideas = {
				remove_idea = british_austerity_idea
				add_idea = ENG_blitz_spirit_idea
			}	
		}
		
		ai_will_do = {
			base = 50
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 5
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	# The Homeland Defense Act
	ENG_the_homeland_defense_act = {

		icon = GFX_decision_eng_trade_unions_support

		priority = 98

		visible = {
			has_war = yes
		}

		available = {
			has_war = yes
			any_owned_state = {
				is_core_of = ROOT
				#is_in_home_area = yes 	
				NOT = {
					is_controlled_by = ROOT
				}
			}
		}

		fire_only_once = yes
	
		cost = 15

		complete_effect = {
			add_timed_idea = {
				idea = ENG_desperate_defense_of_the_homeland
				days = 180
			}	
		}
		
		ai_will_do = {
			base = 150
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 5
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	# Establish the Local Defence Volunteers
	ENG_establish_the_local_defense_volunteers = {

		icon = GFX_decision_eng_blackshirt_march

		priority = 97

		available = {
			has_war = yes
		}

		fire_only_once = yes
	
		cost = 25

		days_remove = 70

		remove_effect = {
			add_war_support = 0.03
			custom_effect_tooltip = ENG_establish_the_local_defense_volunteers_tt
			hidden_effect = {
				set_country_flag = ENG_home_guard_established_flag
				delete_unit_template_and_units = {
					division_template = "Home Guard Defense Brigades"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Home Guard Defense Brigades"
					division_names_group = ENG_INF_01
					template_counter = 99
					role = garrison
					is_locked = yes
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
					support = {
					}
				}
			}
		}
		
		ai_will_do = {
			base = 50
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 5
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	# Utilize the Home Guard in the Factories
	ENG_utilize_home_guard_in_factories = {

		icon = GFX_decision_generic_industry

		priority = 96

		visible = {
			has_country_flag = ENG_home_guard_established_flag
		}

		available = {
			has_war = yes
		}

		fire_only_once = yes
	
		cost = 50

		days_remove = 70

		days_re_enable = 184

		remove_effect = {
			add_timed_idea = {
				idea = ENG_home_guard_assistance_in_factories
				days = 180
			}	
			custom_effect_tooltip = ENG_utilize_home_guard_in_factories_tt
		}
		
		ai_will_do = {
			base = 20
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 3
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	# Raise the Home Guard in [FROM.GetName]
	ENG_raise_the_home_guard_in_state = {

		icon = GFX_decision_generic_protection

		allowed = {
			original_tag = ENG
		} 

		priority = 80

		visible = {
			is_subject = no
			has_civil_war = no
			has_country_flag = ENG_home_guard_established_flag
		}

		available = {
			has_war = yes
			any_owned_state = {
				is_core_of = ROOT
				#is_in_home_area = yes 	
				NOT = {
					is_controlled_by = ROOT
				}
			}
			NOT = {
				has_country_flag = ENG_raising_militia_flag
			}
		}

		state_target = yes

		on_map_mode = map_and_decisions_view

		target_array = ROOT.core_states

		target_trigger = {
			FROM = {
				OR = {
					state = 126
					state = 128
					state = 130
					state = 132
					state = 121
					state = 133
				}
				NOT = {
					has_state_flag = {
						flag = ENG_raised_home_guard_here_already_flag
					}	
				}
				is_controlled_by = ROOT
			}			
		}
		
		cost = 25

		fire_only_once = yes

		days_remove = 7

		ai_will_do = {
			base = 50
			modifier = {
				factor = 2
				has_war_with = GER
			}
			modifier = {
				factor = 5
				has_war_with = GER
				FRA = {
					has_capitulated = yes
				}
			}
		}

		cancel_trigger = {
			has_civil_war = yes
			NOT = {
				FROM = { is_controlled_by = ROOT } 
			}
		}

		cancel_effect = {
			clr_country_flag = ENG_raising_militia_flag
		}

		complete_effect = {
			set_country_flag = ENG_raising_militia_flag
		}

		remove_effect = {

			FROM = {
				set_state_flag = ENG_raised_home_guard_here_already_flag
				create_unit = {
				    division = "name = \"Home Guard Defense Brigade\" division_template = \"Home Guard Defense Brigades\" start_experience_factor = 0.1 start_equipment_factor = 0.6"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Home Guard Defense Brigade\" division_template = \"Home Guard Defense Brigades\" start_experience_factor = 0.1 start_equipment_factor = 0.6"
				    owner = ROOT
				}
			}

			clr_country_flag = ENG_raising_militia_flag
		}
	}

	# Send the Hoem Guards back Home
	ENG_send_the_home_guard_back_home = {

		icon = GFX_decision_SWI_dismiss_council

		priority = 81

		visible = {
			has_country_flag = ENG_home_guard_established_flag
		}

		available = {
			has_war = no
		}

		fire_only_once = yes
	
		cost = 10

		complete_effect = {

			custom_effect_tooltip = ENG_disband_home_guards_tt

			hidden_effect = {
				delete_units = {
					division_template = "Home Guard Defense Brigades"
					disband = no #MP or weapons are not ours to take
				}
			}

		}
		
		ai_will_do = {
			base = 500
		}
	}

}

# Appeal to Imperial Loyalists
ENG_appeal_to_imperial_loyalists = {
	
	# Foment Canadian Imperialist Uprising
	ENG_support_imperialist_coup_in_canada = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 4999 }
			has_equipment = { support_equipment > 99 }
			has_equipment = { artillery_equipment > 249 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = CAN
				NOT = { is_subject_of = ROOT }
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 100

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			FROM = {
				NOT = { is_in_faction_with = ROOT }
				NOT = { is_subject_of = ROOT }
				has_civil_war = no
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				exists = yes
			}
			NOT = { has_country_flag = ENG_CAN_suppressed_coup }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_canada_tt
			hidden_effect = { set_country_flag = ENG_prepare_coup_in_CAN }
			FROM = {
				activate_mission = ENG_support_imperialist_coup_in_canada_mission_1
				country_event = { id = mtg_britain.61 hours = 6 }
			}
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	# Imperialist Uprising Imminent
	ENG_support_imperialist_coup_in_canada_mission_1 = { # warning for Canada

		icon = eng_support_imperialist_coup
		
		available = {
			ENG = { has_country_flag = ENG_CAN_suppressed_coup }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = CAN
			ENG = { has_country_flag = ENG_prepare_coup_in_CAN }
		}

		visible = {
			tag = CAN
			ENG = { has_country_flag = ENG_prepare_coup_in_CAN }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			if = {
				limit = {
					ENG = { has_government = neutrality }
					CAN = { NOT = { has_government = neutrality } }
				}
				CAN = { start_civil_war = { ideology = neutrality size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = CAN
						has_government = neutrality
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_canada
				}
				CAN = { hidden_effect = { news_event = { id = mtg_news.26 days = 1 } } }
			}
			if = {
				limit = {
					ENG = { has_government = fascism }
					CAN = { NOT = { has_government = fascism } }
				}
				CAN = { start_civil_war = { ideology = fascism size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = CAN
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_canada
				}
			}
			ENG = { clr_country_flag = ENG_prepare_coup_in_CAN }
			CAN = {
				hidden_effect = { news_event = { id = mtg_news.26 days = 1 } }
				set_country_flag = ENG_imperialist_civil_war
			}
		}
	}

	# Suppress the Imperialist Uprising
	ENG_suppress_imperialist_coup_in_canada = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = CAN
		}

		available = {
			has_army_experience > 5
		}

		targets = { ENG }
		targets_dynamic = yes

		target_trigger = {
			FROM = {
				original_tag = ENG
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			OR = {
				ENG = { has_country_flag = ENG_prepare_coup_in_CAN }
				has_country_flag = CAN_suppressing_coup
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_CAN_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_stability = -0.05
			army_experience = -5
			hidden_effect = {
				FROM = {
					set_country_flag = ENG_CAN_suppressed_coup
					clr_country_flag = ENG_prepare_coup_in_CAN
					clr_country_flag = ENG_renewing_support_for_coup_CAN
					set_country_flag = { flag = ENG_prepare_coup_in_CAN_reset_flag value = 1 days = 2 }
				}
				set_country_flag = CAN_suppressing_coup
			}
			custom_effect_tooltip = ENG_suppress_imperialist_coup_tt
			FROM = { activate_mission = ENG_support_imperialist_coup_in_canada_mission_2 }
		}

		remove_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
		}

		ai_will_do = {
			factor = 0
		}
	}

	# Canadian Uprising Suppressed
	ENG_support_imperialist_coup_in_canada_mission_2 = { # warning for Britain

		icon = eng_support_imperialist_coup
		
		available = {
			custom_trigger_tooltip = { tooltip = ENG_support_imperialist_coup_in_canada_mission_2_tt }
			hidden_trigger = { NOT = { has_country_flag = ENG_CAN_suppressed_coup } }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_CAN_suppressed_coup
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_CAN_suppressed_coup
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
			clr_country_flag = ENG_CAN_suppressed_coup
			CAN = { clr_country_flag = CAN_suppressing_coup }
		}
	}

	# Renew Support for Canadian Uprising
	ENG_renew_support_for_imperialist_coup_in_canada = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 2499 }
			has_equipment = { support_equipment > 49 }
			has_equipment = { artillery_equipment > 124 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = CAN
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			OR = {
				has_country_flag = ENG_CAN_suppressed_coup
				has_country_flag = ENG_renewing_support_for_coup_CAN
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_CAN_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_canada_tt
			hidden_effect = {
				FROM = {
					clr_country_flag = CAN_suppressing_coup
					set_country_flag = { flag = ENG_prepare_coup_in_CAN_reset_flag value = 1 days = 2 }
				}
				clr_country_flag = ENG_CAN_suppressed_coup
				set_country_flag = ENG_prepare_coup_in_CAN
				set_country_flag = ENG_renewing_support_for_coup_CAN
			}
			FROM = { activate_mission = ENG_support_imperialist_coup_in_canada_mission_1 }
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						CAN = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	ENG_support_imperialist_coup_in_south_africa = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 4999 }
			has_equipment = { support_equipment > 99 }
			has_equipment = { artillery_equipment > 249 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = SAF
				NOT = { is_subject_of = ROOT }
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 100

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			FROM = {
				NOT = { is_in_faction_with = ROOT }
				NOT = { is_subject_of = ROOT }
				has_civil_war = no
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				exists = yes
			}
			NOT = { has_country_flag = ENG_SAF_suppressed_coup }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_south_africa_tt
			hidden_effect = { set_country_flag = ENG_prepare_coup_in_SAF }
			FROM = {
				activate_mission = ENG_support_imperialist_coup_in_south_africa_mission_1
				country_event = { id = mtg_britain.61 hours = 6 }
			}
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_support_imperialist_coup_in_south_africa_mission_1 = { # warning for south_africa

		icon = eng_support_imperialist_coup
		
		available = {
			ENG = { has_country_flag = ENG_SAF_suppressed_coup }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = SAF
			ENG = { has_country_flag = ENG_prepare_coup_in_SAF }
		}

		visible = {
			tag = SAF
			ENG = { has_country_flag = ENG_prepare_coup_in_SAF }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			if = {
				limit = {
					ENG = { has_government = neutrality }
					SAF = { NOT = { has_government = neutrality } }
				}
				SAF = { start_civil_war = { ideology = neutrality size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = SAF
						has_government = neutrality
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_south_africa
				}
				SAF = { hidden_effect = { news_event = { id = mtg_news.26 days = 1 } } }
			}
			if = {
				limit = {
					ENG = { has_government = fascism }
					SAF = { NOT = { has_government = fascism } }
				}
				SAF = { start_civil_war = { ideology = fascism size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = SAF
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_south_africa
				}
				SAF = {
					hidden_effect = { news_event = { id = mtg_news.26 days = 1 } }
					set_country_flag = ENG_imperialist_civil_war
				}
			}
			ENG = { clr_country_flag = ENG_prepare_coup_in_SAF }
		}
	}

	ENG_suppress_imperialist_coup_in_south_africa = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = SAF
		}

		available = {
			has_army_experience > 5
		}

		targets = { ENG }
		targets_dynamic = yes

		target_trigger = {
			FROM = {
				original_tag = ENG
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			OR = {
				FROM = { has_country_flag = ENG_prepare_coup_in_SAF }
				has_country_flag = SAF_suppressing_coup
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_SAF_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_stability = -0.05
			army_experience = -5
			hidden_effect = {
				FROM = {
					set_country_flag = ENG_SAF_suppressed_coup
					clr_country_flag = ENG_prepare_coup_in_SAF
					clr_country_flag = ENG_renewing_support_for_coup_SAF
					set_country_flag = { flag = ENG_prepare_coup_in_SAF_reset_flag value = 1 days = 2 }
				}
				set_country_flag = SAF_suppressing_coup
			}
			custom_effect_tooltip = ENG_suppress_imperialist_coup_tt
			FROM = { activate_mission = ENG_support_imperialist_coup_in_south_africa_mission_2 }
		}

		remove_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_support_imperialist_coup_in_south_africa_mission_2 = { # warning for Britain

		icon = eng_support_imperialist_coup
		
		available = {
			custom_trigger_tooltip = { tooltip = ENG_support_imperialist_coup_in_south_africa_mission_2_tt }
			hidden_trigger = { NOT = { has_country_flag = ENG_SAF_suppressed_coup } }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_SAF_suppressed_coup
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_SAF_suppressed_coup
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
			clr_country_flag = ENG_SAF_suppressed_coup
			SAF = { clr_country_flag = SAF_suppressing_coup }
		}
	}

	ENG_renew_support_for_imperialist_coup_in_south_africa = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 2499 }
			has_equipment = { support_equipment > 49 }
			has_equipment = { artillery_equipment > 124 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = SAF
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			OR = {
				has_country_flag = ENG_SAF_suppressed_coup
				has_country_flag = ENG_renewing_support_for_coup_SAF
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_SAF_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_south_africa_tt
			hidden_effect = {
				FROM = {
					clr_country_flag = SAF_suppressing_coup
					set_country_flag = { flag = ENG_prepare_coup_in_SAF_reset_flag value = 1 days = 2 }
				}
				clr_country_flag = ENG_SAF_suppressed_coup
				set_country_flag = ENG_prepare_coup_in_SAF
				set_country_flag = ENG_renewing_support_for_coup_SAF
			}
			FROM = { activate_mission = ENG_support_imperialist_coup_in_south_africa_mission_1 }
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = SAF
							has_government = neutrality
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = SAF
							has_government = fascism
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	ENG_support_imperialist_coup_in_australia = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 4999 }
			has_equipment = { support_equipment > 99 }
			has_equipment = { artillery_equipment > 249 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = AST
				NOT = { is_subject_of = ROOT }
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 100

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			FROM = {
				NOT = { is_in_faction_with = ROOT }
				NOT = { is_subject_of = ROOT }
				has_civil_war = no
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				exists = yes
			}
			NOT = { has_country_flag = ENG_AST_suppressed_coup }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_australia_tt
			hidden_effect = { set_country_flag = ENG_prepare_coup_in_AST }
			FROM = {
				activate_mission = ENG_support_imperialist_coup_in_australia_mission_1
				country_event = { id = mtg_britain.61 hours = 6 }
			}
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_support_imperialist_coup_in_australia_mission_1 = { # warning for australia

		icon = eng_support_imperialist_coup
		
		available = {
			ENG = { has_country_flag = ENG_AST_suppressed_coup }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = AST
			ENG = { has_country_flag = ENG_prepare_coup_in_AST }
		}

		visible = {
			tag = AST
			ENG = { has_country_flag = ENG_prepare_coup_in_AST }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			if = {
				limit = {
					ENG = { has_government = neutrality }
					AST = { NOT = { has_government = neutrality } }
				}
				AST = { start_civil_war = { ideology = neutrality size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = AST
						has_government = neutrality
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_australia
					create_country_leader = {
						name = "William Birdwood"
						desc = "POLITICS_WILLIAM_BIRDWOOD_DESC"
						picture = GFX_portrait_William_Birdwood
						expire = "1965.1.1"
						ideology = centrism
						traits = {
							
						}
					}
				}
				AST = { hidden_effect = { news_event = { id = mtg_news.26 days = 1 } } }
			}
			if = {
				limit = {
					ENG = { has_government = fascism }
					AST = { NOT = { has_government = fascism } }
				}
				AST = { start_civil_war = { ideology = fascism size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = AST
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_australia
				}
				AST = {
					hidden_effect = { news_event = { id = mtg_news.26 days = 1 } }
					set_country_flag = ENG_imperialist_civil_war
				}
			}
			ENG = { clr_country_flag = ENG_prepare_coup_in_AST }
		}
	}

	ENG_suppress_imperialist_coup_in_australia = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = AST
		}

		available = {
			has_army_experience > 5
		}

		targets = { ENG }
		targets_dynamic = yes

		target_trigger = {
			FROM = {
				original_tag = ENG
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			OR = {
				FROM = { has_country_flag = ENG_prepare_coup_in_AST }
				has_country_flag = AST_suppressing_coup
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_AST_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_stability = -0.05
			army_experience = -5
			hidden_effect = {
				FROM = {
					set_country_flag = ENG_AST_suppressed_coup
					clr_country_flag = ENG_prepare_coup_in_AST
					clr_country_flag = ENG_renewing_support_for_coup_AST
					set_country_flag = { flag = ENG_prepare_coup_in_AST_reset_flag value = 1 days = 2 }
				}
				set_country_flag = AST_suppressing_coup
			}
			custom_effect_tooltip = ENG_suppress_imperialist_coup_tt
			FROM = { activate_mission = ENG_support_imperialist_coup_in_australia_mission_2 }
		}

		remove_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_support_imperialist_coup_in_australia_mission_2 = { # warning for Britain

		icon = eng_support_imperialist_coup
		
		available = {
			custom_trigger_tooltip = { tooltip = ENG_support_imperialist_coup_in_australia_mission_2_tt }
			hidden_trigger = { NOT = { has_country_flag = ENG_AST_suppressed_coup } }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_AST_suppressed_coup
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_AST_suppressed_coup
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
			clr_country_flag = ENG_AST_suppressed_coup
			AST = { clr_country_flag = AST_suppressing_coup }
		}
	}

	ENG_renew_support_for_imperialist_coup_in_australia = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 2499 }
			has_equipment = { support_equipment > 49 }
			has_equipment = { artillery_equipment > 124 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = AST
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			OR = {
				has_country_flag = ENG_AST_suppressed_coup
				has_country_flag = ENG_renewing_support_for_coup_AST
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_AST_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_australia_tt
			hidden_effect = {
				FROM = {
					clr_country_flag = AST_suppressing_coup
					set_country_flag = { flag = ENG_prepare_coup_in_AST_reset_flag value = 1 days = 2 }
				}
				clr_country_flag = ENG_AST_suppressed_coup
				set_country_flag = ENG_prepare_coup_in_AST
				set_country_flag = ENG_renewing_support_for_coup_AST
			}
			FROM = { activate_mission = ENG_support_imperialist_coup_in_australia_mission_1 }
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = AST
							has_government = neutrality
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = AST
							has_government = fascism
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	ENG_support_imperialist_coup_in_new_zealand = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 4999 }
			has_equipment = { support_equipment > 99 }
			has_equipment = { artillery_equipment > 249 }
			OR = {
				AND = {
					has_government = neutrality
					FROM = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					FROM = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = NZL
				NOT = { is_subject_of = ROOT }
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 100

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			FROM = {
				NOT = { is_in_faction_with = ROOT }
				NOT = { is_subject_of = ROOT }
				has_civil_war = no
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				exists = yes
			}
			NOT = { has_country_flag = ENG_NZL_suppressed_coup }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_new_zealand_tt
			hidden_effect = { set_country_flag = ENG_prepare_coup_in_NZL }
			FROM = {
				activate_mission = ENG_support_imperialist_coup_in_new_zealand_mission_1
				country_event = { id = mtg_britain.61 hours = 6 }
			}
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = NZL
							has_government = neutrality
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.4 } }
					random_other_country = {
						limit = {
							original_tag = NZL
							has_government = fascism
						}
						add_opinion_modifier = { target = ROOT modifier = ENG_imperial_loyalist }
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_support_imperialist_coup_in_new_zealand_mission_1 = { # warning for new_zealand

		icon = eng_support_imperialist_coup
		
		available = {
			ENG = { has_country_flag = ENG_NZL_suppressed_coup }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = NZL
			ENG = { has_country_flag = ENG_prepare_coup_in_NZL }
		}

		visible = {
			tag = NZL
			ENG = { has_country_flag = ENG_prepare_coup_in_NZL }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			if = {
				limit = {
					ENG = { has_government = neutrality }
					NZL = { NOT = { has_government = neutrality } }
				}
				NZL = { start_civil_war = { ideology = neutrality size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = NZL
						has_government = neutrality
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_new_zealand
				}
				NZL = { hidden_effect = { news_event = { id = mtg_news.26 days = 1 } } }
			}
			if = {
				limit = {
					ENG = { has_government = fascism }
					NZL = { NOT = { has_government = fascism } }
				}
				NZL = { start_civil_war = { ideology = fascism size = 0.4 } }
				random_other_country = {
					limit = {
						original_tag = NZL
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_imperial_loyalist }
					set_cosmetic_tag = ENG_imperialist_new_zealand
				}
				NZL = {
					hidden_effect = { news_event = { id = mtg_news.26 days = 1 } }
					set_country_flag = ENG_imperialist_civil_war
				}
			}
			ENG = { clr_country_flag = ENG_prepare_coup_in_NZL }
		}
	}

	ENG_suppress_imperialist_coup_in_new_zealand = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = NZL
		}

		available = {
			has_army_experience > 5
		}

		targets = { ENG }
		targets_dynamic = yes

		target_trigger = {
			FROM = {
				original_tag = ENG
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			OR = {
				FROM = { has_country_flag = ENG_prepare_coup_in_NZL }
				has_country_flag = NZL_suppressing_coup
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_NZL_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			add_stability = -0.05
			army_experience = -5
			hidden_effect = {
				FROM = {
					set_country_flag = ENG_NZL_suppressed_coup
					clr_country_flag = ENG_prepare_coup_in_NZL
					clr_country_flag = ENG_renewing_support_for_coup_NZL
					set_country_flag = { flag = ENG_prepare_coup_in_NZL_reset_flag value = 1 days = 2 }
				}
				set_country_flag = NZL_suppressing_coup
			}
			custom_effect_tooltip = ENG_suppress_imperialist_coup_tt
			FROM = { activate_mission = ENG_support_imperialist_coup_in_new_zealand_mission_2 }
		}

		remove_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_support_imperialist_coup_in_new_zealand_mission_2 = { # warning for Britain

		icon = eng_support_imperialist_coup
		
		available = {
			custom_trigger_tooltip = { tooltip = ENG_support_imperialist_coup_in_new_zealand_mission_2_tt }
			hidden_trigger = { NOT = { has_country_flag = ENG_NZL_suppressed_coup } }
		}

		days_mission_timeout = 90
		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_NZL_suppressed_coup
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_NZL_suppressed_coup
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			custom_effect_tooltip = ENG_support_imperialist_coup_mission_2_tt
			clr_country_flag = ENG_NZL_suppressed_coup
			NZL = { clr_country_flag = NZL_suppressing_coup }
		}
	}

	ENG_renew_support_for_imperialist_coup_in_new_zealand = {

		icon = eng_support_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			has_equipment = { infantry_equipment > 2499 }
			has_equipment = { support_equipment > 49 }
			has_equipment = { artillery_equipment > 124 }
			OR = {
				AND = {
					has_government = neutrality
					NZL = { NOT = { has_government = neutrality } }
				}
				AND = {
					has_government = fascism
					NZL = { NOT = { has_government = fascism } }
				}
			}
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
		}

		target_trigger = {
			FROM = {
				tag = NZL
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					NOT = { has_government = neutrality }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					NOT = { has_government = fascism }
				}
			}
		}

		days_remove = 90

		cost = 50

		fire_only_once = no

		visible = {
			has_completed_focus = ENG_appeal_to_imperial_loyalists
			OR = {
				has_country_flag = ENG_NZL_suppressed_coup
				has_country_flag = ENG_renewing_support_for_coup_NZL
			}
			NOT = { has_country_flag = ENG_prepare_coup_in_NZL_reset_flag }
		}

		cancel_if_not_visible = yes

		complete_effect = {
			custom_effect_tooltip = ENG_renew_support_for_imperialist_coup_in_new_zealand_tt
			hidden_effect = {
				FROM = {
					clr_country_flag = NZL_suppressing_coup
					set_country_flag = { flag = ENG_prepare_coup_in_NZL_reset_flag value = 1 days = 2 }
				}
				clr_country_flag = ENG_NZL_suppressed_coup
				set_country_flag = ENG_prepare_coup_in_NZL
				set_country_flag = ENG_renewing_support_for_coup_NZL
			}
			FROM = { activate_mission = ENG_support_imperialist_coup_in_new_zealand_mission_1 }
		}

		remove_effect = {
			effect_tooltip = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
						FROM = { NOT = { has_government = neutrality } }
					}
					FROM = { start_civil_war = { ideology = neutrality size = 0.5 } }
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
						FROM = { NOT = { has_government = fascism } }
					}
					FROM = { start_civil_war = { ideology = fascism size = 0.5 } }
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	ENG_ally_the_canadian_imperialist_uprising = {

		icon = eng_ally_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			CAN = { has_civil_war = yes }
			NOT = { is_in_faction_with = CAN }
		}

		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
		}


		target_trigger = {
			FROM = {
				original_tag = CAN
				has_civil_war = yes
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
			FROM = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		complete_effect = {
			FROM = {
				set_country_flag = britain_enforced_our_loyalty
				ROOT = {
					add_to_war = { targeted_alliance = PREV enemy = CAN hostility_reason = asked_to_join }
					add_to_faction = PREV
					if = {
						limit = {
							has_dlc = "Death or Dishonor"
							has_government = fascism
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_reichskommissariat
						}
					}
					else_if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_integrated_puppet
						}
					}
					else = {
						puppet = PREV
					}
				}
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						load_focus_tree = { tree = canadian_focus keep_completed = yes }
						CAN_enforce_loyalty = yes
					}
				}	
				hidden_effect = { country_event = { id = mtg_britain.112 days = 1 } }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_ally_the_south_african_imperialist_uprising = {

		icon = eng_ally_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			SAF = { has_civil_war = yes }
			NOT = { is_in_faction_with = SAF }
		}

		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
		}

		target_trigger = {
			FROM = {
				original_tag = SAF
				has_civil_war = yes
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
			FROM = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		complete_effect = {
			FROM = {
				set_country_flag = britain_enforced_our_loyalty
				ROOT = {
					add_to_war = { targeted_alliance = PREV enemy = SAF hostility_reason = asked_to_join }
					add_to_faction = PREV
					if = {
						limit = {
							has_dlc = "Death or Dishonor"
							has_government = fascism
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_reichskommissariat
						}
					}
					else_if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_integrated_puppet
						}
					}
					else = {
						puppet = PREV
					}
				}
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						load_focus_tree = { tree = south_african_focus keep_completed = yes }
						SAF_enforce_loyalty = yes
					}
				}
				hidden_effect = { country_event = { id = mtg_britain.112 days = 1 } }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_ally_the_australian_imperialist_uprising = {

		icon = eng_ally_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			AST = { has_civil_war = yes }
			NOT = { is_in_faction_with = AST }
		}

		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
		}

		target_trigger = {
			FROM = {
				original_tag = AST
				has_civil_war = yes
				if = {
					limit = {
						ENG = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ENG = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
			FROM = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		complete_effect = {
			FROM = {
				set_country_flag = britain_enforced_our_loyalty
				ROOT = {
					add_to_war = { targeted_alliance = PREV enemy = AST hostility_reason = asked_to_join }
					add_to_faction = PREV
					if = {
						limit = {
							has_dlc = "Death or Dishonor"
							has_government = fascism
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_reichskommissariat
						}
					}
					else_if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_integrated_puppet
						}
					}
					else = {
						puppet = PREV
					}
				}
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						load_focus_tree = { tree = australian_focus keep_completed = yes }
						AST_enforce_loyalty = yes
					}
				}
				hidden_effect = { country_event = { id = mtg_britain.112 days = 1 } }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_ally_the_new_zealand_imperialist_uprising = {

		icon = eng_ally_imperialist_coup

		allowed = {
			tag = ENG
		}

		available = {
			NZL = { has_civil_war = yes }
			NOT = { is_in_faction_with = NZL }
		}

		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
		}

		target_trigger = {
			FROM = {
				original_tag = NZL
				has_civil_war = yes
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
			FROM = {
				if = {
					limit = {
						ROOT = { has_government = neutrality }
					}
					has_government = neutrality
				}
				if = {
					limit = {
						ROOT = { has_government = fascism }
					}
					has_government = fascism
				}
			}
		}

		complete_effect = {
			FROM = {
				set_country_flag = britain_enforced_our_loyalty
				ROOT = {
					add_to_war = { targeted_alliance = PREV enemy = NZL hostility_reason = asked_to_join }
					add_to_faction = PREV
					if = {
						limit = {
							has_dlc = "Death or Dishonor"
							has_government = fascism
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_reichskommissariat
						}
					}
					else_if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_integrated_puppet
						}
					}
					else = {
						puppet = PREV
					}
				}
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						load_focus_tree = { tree = new_zealander_focus keep_completed = yes }
						NZL_enforce_loyalty = yes
					}
				}
				hidden_effect = { country_event = { id = mtg_britain.112 days = 1 } }
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}

ENG_concessions_to_the_trade_unions = {

	ENG_trade_unions_demand_minister_appointment_1 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_1
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_1
			add_ideas = ENG_random_communist_minister_1 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_2 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_2
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_2
			add_ideas = ENG_random_communist_minister_2 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_3 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_3
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_3
			add_ideas = ENG_random_communist_minister_3 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_4 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_4
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_4
			add_ideas = ENG_random_communist_minister_4 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_5 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_5
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_5
			add_ideas = ENG_random_communist_minister_5 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_6 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_6
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_6
			add_ideas = ENG_random_communist_minister_6 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_7 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_7
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_7
			add_ideas = ENG_random_communist_minister_7 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_8 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_8
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_8
			add_ideas = ENG_random_communist_minister_8 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_9 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_9
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_9
			add_ideas = ENG_random_communist_minister_9 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_10 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_10
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_10
			add_ideas = ENG_random_communist_minister_10 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_11 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_11
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_11
			add_ideas = ENG_random_communist_minister_11 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_12 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_12
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_12
			add_ideas = ENG_random_communist_minister_12 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_13 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_13
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_13
			add_ideas = ENG_random_communist_minister_13 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_14 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_14
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_14
			add_ideas = ENG_random_communist_minister_14 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_15 = {

		name = ENG_trade_unions_demand_minister_appointment_decision

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minister_appointment_15
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minister_appointment_15
			add_ideas = ENG_random_communist_minister_15 #intentionally not given loc so it can be random 
			remove_mission = ENG_trade_unions_demand_minister_appointment_mission
			hidden_effect = {
				random_list = {
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
				set_country_flag = ENG_trade_unions_demand_minister_appointment
				custom_effect_tooltip = ENG_trade_unions_demands_tt
			}
			ENG_request_trade_union_support_cost_level_down = yes
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minister_appointment_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_minister_appointment
		}

		days_mission_timeout = 200

		fire_only_once = no

		activation = {
			tag = ENG

			custom_trigger_tooltip = {
				tooltip = ENG_trade_unions_demand_minister_appointment_1
				OR = {
					has_country_flag = ENG_trade_unions_demand_minister_appointment_1
					has_country_flag = ENG_trade_unions_demand_minister_appointment_2
					has_country_flag = ENG_trade_unions_demand_minister_appointment_3
					has_country_flag = ENG_trade_unions_demand_minister_appointment_4
					has_country_flag = ENG_trade_unions_demand_minister_appointment_5
					has_country_flag = ENG_trade_unions_demand_minister_appointment_6
					has_country_flag = ENG_trade_unions_demand_minister_appointment_7
					has_country_flag = ENG_trade_unions_demand_minister_appointment_8
					has_country_flag = ENG_trade_unions_demand_minister_appointment_9
					has_country_flag = ENG_trade_unions_demand_minister_appointment_10
					has_country_flag = ENG_trade_unions_demand_minister_appointment_11
					has_country_flag = ENG_trade_unions_demand_minister_appointment_12
					has_country_flag = ENG_trade_unions_demand_minister_appointment_13
					has_country_flag = ENG_trade_unions_demand_minister_appointment_14
					has_country_flag = ENG_trade_unions_demand_minister_appointment_15
				}
			}
			
			
			NOT = { has_country_flag = ENG_trade_unions_demand_minister_appointment }
		}

		visible = {
			tag = ENG
			custom_trigger_tooltip = {
				tooltip = ENG_trade_unions_demand_minister_appointment_1
				OR = {
					has_country_flag = ENG_trade_unions_demand_minister_appointment_1
					has_country_flag = ENG_trade_unions_demand_minister_appointment_2
					has_country_flag = ENG_trade_unions_demand_minister_appointment_3
					has_country_flag = ENG_trade_unions_demand_minister_appointment_4
					has_country_flag = ENG_trade_unions_demand_minister_appointment_5
					has_country_flag = ENG_trade_unions_demand_minister_appointment_6
					has_country_flag = ENG_trade_unions_demand_minister_appointment_7
					has_country_flag = ENG_trade_unions_demand_minister_appointment_8
					has_country_flag = ENG_trade_unions_demand_minister_appointment_9
					has_country_flag = ENG_trade_unions_demand_minister_appointment_10
					has_country_flag = ENG_trade_unions_demand_minister_appointment_11
					has_country_flag = ENG_trade_unions_demand_minister_appointment_12
					has_country_flag = ENG_trade_unions_demand_minister_appointment_13
					has_country_flag = ENG_trade_unions_demand_minister_appointment_14
					has_country_flag = ENG_trade_unions_demand_minister_appointment_15
				}
			}
			NOT = { has_country_flag = ENG_trade_unions_demand_minister_appointment }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_legislation_amendment = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 150

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_legislation_amendment
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_legislation_amendment_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_legislation_amendment_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag
		}

		days_mission_timeout = 300

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_legislation_amendment
			NOT = { has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_legislation_amendment
			NOT = { has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_conscription_limitations = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 75

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_conscription_limitations
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag
			custom_effect_tooltip = ENG_trade_unions_demand_conscription_limitations_tt
			if = {
				limit = {
					has_idea = volunteer_only
				}
				custom_effect_tooltip = ENG_trade_unions_demand_conscription_limitations_tt2
			}
			if = {
				limit = {
					has_idea = limited_conscription
				}
				remove_ideas = limited_conscription
				add_ideas = volunteer_only
			}
			if = {
				limit = {
					has_idea = extensive_conscription
				}
				remove_ideas = extensive_conscription
				add_ideas = limited_conscription
			}
			if = {
				limit = {
					has_idea = service_by_requirement
				}
				remove_ideas = service_by_requirement
				add_ideas = extensive_conscription
			}
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_conscription_limitations_mission
			hidden_effect = {
				set_country_flag = { flag = ENG_cannot_increase_conscription_law value = 1 days = 365 }
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_conscription_limitations_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag
		}

		days_mission_timeout = 150

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_conscription_limitations
			NOT = { has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_conscription_limitations
			NOT = { has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_workplace_safety_legislation = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 75

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_2
				}
				remove_ideas =  ENG_factory_safety_regulations_2
				add_timed_idea = { idea = ENG_factory_safety_regulations_3 days = 365 }
			}
			else_if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_1
				}
				remove_ideas =  ENG_factory_safety_regulations_1
				add_timed_idea = { idea = ENG_factory_safety_regulations_2 days = 365 }
			}
			else_if = {
				limit = {
					NOT = { has_idea = ENG_factory_safety_regulations_1 }
					NOT = { has_idea = ENG_factory_safety_regulations_2 }
				}
				add_timed_idea = { idea = ENG_factory_safety_regulations_1 days = 365 }
			}
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_workplace_safety_legislation_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag
		}

		days_mission_timeout = 150

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
			NOT = { has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
			NOT = { has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_increase_in_paid_leave = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 75

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_2
				}
				remove_ideas =  ENG_factory_safety_regulations_2
				add_timed_idea = { idea = ENG_factory_safety_regulations_3 days = 365 }
			}
			else_if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_1
				}
				remove_ideas =  ENG_factory_safety_regulations_1
				add_timed_idea = { idea = ENG_factory_safety_regulations_2 days = 365 }
			}
			else_if = {
				limit = {
					NOT = { has_idea = ENG_factory_safety_regulations_1 }
					NOT = { has_idea = ENG_factory_safety_regulations_2 }
				}
				add_timed_idea = { idea = ENG_factory_safety_regulations_1 days = 365 }
			}
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_increase_in_paid_leave_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag
		}

		days_mission_timeout = 150

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
			NOT = { has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
			NOT = { has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_minimum_pay_increase = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 75

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_2
				}
				remove_ideas =  ENG_factory_safety_regulations_2
				add_timed_idea = { idea = ENG_factory_safety_regulations_3 days = 365 }
			}
			else_if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_1
				}
				remove_ideas =  ENG_factory_safety_regulations_1
				add_timed_idea = { idea = ENG_factory_safety_regulations_2 days = 365 }
			}
			else_if = {
				limit = {
					NOT = { has_idea = ENG_factory_safety_regulations_1 }
					NOT = { has_idea = ENG_factory_safety_regulations_2 }
				}
				add_timed_idea = { idea = ENG_factory_safety_regulations_1 days = 365 }
			}
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_minimum_pay_increase_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag
		}

		days_mission_timeout = 150

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
			NOT = { has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
			NOT = { has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_construction_safety_legislation = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 75

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag
			add_timed_idea = { idea = ENG_construction_safety_regulations days = 365 }
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_mandatory_union_days
						}
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_construction_safety_legislation_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag
		}

		days_mission_timeout = 150

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
			NOT = { has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
			NOT = { has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_mandatory_union_days = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days
		}

		complete_effect = {
			add_popularity = { ideology = communism popularity = 0.05 }
			set_country_flag = { flag = ENG_trade_unions_demand_timer value = 1 days = 30 }
			set_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag
			add_timed_idea = { idea = ENG_mandatory_union_days days = 365 }
			custom_effect_tooltip = ENG_trade_unions_demands_tt
			ENG_request_trade_union_support_cost_level_down = yes
			remove_mission = ENG_trade_unions_demand_mandatory_union_days_mission
			hidden_effect = {
				random_list = {
					10 = {
						modifier = {
							factor = 0 has_country_flag = ENG_trade_unions_demand_minister_appointment
						}
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_legislation_amendment
						}
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_conscription_limitations
						}
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						}
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						}
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = { 
						modifier = {
							factor = 0
							has_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						}
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
				}
			}
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_mandatory_union_days_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag
		}

		days_mission_timeout = 200

		fire_only_once = no

		activation = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days
			NOT = { has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag }
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days
			NOT = { has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_trade_unions_demand_referendum = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			communism > 0.5
			has_country_flag = ENG_trade_unions_demand_minister_appointment
			has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag
			has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag
			NOT = { has_country_flag = ENG_trade_unions_demand_timer }
		}

		cost = 100

		fire_only_once = yes

		visible = {
			NOT = { has_government = communism }
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_1
				}
				remove_ideas = ENG_factory_safety_regulations_1
			}
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_2
				}
				remove_ideas = ENG_factory_safety_regulations_2
			}
			if = {
				limit = {
					has_idea = ENG_factory_safety_regulations_3
				}
				remove_ideas = ENG_factory_safety_regulations_3
			}
			if = {
				limit = {
					has_idea = ENG_construction_safety_regulations
				}
				remove_ideas = ENG_construction_safety_regulations
			}
			if = {
				limit = {
					has_idea = ENG_mandatory_union_days
				}
				remove_ideas = ENG_mandatory_union_days
			}
			if = {
				limit = {
					has_country_flag = ENG_trade_unions_demand_conscription_limitations
				}
				hidden_effect = { clr_country_flag = ENG_trade_unions_demand_conscription_limitations }
				custom_effect_tooltip = ENG_trade_unions_demand_referendum_tt
			}
			set_country_flag = ENG_switched_to_communism_civil_war_flag
			set_country_flag = { flag = ENG_switched_to_communism_civil_war_timer_flag value = 1 days = 730 }
			set_country_flag = { flag = ENG_switched_to_fascism_communism_dominions_timer_flag value = 1 days = 180 }
			country_event = { id = political.19 }
			ENG_request_trade_union_support_cost_level_down = yes
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_2
			activate_mission = ENG_expected_decolonization
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_trade_unions_demand_referendum_mission = {

		icon = eng_trade_unions_demand
		
		available = {
			has_government = communism
		}

		days_mission_timeout = 200

		fire_only_once = no

		activation = {
			tag = ENG
			communism > 0.5
			has_country_flag = ENG_trade_unions_demand_minister_appointment
			has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag
			has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag
			NOT = { has_government = communism }
		}

		visible = {
			tag = ENG
			communism > 0.5
			has_country_flag = ENG_trade_unions_demand_minister_appointment
			has_country_flag = ENG_trade_unions_demand_legislation_amendment_done_flag
			has_country_flag = ENG_trade_unions_demand_conscription_limitations_done_flag
			has_country_flag = ENG_trade_unions_demand_workplace_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_increase_in_paid_leave_done_flag
			has_country_flag = ENG_trade_unions_demand_minimum_pay_increase_done_flag
			has_country_flag = ENG_trade_unions_demand_construction_safety_legislation_done_flag
			has_country_flag = ENG_trade_unions_demand_mandatory_union_days_done_flag
			NOT = { has_government = communism }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			
		}

		timeout_effect = {
			add_political_power = -25
			add_stability = -0.03
			ENG_request_trade_union_support_cost_level_up = yes
		}
	}

	ENG_request_trade_union_support_for_new_factories = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
		}

		cost = ENG_trade_unions_support_50_cost?50

		fire_only_once = no

		visible = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_stability < 0.9
				}
				add_stability = 0.05
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					NOT = { has_state_flag = ENG_trade_unions_demand_referendum_1AF }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = ENG_trade_unions_demand_referendum_1AF
			}
			ENG_request_trade_union_support_cost_level_up = yes
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_request_trade_union_factory_worker_support = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_idea = ENG_trade_union_factory_worker_support }
		}

		cost = ENG_trade_unions_support_75_cost?75

		fire_only_once = no

		visible = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_stability < 0.9
				}
				add_stability = 0.05
			}
			add_timed_idea = { idea = ENG_trade_union_factory_worker_support days = 180 }
			ENG_request_trade_union_support_cost_level_up = yes
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_request_trade_union_dockyard_worker_support = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_idea = ENG_trade_union_dockyard_worker_support }
		}

		cost = ENG_trade_unions_support_75_cost?75

		fire_only_once = no

		visible = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_stability < 0.9
				}
				add_stability = 0.05
			}
			add_timed_idea = { idea = ENG_trade_union_dockyard_worker_support days = 180 }
			ENG_request_trade_union_support_cost_level_up = yes
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_request_trade_union_construction_worker_support = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_idea = ENG_trade_union_construction_worker_support }
		}

		cost = ENG_trade_unions_support_75_cost?75

		fire_only_once = no

		visible = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_stability < 0.9
				}
				add_stability = 0.05
			}
			add_timed_idea = { idea = ENG_trade_union_construction_worker_support days = 180 }
			ENG_request_trade_union_support_cost_level_up = yes
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_request_trade_union_war_propaganda_support = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_idea = ENG_trade_union_war_propaganda_support }
		}

		cost = ENG_trade_unions_support_75_cost?75

		fire_only_once = no

		visible = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
		}

		complete_effect = {
			if = {
				limit = {
					has_stability < 0.9
				}
				add_stability = 0.05
			}
			add_timed_idea = { idea = ENG_trade_union_war_propaganda_support days = 180 }
			ENG_request_trade_union_support_cost_level_up = yes
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_expected_decolonization = { # timer for the player to see how much longer they have to decolonize before they get a civil war

		icon = eng_abdication_crisis
		
		available = {
			has_completed_focus = ENG_decolonization
		}

		days_mission_timeout = 730

		fire_only_once = yes

		activation = {
			tag = ENG
			has_completed_focus = ENG_concessions_to_the_trade_unions
			NOT = { has_completed_focus = ENG_decolonization }
			has_government = communism
			has_country_flag = ENG_switched_to_communism_civil_war_flag
		}

		visible = {
			tag = ENG
			NOT = { has_completed_focus = ENG_decolonization }
		}

		cancel_if_not_visible = yes

		is_good = no

		complete_effect = {
			custom_effect_tooltip = ENG_expected_decolonization_tt
		}

		timeout_effect = {
			country_event = { id = mtg_britain.55 }
		}
	}
}

ENG_move_to_secure_the_dominions = {
	
	ENG_impose_martial_law_on_canada = {

		icon = generic_civil_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 467 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 469 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 470 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 473 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 465 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 464 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 468 amount < 28800 } }
			NOT = { army_manpower_in_state = { state = 276 amount < 48000 } }
		}

		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = CAN
			}
		}

		cost = 50

		fire_only_once = yes

		days_remove = 180

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			if = {
				limit = {
					has_government = communism
				}
				NOT = { FROM = { has_government = communism } }
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = { FROM = { has_government = fascism } }
			}
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
		}

		complete_effect = {
			FROM = {
				hidden_effect = { set_country_flag = { flag = ENG_cannot_leave_faction value = 1 days = 180 } }
				custom_effect_tooltip = ENG_impose_martial_law_tt
				country_event = { id = mtg_britain.63 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_propaganda_campaigns_in_canada = {

		icon = eng_propaganda_campaigns

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 467 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 469 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 470 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 473 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 465 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 464 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 468 amount < 28800 } }
			NOT = { army_manpower_in_state = { state = 276 amount < 48000 } }
			FROM = { has_country_flag = ENG_cannot_leave_faction }
		}

		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = CAN
			}
		}

		cost = 25

		fire_only_once = yes

		days_remove = 90

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			NOT = { has_country_flag = ENG_secure_the_dominions_backed_down_against_USA }
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		complete_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_fascist_propaganda days = 90 } }
			}
			else_if = {
				limit = {
					has_government = communism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_communist_propaganda days = 90 } }
			}
			FROM = { country_event = { id = mtg_britain.64 } }
		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_canada_fascism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 467 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 469 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 470 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 473 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 465 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 464 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 468 amount < 28800 } }
			NOT = { army_manpower_in_state = { state = 276 amount < 48000 } }
			FROM = { 
				has_country_flag = ENG_cannot_leave_faction
				fascism > 0.2
			}
		}

		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = CAN
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = fascism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_politics = { ruling_party = fascism elections_allowed = no }
				add_popularity = { ideology = fascism popularity = 0.2 }
				add_timed_idea = { idea = fascist_influence days = 730 }
				CAN_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_canada_communism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 467 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 469 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 470 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 473 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 465 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 464 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 468 amount < 28800 } }
			NOT = { army_manpower_in_state = { state = 276 amount < 48000 } }
			FROM = { 
				has_country_flag = ENG_cannot_leave_faction
				communism > 0.2
			}
		}
		
		targets = { CAN }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = CAN
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = communism
			has_completed_focus = ENG_move_to_secure_the_dominions
			NOT = { has_country_flag = ENG_secure_the_dominions_backed_down_against_USA }
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				custom_effect_tooltip = ENG_replace_government_communism_tt
				set_politics = { ruling_party = communism elections_allowed = no }
				add_popularity = { ideology = communism popularity = 0.2 }
				add_timed_idea = { idea = communist_influence days = 730 }
				hidden_effect = { set_country_flag = ENG_remain_as_puppet }
				CAN_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_impose_martial_law_on_south_africa = {

		icon = generic_civil_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 681 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 719 amount < 48000 } }
			NOT = { army_manpower_in_state = { state = 275 amount < 48000 } }
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = SAF
			}
		}

		cost = 50

		fire_only_once = yes

		days_remove = 180

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			if = {
				limit = {
					has_government = communism
				}
				NOT = { FROM = { has_government = communism } }
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = { FROM = { has_government = fascism } }
			}
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
		}

		complete_effect = {
			FROM = {
				hidden_effect = { set_country_flag = { flag = ENG_cannot_leave_faction value = 1 days = 180 } }
				custom_effect_tooltip = ENG_impose_martial_law_tt
				country_event = { id = mtg_britain.63 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_propaganda_campaigns_in_south_africa = {

		icon = eng_propaganda_campaigns

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 681 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 719 amount < 48000 } }
			NOT = { army_manpower_in_state = { state = 275 amount < 48000 } }
			FROM = { has_country_flag = ENG_cannot_leave_faction }
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = SAF
			}
		}

		cost = 25

		fire_only_once = yes

		days_remove = 90

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_fascist_propaganda days = 90 } }
			}
			else_if = {
				limit = {
					has_government = communism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_communist_propaganda days = 90 } }
			}
			FROM = { country_event = { id = mtg_britain.64 } }
		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_south_africa_fascism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 681 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 719 amount < 48000 } }
			NOT = { army_manpower_in_state = { state = 275 amount < 48000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				fascism > 0.2
			}
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = SAF
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = fascism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_politics = { ruling_party = fascism elections_allowed = no }
				add_popularity = { ideology = fascism popularity = 0.2 }
				add_timed_idea = { idea = fascist_influence days = 730 }
				SAF_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_south_africa_communism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 681 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 719 amount < 48000 } }
			NOT = { army_manpower_in_state = { state = 275 amount < 48000 } }
			FROM = { 
				has_country_flag = ENG_cannot_leave_faction
				communism > 0.2
			}
		}

		targets = { SAF }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = SAF
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = communism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				custom_effect_tooltip = ENG_replace_government_communism_tt
				set_politics = { ruling_party = communism elections_allowed = no }
				add_popularity = { ideology = communism popularity = 0.2 }
				add_timed_idea = { idea = communist_influence days = 730 }
				hidden_effect = { set_country_flag = ENG_remain_as_puppet }
				SAF_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_impose_martial_law_on_british_raj = {

		icon = generic_civil_support

		allowed = {
			tag = ENG
		}

		available = {
			if = {
				limit = {
					NOT = { country_exists = PAK }
				}
				NOT = { army_manpower_in_state = { state = 442 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 443 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 440 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 441 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 433 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 428 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 438 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 437 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 429 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 436 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 427 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 425 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 423 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 424 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 426 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 435 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 431 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BAN }
				}
				NOT = { army_manpower_in_state = { state = 430 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 432 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 434 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BRM }
				}
				NOT = { army_manpower_in_state = { state = 640 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 288 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 439 amount < 96000 } }
		}

		targets = { RAJ }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = RAJ
			}
		}

		cost = 50

		fire_only_once = yes

		days_remove = 180

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			if = {
				limit = {
					has_government = communism
				}
				NOT = { FROM = { has_government = communism } }
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = { FROM = { has_government = fascism } }
			}
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
		}

		complete_effect = {
			FROM = {
				hidden_effect = { set_country_flag = { flag = ENG_cannot_leave_faction value = 1 days = 180 } }
				custom_effect_tooltip = ENG_impose_martial_law_tt
				country_event = { id = mtg_britain.63 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_propaganda_campaigns_in_british_raj = {

		icon = eng_propaganda_campaigns

		allowed = {
			tag = ENG
		}

		available = {
			if = {
				limit = {
					NOT = { country_exists = PAK }
				}
				NOT = { army_manpower_in_state = { state = 442 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 443 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 440 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 441 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 433 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 428 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 438 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 437 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 429 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 436 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 427 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 425 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 423 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 424 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 426 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 435 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 431 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BAN }
				}
				NOT = { army_manpower_in_state = { state = 430 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 432 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 434 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BRM }
				}
				NOT = { army_manpower_in_state = { state = 640 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 288 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 439 amount < 96000 } }
			FROM = { has_country_flag = ENG_cannot_leave_faction }
		}

		targets = { RAJ }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = RAJ

			}
		}

		cost = 25

		fire_only_once = yes

		days_remove = 90

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
				NOT = { has_country_flag = banned_fascism_flag }
			}
		}

		complete_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_fascist_propaganda days = 90 } }
			}
			else_if = {
				limit = {
					has_government = communism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_communist_propaganda days = 90 } }
			}
			FROM = { country_event = { id = mtg_britain.64 } }
		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_british_raj_fascism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			if = {
				limit = {
					NOT = { country_exists = PAK }
				}
				NOT = { army_manpower_in_state = { state = 442 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 443 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 440 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 441 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 433 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 428 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 438 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 437 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 429 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 436 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 427 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 425 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 423 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 424 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 426 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 435 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 431 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BAN }
				}
				NOT = { army_manpower_in_state = { state = 430 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 432 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 434 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BRM }
				}
				NOT = { army_manpower_in_state = { state = 640 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 288 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 439 amount < 96000 } }
			FROM = { 
				has_country_flag = ENG_cannot_leave_faction
				fascism > 0.2
				NOT = { has_country_flag = banned_fascism_flag }
			}
		}

		targets = { RAJ }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = RAJ
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = fascism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_politics = { ruling_party = fascism elections_allowed = no }
				add_popularity = { ideology = fascism popularity = 0.2 }
				add_timed_idea = { idea = fascist_influence days = 730 }
				RAJ_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_british_raj_communism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			if = {
				limit = {
					NOT = { country_exists = PAK }
				}
				NOT = { army_manpower_in_state = { state = 442 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 443 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 440 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 441 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 433 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 428 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 438 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 437 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 429 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 436 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 427 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 425 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 423 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 424 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 426 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 435 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 431 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BAN }
				}
				NOT = { army_manpower_in_state = { state = 430 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 432 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 434 amount < 9600 } }
			if = {
				limit = {
					NOT = { country_exists = BRM }
				}
				NOT = { army_manpower_in_state = { state = 640 amount < 9600 } }
				NOT = { army_manpower_in_state = { state = 288 amount < 9600 } }
			}
			NOT = { army_manpower_in_state = { state = 439 amount < 96000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				communism > 0.2
			}
		}

		targets = { RAJ }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = RAJ
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = communism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				custom_effect_tooltip = ENG_replace_government_communism_tt
				set_politics = { ruling_party = communism elections_allowed = no }
				add_popularity = { ideology = communism popularity = 0.2 }
				add_timed_idea = { idea = communist_influence days = 730 }
				hidden_effect = { set_country_flag = ENG_remain_as_puppet }
				RAJ_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_impose_martial_law_on_australia = {

		icon = generic_civil_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 522 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 521 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 517 amount < 38400 } }
			NOT = { army_manpower_in_state = { state = 285 amount < 48000 } }
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = AST
			}
		}

		cost = 50

		fire_only_once = yes

		days_remove = 180

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			if = {
				limit = {
					has_government = communism
				}
				NOT = { FROM = { has_government = communism } }
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = { FROM = { has_government = fascism } }
			}
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
		}

		complete_effect = {
			FROM = {
				hidden_effect = { set_country_flag = { flag = ENG_cannot_leave_faction value = 1 days = 180 } }
				custom_effect_tooltip = ENG_impose_martial_law_tt
				country_event = { id = mtg_britain.63 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_propaganda_campaigns_in_australia = {

		icon = eng_propaganda_campaigns

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 522 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 521 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 517 amount < 38400 } }
			NOT = { army_manpower_in_state = { state = 285 amount < 48000 } }
			FROM = { has_country_flag = ENG_cannot_leave_faction }
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = AST
			}
		}

		cost = 25

		fire_only_once = yes

		days_remove = 90

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_fascist_propaganda days = 90 } }
			}
			else_if = {
				limit = {
					has_government = communism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_communist_propaganda days = 90 } }
			}
			FROM = { country_event = { id = mtg_britain.64 } }
		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_australia_fascism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 522 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 521 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 517 amount < 38400 } }
			NOT = { army_manpower_in_state = { state = 285 amount < 48000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				fascism > 0.2
			}
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = AST
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = fascism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_politics = { ruling_party = fascism elections_allowed = no }
				add_popularity = { ideology = fascism popularity = 0.2 }
				add_timed_idea = { idea = fascist_influence days = 730 }
				AST_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_australia_communism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 522 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 521 amount < 19200 } }
			NOT = { army_manpower_in_state = { state = 517 amount < 38400 } }
			NOT = { army_manpower_in_state = { state = 285 amount < 48000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				communism > 0.2
			}
		}

		targets = { AST }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = AST
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = communism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				custom_effect_tooltip = ENG_replace_government_communism_tt
				set_politics = { ruling_party = communism elections_allowed = no }
				add_popularity = { ideology = communism popularity = 0.2 }
				add_timed_idea = { idea = communist_influence days = 730 }
				hidden_effect = { set_country_flag = ENG_remain_as_puppet }
				AST_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_impose_martial_law_on_new_zealand = {

		icon = generic_civil_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 723 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 284 amount < 48000 } }
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = NZL
			}
		}

		cost = 50

		fire_only_once = yes

		days_remove = 180

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			if = {
				limit = {
					has_government = communism
				}
				NOT = { FROM = { has_government = communism } }
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = { FROM = { has_government = fascism } }
			}
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		cancel_if_not_visible = yes

		modifier = {
			political_power_factor = -0.1
		}

		remove_effect = {
		}

		complete_effect = {
			FROM = {
				hidden_effect = { set_country_flag = { flag = ENG_cannot_leave_faction value = 1 days = 180 } }
				custom_effect_tooltip = ENG_impose_martial_law_tt
				country_event = { id = mtg_britain.63 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_propaganda_campaigns_in_new_zealand = {

		icon = eng_propaganda_campaigns

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 723 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 284 amount < 48000 } }
			FROM = { has_country_flag = ENG_cannot_leave_faction }
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = NZL
			}
		}

		cost = 25

		fire_only_once = yes

		days_remove = 90

		visible = {
			OR = {
				has_government = communism
				has_government = fascism
			}
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			if = {
				limit = {
					has_government = fascism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_fascist_propaganda days = 90 } }
			}
			else_if = {
				limit = {
					has_government = communism
				}
				FROM = { add_timed_idea = { idea = ENG_dominion_communist_propaganda days = 90 } }
			}
			FROM = { country_event = { id = mtg_britain.64 } }
		}

		remove_effect = {
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_new_zealand_fascism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 723 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 284 amount < 48000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				fascism > 0.2
			}
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = NZL
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = fascism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				set_politics = { ruling_party = fascism elections_allowed = no }
				add_popularity = { ideology = fascism popularity = 0.2 }
				add_timed_idea = { idea = fascist_influence days = 730 }
				NZL_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

	ENG_replace_government_in_new_zealand_communism = {

		icon = eng_install_government

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { army_manpower_in_state = { state = 723 amount < 9600 } }
			NOT = { army_manpower_in_state = { state = 284 amount < 48000 } }
			FROM = {
				has_country_flag = ENG_cannot_leave_faction
				communism > 0.2
			}
		}

		targets = { NZL }
		targets_dynamic = yes

		target_root_trigger = {
			has_completed_focus = ENG_move_to_secure_the_dominions
		}

		target_trigger = {
			FROM = {
				original_tag = NZL
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_government = communism
			has_completed_focus = ENG_move_to_secure_the_dominions
			FROM = {
				is_subject_of = ROOT
				NOT = { has_country_flag = ENG_imperialist_civil_war }
				NOT = { has_government = ROOT }
			}
		}

		complete_effect = {
			FROM = {
				custom_effect_tooltip = ENG_replace_government_communism_tt
				set_politics = { ruling_party = communism elections_allowed = no }
				add_popularity = { ideology = communism popularity = 0.2 }
				add_timed_idea = { idea = communist_influence days = 730 }
				hidden_effect = { set_country_flag = ENG_remain_as_puppet }
				NZL_enforce_loyalty = yes
				country_event = { id = mtg_britain.65 }
			}
		}

		ai_will_do = {
			factor = 0
		}
	}

}

ENG_imperial_conference_decision = {
	
	ENG_imperial_conference_decision = {

		icon = generic_political_discourse
		
		available = {
			hidden_trigger = { always = no }
		}

		days_mission_timeout = 60

		fire_only_once = yes

		activation = {
			tag = ENG
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		visible = {
			tag = ENG
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		cancel_if_not_visible = no

		is_good = yes

		complete_effect = {
			
		}

		timeout_effect = {
			custom_effect_tooltip = imperial_conference_ends_tt
			every_country = {
				limit = {
					OR = {
						AND = {
							is_subject_of = ENG
							tag = CAN
						}
						AND = {
							is_subject_of = ENG
							tag = SAF
						}
						AND = {
							is_subject_of = ENG
							tag = RAJ
						}
						AND = {
							is_subject_of = ENG
							tag = AST
						}
						AND = {
							is_subject_of = ENG
							tag = NZL
						}
					}
				}
				remove_opinion_modifier = { target = ENG modifier = ENG_imperial_conference_opinion }
				remove_opinion_modifier = { target = ENG modifier = ENG_imperial_conference_approved_resolution }
			}
		}
	}
	
	ENG_discuss_imperial_defense = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_imperial_conference_discussion_in_progress }
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_imperial_conference
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		complete_effect = {
			country_event = { id = mtg_britain.83 hours = 6 }
			set_country_flag = ENG_imperial_conference_discussion_in_progress
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_discuss_imperial_trade = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_imperial_conference_discussion_in_progress }
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_imperial_conference
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		complete_effect = {
			country_event = { id = mtg_britain.87 hours = 6 }
			set_country_flag = ENG_imperial_conference_discussion_in_progress
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_discuss_imperial_economy = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_imperial_conference_discussion_in_progress }
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_imperial_conference
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		complete_effect = {
			country_event = { id = mtg_britain.91 hours = 6 }
			set_country_flag = ENG_imperial_conference_discussion_in_progress
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_discuss_appeasement = {

		icon = eng_trade_unions_support

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_imperial_conference_discussion_in_progress }
			has_war = no
		}

		cost = 50

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_imperial_conference
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		complete_effect = {
			country_event = { id = mtg_britain.95 hours = 6 }
			set_country_flag = ENG_imperial_conference_discussion_in_progress
		}

		ai_will_do = {
			factor = 100
		}
	}

	ENG_discuss_imperial_federation = {

		icon = eng_imperial_federation

		allowed = {
			tag = ENG
		}

		available = {
			NOT = { has_country_flag = ENG_imperial_conference_discussion_in_progress }
			OR = {
				CAN = { exists = yes }
				SAF = { exists = yes }
				AST = { exists = yes }
				NZL = { exists = yes }
				AND = {
					RAJ = { is_subject_of = ENG }
					has_completed_focus = ENG_indian_autonomy
				}
			}
		}

		cost = 100

		fire_only_once = yes

		visible = {
			has_completed_focus = ENG_imperial_conference
			has_country_flag = ENG_imperial_conference_timer_flag
		}

		complete_effect = {
			country_event = { id = mtg_britain.99 hours = 6 }
			set_country_flag = ENG_imperial_conference_discussion_in_progress
			if = {
				limit = {
					NOT = { has_completed_focus = ENG_indian_autonomy }
				}
				custom_effect_tooltip = ENG_indian_autonomy_tt
			}
		}

		ai_will_do = {
			factor = 100
		}
	}
}

political_actions = {

	#ENG_host_CZE_exile_government = {
	#
	#	icon = generic
	#
	#	allowed = {
	#		has_dlc = "Man the Guns"
	#		original_tag = ENG
	#		
	#	}
	#	available = {
	#		has_government = democratic
	#	}
	#	cost = 50
	#	fire_only_once = yes
	#	ai_will_do = {
	#		factor = 1
	#	}
	#
	#	visible = {
	#		CZE = {
	#			exists = no
	#		}
	#	
	#		CZE = {
	#			is_government_in_exile = no
	#		}
	#	
	#		9 = { CONTROLLER = { has_war_with = ROOT } }
	#	}
	#	complete_effect = {
	#		CZE = {
	#			become_exiled_in = {
	#				target = ROOT
	#				legitimacy = 50
	#			}
	#		}
	#	}
	#}
	hold_blood_toil_tears_sweat_speech = {

		icon = generic_political_discourse

		allowed = {
			tag = ENG
		}

		available = {
			has_government = democratic
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
			has_war_with = GER
		}

		cost = 50

		fire_only_once = yes

		visible = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
		}

		complete_effect = {
			add_stability = 0.05
			add_war_support = 0.05
			if = {
				limit = {
					USA = {
						exists = yes
						has_war = no
						has_government = ROOT
					}
				}
				USA = { set_country_flag = blood_toil_tears_sweat_speech }
			}
			set_country_flag = blood_toil_tears_sweat_speech
			play_blood_toil_tears_sweat_effect = yes
		}

		ai_will_do = {
			base = 50 #Gotta allow the Americans to help
			modifier = {
				factor = 4
				FRA = {
					has_capitulated = yes
				}
			}
			modifier = {
				factor = 2
				POL = {
					has_capitulated = yes
				}
			}
		}
	}

	hold_fight_on_the_beaches_speech = {

		icon = generic_political_discourse

		allowed = {
			tag = ENG
		}

		available = {
			has_government = democratic
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
			has_war_with = GER
			is_in_faction_with = FRA
			FRA = {
				surrender_progress > 0.2
			}
		}

		cost = 50

		fire_only_once = yes

		visible = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			has_country_flag = blood_toil_tears_sweat_speech
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
		}

		complete_effect = {
			add_war_support = 0.05
			if = {
				limit = {
					USA = {
						exists = yes
						has_war = no
						has_government = ROOT
					}
				}
				USA = { set_country_flag = fight_on_the_beaches_speech }
			}
			set_country_flag = fight_on_the_beaches_speech
			play_we_shall_fight_on_the_beaches_effect = yes
		}

		ai_will_do = {
			base = 50 #Gotta allow the Americans to help
			modifier = {
				factor = 4
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	hold_this_was_their_finest_hour_speech = {

		icon = generic_political_discourse

		allowed = {
			tag = ENG
		}

		available = {
			has_government = democratic
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
			has_war_with = GER
			is_in_faction_with = FRA
			FRA = { has_capitulated = yes }
		}

		cost = 50

		fire_only_once = yes

		visible = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			has_country_flag = fight_on_the_beaches_speech
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
		}

		complete_effect = {
			add_war_support = 0.05
			if = {
				limit = {
					USA = {
						exists = yes
						has_war = no
						has_government = ROOT
					}
				}
				USA = { set_country_flag = this_was_their_finest_hour_speech }
			}
			set_country_flag = this_was_their_finest_hour_speech
			play_their_finest_hour_effect = yes
		}

		ai_will_do = {
			base = 50 #Gotta allow the Americans to help
			modifier = {
				factor = 4
				FRA = {
					has_capitulated = yes
				}
			}
		}
	}

	macdonald_proposal = {
	
		allowed = {
			tag = ENG
		}
		
		available = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			NOT = {
				has_war_with = IRE
			}
			IRE = { exists = yes }
			NOT = { is_in_faction_with = IRE }
			FRA = { has_capitulated = yes }
			is_in_faction_with = FRA
		}

		cost = 50

		fire_only_once = yes
		
		visible = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			IRE = { exists = yes }
			NOT = { is_in_faction_with = IRE }
		}
		
		complete_effect = {
			IRE = { 
				country_event = { 
					id = wtt_britain.24 
					hours = 6
				} 
			}
			add_popularity = { 
				ideology = democratic 
				popularity = 0.03 
			}
			add_stability = -0.05
		}

		ai_will_do = {
			base = 1
		}
	}

	ENG_invoke_the_alliance_of_1373 = {

		icon = generic_prepare_civil_war
	
		allowed = {
			tag = ENG
		}
		
		available = {
			has_war = yes
			has_government = democratic
			POR = {
				OR = {
					has_government = ROOT
					has_government = neutrality
				}
			}
			POR = { is_in_faction = no }
			is_faction_leader = yes
		}

		cost = 100
		
		visible = {
			has_war = yes
			NOT = { has_war_with = POR }
			POR = { is_in_faction = no }
		}
		
		complete_effect = {
			ENG = {
				hidden_effect = {
					save_event_target_as = alliance_inviter
				}
			}

			POR = {
				country_event = generic.5
				country_event = {
					id = generic.5
					hours = 6
				}	
			}
		}

		ai_will_do = {
			base = 2
			modifier = {
				factor = 0
				NOT = {
					any_enemy_country = {
						original_tag = SPR
					}
				}
			}
		}
	}

	ENG_request_azores_lease = {
	
		allowed = {
			tag = ENG
		}
		
		available = {
			has_war = yes
			has_government = democratic
			POR = {
				has_full_control_of_state = 698
				OR = {
					has_government = ROOT
					has_government = neutrality
				}
			}
			POR = { is_in_faction = no }
		}

		cost = 50

		fire_only_once = yes

		ai_will_do = {
			base = 10
		}
		
		visible = {
			has_war = yes
			POR = {
				has_full_control_of_state = 698
				NOT = { has_war_with = ROOT }
			}
		}
		
		complete_effect = {
			POR = { 
				country_event = {
					id = wtt_britain_lease_azores.1
					hours = 6
				}	
			}
		}
	}

	ENG_abdication_crisis = { # timer for the player to see when the event chain ends

		priority = 10

		icon = eng_abdication_crisis
		
		available = {
			has_country_flag = ENG_abdication_crisis_changed_mind
		}

		days_mission_timeout = 200

		fire_only_once = yes

		activation = {
			tag = ENG
			OR = {
				has_country_flag = ENG_abdication_crisis_normal_marriage
				has_country_flag = ENG_abdication_crisis_morganatic_marriage
			}
		}

		visible = {
			tag = ENG
			NOT = {
				has_country_flag = ENG_edward_viii_abdicated
				has_country_flag = edward_viii_married_wallis_simpson
			}
		}

		cancel_if_not_visible = yes

		is_good = yes

		complete_effect = {
			
		}

		timeout_effect = {
			country_event = { id = mtg_britain.5 }
		}
	}

	ENG_britain_demands_treaty_compliance = { # ENG demanding scuttling of ships to maintain Washington Naval Treaty

		icon = generic_naval
		
		available = {
			if = {
				limit = {
					original_tag = USA
				}
				custom_trigger_tooltip = {
					tooltip = ENG_britain_demands_treaty_compliance_tt_1
					naval_strength_comparison = {
						other = ENG
						ratio < 1.01
						sub_unit_def_weights = {
							carrier = 1
							battleship = 1
							battle_cruiser = 1
						}
					}
				}
			}
			if = {
				limit = {
					original_tag = JAP
				}
				custom_trigger_tooltip = {
					tooltip = ENG_britain_demands_treaty_compliance_tt_2
					naval_strength_comparison = {
						other = ENG
						ratio < 0.66
						sub_unit_def_weights = {
							carrier = 1
							battleship = 1
							battle_cruiser = 1
						}
					}
				}
			}
			if = {
				limit = {
					NOT = { original_tag = USA }
					NOT = { original_tag = JAP }
				}
				custom_trigger_tooltip = {
					tooltip = ENG_britain_demands_treaty_compliance_tt_3
					naval_strength_comparison = {
						other = ENG
						ratio < 0.36
						sub_unit_def_weights = {
							carrier = 1
							battleship = 1
							battle_cruiser = 1
						}
					}
				}
			}
		}

		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
			random_country = {
				limit = {
					original_tag = ENG
					has_completed_focus = ENG_enforce_the_naval_treaties
				}
				country_event = { id = mtg_britain.107 }
			}
		}

		timeout_effect = {
			clr_country_flag = ENG_demanding_ship_reduction_flag
			random_country = {
				limit = {
					original_tag = ENG
					has_completed_focus = ENG_enforce_the_naval_treaties
				}
				country_event = { id = mtg_britain.108 }
			}
			effect_tooltip = {
				ENG = {
					create_wargoal = {
						target = ROOT
						type = puppet_wargoal_focus
						expire = 0
					}
				}
			}
		}
	}

	ENG_declare_american_monarchy = {

		icon = eng_install_government
		
		available = {
			NOT = {
				any_of = {
					array = USA.core_states
					var:v = { NOT = { is_owned_and_controlled_by = ENG } }
				}
			}
		}

		fire_only_once = yes

		visible = {
			NOT = { country_exists = USA }
			any_owned_state = {
				is_core_of = USA
				is_controlled_by = ENG
			}
			has_country_flag = ENG_abdication_crisis_normal_marriage
			has_country_flag = edward_viii_married_wallis_simpson
			NOT = { has_country_flag = created_american_monarchy }
			has_completed_focus = ENG_unite_the_anglosphere
		}

		complete_effect = {
			set_country_flag = created_american_monarchy
			hidden_effect = {
				629 = { add_core_of = USA }
				463 = { add_core_of = USA }
				1568 = { add_core_of = USA }
				1569 = { add_core_of = USA }
				1570 = { add_core_of = USA }
				1571 = { add_core_of = USA }
				1572 = { add_core_of = USA }
				1573 = { add_core_of = USA }
				1574 = { add_core_of = USA }
				1575 = { add_core_of = USA }
				1576 = { add_core_of = USA }
				1577 = { add_core_of = USA }
				1578 = { add_core_of = USA }
				1579 = { add_core_of = USA }
				1580 = { add_core_of = USA }
				1581 = { add_core_of = USA }
			}
			release = USA
			puppet = USA
			386 = { set_state_name = "Duchy of Wallington" }
			set_province_name = { id = 3957 name = "Wallington" }
			USA = {
				hidden_effect = {
					set_cosmetic_tag = USA_wallis_simpson
				}
				add_popularity = {
				    ideology = neutrality
				    popularity = 0.5
				}
				set_politics = { ruling_party = neutrality elections_allowed = no }
				create_country_leader = {
					name = "Wallis I"
					desc = "POLITICS_WALLIS_I_DESC"
					picture = GFX_portrait_eng_wallis_simpson
					expire = "1965.1.1"
					ideology = despotism
					female = yes
					traits = {
						unpopular_monarch socialite_connections wallis_fancy_title
					}
				}
			}
			hidden_effect = { news_event = { id = mtg_news.56 hours = 6 } }
		}
	}

	ENG_install_american_monarchy = {

		icon = eng_install_government
		
		available = {
			361 = { is_owned_and_controlled_by = USA }
		}

		fire_only_once = yes

		visible = {
			USA = {
				is_subject_of = ENG
			}
			has_country_flag = ENG_abdication_crisis_normal_marriage
			has_country_flag = edward_viii_married_wallis_simpson
			NOT = { has_country_flag = created_american_monarchy }
			has_completed_focus = ENG_unite_the_anglosphere
		}

		complete_effect = {
			set_country_flag = created_american_monarchy
			hidden_effect = {
				629 = { add_core_of = USA }
				463 = { add_core_of = USA }
				1568 = { add_core_of = USA }
				1569 = { add_core_of = USA }
				1570 = { add_core_of = USA }
				1571 = { add_core_of = USA }
				1572 = { add_core_of = USA }
				1573 = { add_core_of = USA }
				1574 = { add_core_of = USA }
				1575 = { add_core_of = USA }
				1576 = { add_core_of = USA }
				1577 = { add_core_of = USA }
				1578 = { add_core_of = USA }
				1579 = { add_core_of = USA }
				1580 = { add_core_of = USA }
				1581 = { add_core_of = USA }
			}
			386 = { set_state_name = "Duchy of Wallington" }
			set_province_name = { id = 3957 name = "Wallington" }
			USA = {
				hidden_effect = {
					set_cosmetic_tag = USA_wallis_simpson
				}
				add_popularity = {
				    ideology = neutrality
				    popularity = 0.5
				}
				set_politics = { ruling_party = neutrality elections_allowed = no }
				create_country_leader = {
					name = "Wallis I"
					desc = "POLITICS_WALLIS_I_DESC"
					picture = GFX_portrait_eng_wallis_simpson
					expire = "1965.1.1"
					ideology = despotism
					female = yes
					traits = {
						unpopular_monarch socialite_connections wallis_fancy_title
					}
				}
			}
			hidden_effect = { news_event = { id = mtg_news.56 hours = 6 } }
		}
	}

	ENG_create_pan_north_american_state = {

		icon = eng_install_government
		
		available = {
			NOT = {
				any_of = {
					array = USA.core_states
					var:v = { NOT = { is_owned_and_controlled_by = ENG } }
				}
			}
			OR = {
				any_allied_country = {
					original_tag = CAN
					OVERLORD = { original_tag = ENG }
					has_full_control_of_state = 332
					has_full_control_of_state = 331
				}
				has_full_control_of_state = 332
				has_full_control_of_state = 331
			}
		}

		fire_only_once = yes

		visible = {
			any_allied_country = {
				original_tag = CAN
				is_subject_of = ROOT
			}
			any_owned_state = {
				is_core_of = USA
				is_controlled_by = ENG
			}
			NOT = { has_country_flag = created_american_monarchy }
			has_completed_focus = ENG_unite_the_anglosphere
		}

		complete_effect = {
			hidden_effect = {
				629 = { add_core_of = USA }
				463 = { add_core_of = USA }
				1568 = { add_core_of = USA }
				1569 = { add_core_of = USA }
				1570 = { add_core_of = USA }
				1571 = { add_core_of = USA }
				1572 = { add_core_of = USA }
				1573 = { add_core_of = USA }
				1574 = { add_core_of = USA }
				1575 = { add_core_of = USA }
				1576 = { add_core_of = USA }
				1577 = { add_core_of = USA }
				1578 = { add_core_of = USA }
				1579 = { add_core_of = USA }
				1580 = { add_core_of = USA }
				1581 = { add_core_of = USA }
			}
			random_country = {
				limit = {
					original_tag = CAN
					OVERLORD = { original_tag = ENG }
				}
				hidden_effect = {
					drop_cosmetic_tag = yes
					set_cosmetic_tag = CAN_north_america_dominion
					save_event_target_as = MTG_loyalist_canada
				}
			}
			custom_effect_tooltip = ENG_create_pan_north_american_state_tt
			event_target:MTG_loyalist_canada = {
				hidden_effect = {
					every_state = {
						limit = {
							is_core_of = USA
						}
						event_target:MTG_loyalist_canada = { transfer_state = PREV }
						add_core_of = PREV
					}
				}
				if = {
					limit = {
						NOT = { owns_state = 332 }
						NOT = { owns_state = 331 }
					}
					transfer_state = 332
					transfer_state = 331
				}
			}
			hidden_effect = { news_event = { id = mtg_news.57 hours = 6 } }
		}
	}

}

operations = {

	operation_fork = {

		icon = generic_operation
	
		allowed = {
			tag = ENG
		}
		
		available = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			ICE = { exists = yes }
			IF = {
				limit = {
					NOR = { has_government = democratic }
				}
				NOR = { has_capitulated = yes }
				is_in_faction_with = NOR
			}
			ELSE = {
				any_country_with_original_tag = {
					original_tag_to_check = NOR 
					has_capitulated = yes
					is_in_faction_with = ROOT 
				}
			}
		}

		cost = 35

		fire_only_once = yes

		ai_will_do = {
			base = 1
			modifier = {
				factor = 200 
				ICE = {
					has_completed_focus = ICE_declare_absolute_neutrality
				}	
			}
		}
		
		visible = {
			tag = ENG
			has_war_with = GER
			ICE = { exists = yes }
			NOT = { ICE = { is_in_faction_with = ROOT } }
			ICE = {
				NOT = { has_completed_focus = ICE_united_we_stand }
			}
		}
		
		complete_effect = {
			ICE = { country_event = { id = britain.25 days = 1} }
			add_popularity = { ideology = democratic popularity = -0.05 }
		}
	}

	# the Occupation of the Faroes
	ENG_operation_valentine = {

		icon = generic_operation
	
		allowed = {
			tag = ENG
		}
		
		available = { #Dublicate of Visibility intented
			DEN = {
				is_subject = yes
				NOT = {
					is_in_faction_with = var:DEN.DEN_overlord_nation
				}
			}
			has_war_with = var:DEN.DEN_overlord_nation
			337 = {
				is_controlled_by = DEN
			}
		}

		cost = 25

		fire_only_once = yes

		ai_will_do = {
			# We want to do this
			base = 50
			modifier = {
				# Fascist Germany is a lot more scary than other versions of Germany
				factor = 2 	
				GER = {
					has_government = fascism
				}
			}
			modifier = {
				# Iceland has gone their own path, so we can consolidate the North Sea
				factor = 2 	
				ICE = {
					has_completed_focus = ICE_declare_absolute_neutrality
				}
			}
			modifier = {
				# Norway has already fallen, we are too late
				factor = 6
				any_country = {
					has_government = democratic
					original_tag = NOR
					is_in_faction_with = ROOT
					has_capitulated = yes
				}
			}
		}
		
		visible = {
			original_tag = ENG
			DEN = {
				is_subject = yes
				NOT = {
					is_in_faction_with = var:DEN.DEN_overlord_nation
				}
			}
			has_war_with = var:DEN.DEN_overlord_nation
			337 = {
				is_controlled_by = DEN
			}
			has_dlc = "Arms Against Tyranny"
		}
		
		complete_effect = {
			DEN = { country_event = { id = AAT_USA_events.02 days = 2 } }
			add_popularity = { 
				ideology = ROOT 
				popularity = -0.02
			}
			add_stability = -0.01
			ROOT = {
				transfer_state = 337
			}
			337 = {
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 13003
				}	
			}
			hidden_effect = {
				set_global_flag = ENG_occupied_DEN_faroes
			}
		}
	}
	
	invade_ireland = {

		icon = generic_operation
	
		allowed = {
			tag = ENG
		}
		
		available = {
			tag = ENG
			has_government = democratic
			has_war_with = GER
			IRE = { exists = yes }
			NOT = { is_in_faction_with = IRE }
			IF = {
				limit = {
					NOR = { has_government = democratic }
				}
				NOR = { has_capitulated = yes }
				is_in_faction_with = NOR
			}
			ELSE = {
				any_country_with_original_tag = {
					original_tag_to_check = NOR 
					has_capitulated = yes
					is_in_faction_with = ROOT
				}
			}
			FRA = { has_capitulated = yes }
			is_in_faction_with = FRA
		}

		cost = 75
		
		fire_only_once = yes

		ai_will_do = {
			base = 0
			modifier = {
				add = 100
				any_enemy_country = {
					has_attache_from = IRE
				}
			}
			modifier = {
				add = 1
				has_opinion = { target = IRE value < -50 }
			}
			modifier = {
				add = 1
				IRE = { has_added_tension_amount > 0.05 }
			}
		}
		
		visible = {
			tag = ENG
			has_war_with = GER
			IRE = { exists = yes }
		}
		
		complete_effect = {
			add_state_claim = 113
			add_state_claim = 134
			add_state_claim = 135
			declare_war_on = { target = IRE type = annex_everything }
			add_stability = -0.05
			add_popularity = { ideology = democratic popularity = -0.03 }
		}
	}

	mers_el_kebir_raid = {

		icon = generic_naval
	
		allowed = {
			tag = ENG
		}
		
		available = {
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
			has_government = democratic
			has_war_with = GER
			any_country_with_original_tag = {
				original_tag_to_check = FRA
				has_government = fascism
			}
		}

		cost = 100

		fire_only_once = yes

		ai_will_do = {
			base = 1
		}
		
		visible = {
			has_country_leader = { ruling_only = yes character = ENG_winston_churchill }
			tag = ENG
			has_government = democratic
			has_war_with = GER
			OR = {
				AND = {
					is_in_faction_with = FRA
					FRA = { surrender_progress > 0.2 }
				}
				any_country_with_original_tag = {
					original_tag_to_check = FRA
					has_government = fascism
				}
			}
		}
		
		complete_effect = {
			random_other_country = {
				limit = {
					original_tag = FRA
					has_government = fascism
				}
				country_event = { id = wtt_britain.25 hours = 5 }
			}
		}
	}
}

ENG_enforce_the_naval_treaties = {

	ENG_demand_treaty_compliance = {

		icon = eng_trade_unions_demand

		allowed = {
			tag = ENG
		}

		available = {
			has_navy_size = {
			    size > 14
				archetype = ship_hull_heavy
			}
			if = {
				limit = {
					FROM = {
						original_tag = USA
					}
				}
				FROM = {
					custom_trigger_tooltip = {
						tooltip = ENG_demand_treaty_compliance_tt2
						naval_strength_comparison = {
							other = ENG
							ratio > 1
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_war_with = ROOT }
				}
			}
			if = {
				limit = {
					FROM = {
						original_tag = JAP
					}
				}
				FROM = {
					custom_trigger_tooltip = {
						tooltip = ENG_demand_treaty_compliance_tt3
						naval_strength_comparison = {
							other = ENG
							ratio > 0.65
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_war_with = ROOT }
				}
			}
			if = {
				limit = {
					FROM = {
						NOT = { original_tag = USA }
						NOT = { original_tag = JAP }
					}
				}
				FROM = {
					custom_trigger_tooltip = {
						tooltip = ENG_demand_treaty_compliance_tt4
						naval_strength_comparison = {
							other = ENG
							ratio > 0.35
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { has_war_with = ROOT }
				}
			}
		}

		target_trigger = {
			FROM = {
				OR = {
					AND = {
						original_tag = USA
						naval_strength_comparison = {
							other = ENG
							ratio > 0.8
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
					}
					AND = {
						original_tag = JAP
						naval_strength_comparison = {
							other = ENG
							ratio > 0.5
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
					}
					AND = {
						NOT = { original_tag = USA }
						NOT = { original_tag = JAP }
						naval_strength_comparison = {
							other = ENG
							ratio > 0.2
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
					}
				}
			}
		}

		cost = 50

		fire_only_once = no

		ai_will_do = {
			base = 10
		}

		visible = {
			original_tag = ENG
			has_completed_focus = ENG_enforce_the_naval_treaties
			FROM = {
				OR = {
					AND = {
						original_tag = USA
						naval_strength_comparison = {
							other = ENG
							ratio > 0.8
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
					}
					AND = {
						original_tag = JAP
						naval_strength_comparison = {
							other = ENG
							ratio > 0.5
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_war_with = ROOT }
					}
					AND = {
						NOT = { original_tag = USA }
						NOT = { original_tag = JAP }
						naval_strength_comparison = {
							other = ENG
							ratio > 0.2
							sub_unit_def_weights = {
								carrier = 1
								battleship = 1
								battle_cruiser = 1
							}
						}
						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_britain_demands_treaty_compliance
				country_event = { id = mtg_britain.106 hours = 6 }
				custom_effect_tooltip = ENG_demand_treaty_compliance_tt
			}
		}

	}

}