GEC_decision_category_domestic_policy = {
	
	GEC_decision_constitutional_amendments = {

		icon = eng_trade_unions_support

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_government = centrism
			centrism > 0.6
			NOT = { has_country_flag = GEC_domestic_policy_flag }
		}

		visible = {
			has_completed_focus = GEC_focus_constitutional_amendments
		}
		
		fire_only_once = yes
		
		cost = 200
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.3
		}
		
		cancel_trigger = {
			NOT = { has_government = centrism }
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_domestic_policy_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					#has_idea = non_monarchical_system
					NOT = { tag = LCK }
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.08
				}
			}
			else_if = {
				limit = {
					#has_idea = non_monarchical_system
					tag = LCK
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.06
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.02
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
				add_popularity = {
					ideology = autocracy
					popularity = 0.03
				}
				#if = {
				#	limit = {
				#		NOT = { has_idea = constitutional_monarchy }
				#	}
				#	add_ideas = constitutional_monarchy
				#}
			}
			#if = {
			#	limit = {
			#		NOT = {	has_idea = constitution_adopted }
			#	}
			#	add_ideas = constitution_adopted
			#}
			if = {
				limit = {
					NOT = {	has_idea = limited_elections }
				}
				add_ideas = limited_elections
			}
			#if = {
			#	limit = {
			#		NOT = {	has_idea = limited_independence }
			#	}
			#	add_ideas = limited_independence
			#}
			if = {
				limit = {
					NOT = {	has_idea = free_press }
				}
				add_ideas = free_press
			}
			if = {
				limit = {
					has_idea = foa_banned
				}
				add_ideas = foa_non_socialist
			}
			#if = {
			#	limit = {
			#		NOT = {	has_idea = lp_land_purchase }
			#	}
			#	add_ideas = lp_land_purchase
			#}
			if = {
				limit = {
					has_idea = absolutism
				}
				add_ideas = property_owners_suffrage
			}
			hidden_effect = {
				clr_country_flag = GEC_domestic_policy_flag
			}
	    }
		
		ai_will_do = {
			base = 200
		}
	}
	
	GEC_decision_contain_revolutionary_ideas = {

		icon = eng_trade_unions_demand

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			OR = {
				has_government = traditional_conservatism
				has_government = autocracy
			}
			centrism < 0.4
			NOT = { has_country_flag = GEC_domestic_policy_flag }
		}

		visible = {
			has_completed_focus = GEC_focus_peace_and_quiet
			#NOT = { has_idea = free_city }
			OR = {
				has_idea = free_press
				NOT = { has_idea = foa_banned }
				has_idea = universal_male_suffrage
				has_idea = universal_suffrage
			}
		}
		
		fire_only_once = yes
		
		cost = 150
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.3
		}
		
		cancel_trigger = {
			has_government = centrism
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_domestic_policy_flag
			}
		}
		
		remove_effect = {
			add_popularity = {
				ideology = centrism
				popularity = 0.08
			}
			if = {
				limit = {
					has_idea = free_press
				}
				add_ideas = censored_press
			}
			if = {
				limit = {
					NOT = { has_idea = foa_banned }
				}
				add_ideas = foa_banned
			}
			if = {
				limit = {
					OR = {
						has_idea = universal_male_suffrage
						has_idea = universal_suffrage
					}
				}
				add_ideas = property_owners_suffrage
			}
			hidden_effect = {
				clr_country_flag = GEC_domestic_policy_flag
			}
	    }
		
		ai_will_do = {
			base = 200
		}
	}
	
	GEC_decision_open_our_trade_policy = {

		icon = money

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_trade_policy
			NOT = { has_country_flag = GEC_domestic_policy_flag }
		}

		visible = {
			NOT = { has_idea = free_trade }
		}
		
		fire_only_once = yes
		
		cost = 150
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.2
		}
		
		cancel_trigger = {
			has_idea = free_trade
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_domestic_policy_flag
			}
		}
		
		remove_effect = {
			add_timed_idea = { idea = GEC_idea_opened_trade days = 1095 }
			if = {
				limit = {
					has_idea = export_focus
				}
				add_ideas = free_trade
			}
			else_if = {
				limit = {
					has_idea = limited_exports
				}
				add_ideas = export_focus
			}
			else_if = {
				limit = {
					has_idea = closed_economy
				}
				add_ideas = limited_exports
			}
			hidden_effect = {
				clr_country_flag = GEC_domestic_policy_flag
			}
	    }
		
		ai_will_do = {
			base = 200
		}
	}
	
	GEC_decision_establish_scientific_research = {

		icon = generic_research

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_technological_advancements
			has_tech = tech_humanities_capitalism
			has_tech = tech_humanities_social_stratification
			has_tech = tech_humanities_public_works
			NOT = { has_country_flag = GEC_domestic_policy_flag }
		}

		visible = {
			NOT = { has_idea = GEC_idea_scientific_research }
		}
		
		fire_only_once = no
		
		cost = 150
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_domestic_policy_flag
			}
		}
		
		remove_effect = {
			add_timed_idea = { idea = GEC_idea_scientific_research days = 1095 }
			add_tech_bonus = { bonus = 0.75 uses = 1 category = biochemistry_tech }
			hidden_effect = {
				clr_country_flag = GEC_domestic_policy_flag
			}
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
}

GEC_decision_category_our_armed_forces = {
	
	GEC_decision_military_convention_with_prussia = {

		icon = generic_military

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_prussian_style_reform
		}

		visible = {
			country_exists = PRS
			NOT = { has_war_with = PRS }
			NOT = { has_completed_focus = GEC_focus_austrian_style_reform }
		}
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 99.9
			command_power > 99.99
		}
		custom_cost_text = eoanb_political_power_100_command_power_100
		
		complete_effect = {
			add_political_power = -100
			add_command_power = -100
			PRS = { country_event = { days = 7 id = gerconfed.3 } }
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	GEC_decision_military_convention_with_austria = {

		icon = generic_military

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_austrian_style_reform
		}

		visible = {
			country_exists = AUS
			NOT = { has_war_with = AUS }
			NOT = { has_completed_focus = GEC_focus_prussian_style_reform }
		}
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 99.9
			command_power > 99.99
		}
		custom_cost_text = eoanb_political_power_100_command_power_100
		
		complete_effect = {
			add_political_power = -100
			add_command_power = -100
			AUS = { country_event = { days = 7 id = gerconfed.3 } }
		}
		
		ai_will_do = {
			base = 500
		}
	}
	
	GEC_decision_intensify_convention = {

		icon = generic_military
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			if = {
				limit = {
					has_idea = GEC_idea_PRS_military_convention_1
				}
				PRS = { has_war = no }
			}
			if = {
				limit = {
					has_idea = GEC_idea_AUS_military_convention_1
				}
				AUS = { has_war = no }
			}
			has_stability > 0.5
			if = {
				limit = {
					has_government = centrism
				}
				centrism > 0.35
			}
			else_if = {
				limit = {
					has_government = traditional_conservatism
				}
				traditional_conservatism > 0.35
			}
			else_if = {
				limit = {
					has_government = autocracy
				}
				autocracy > 0.2
			}
		}

		visible = {
			OR = {
				has_idea = GEC_idea_PRS_military_convention_1
				has_idea = GEC_idea_AUS_military_convention_1
			}
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 99.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_100_command_power_50
		
		days_remove = 180

		complete_effect = {
			add_political_power = -100
			add_command_power = -50
		}
		
		remove_effect = {
			if = {
				limit = {
					has_idea = GEC_idea_PRS_military_convention_1
				}
				swap_ideas = { remove_idea = GEC_idea_PRS_military_convention_1 add_idea = GEC_idea_PRS_military_convention_2 }
				PRS = {
					remove_opinion_modifier = {
						target = ROOT
						modifier = GEC_MILITARY_CONVENTION_EARLY_REL
					}
				}
				ROOT = {
					remove_opinion_modifier = {
						target = PRS
						modifier = GEC_MILITARY_CONVENTION_EARLY_REL
					}
				}
				add_opinion_modifier = { target = PRS modifier = GEC_MILITARY_CONVENTION_MEDIUM_REL }
				reverse_add_opinion_modifier = { target = PRS modifier = GEC_MILITARY_CONVENTION_MEDIUM_REL }
				if = {
					limit = {
						PRS = {
							has_equipment = {
								infantry_equipment > 499
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_rifles_from_prussia
				}
				if = {
					limit = {
						PRS = {
							has_equipment = {
								uniform_equipment > 499
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_uniforms_from_prussia
				}
				if = {
					limit = {
						PRS = {
							has_equipment = {
								cannon_equipment > 24
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_cannons_from_prussia
				}
			}
			else_if = {
				limit = {
					has_idea = GEC_idea_AUS_military_convention_1
				}
				swap_ideas = { remove_idea = GEC_idea_AUS_military_convention_1 add_idea = GEC_idea_AUS_military_convention_2 }
				AUS = {
					remove_opinion_modifier = {
						target = ROOT
						modifier = GEC_MILITARY_CONVENTION_EARLY_REL
					}
				}
				ROOT = {
					remove_opinion_modifier = {
						target = AUS
						modifier = GEC_MILITARY_CONVENTION_EARLY_REL
					}
				}
				add_opinion_modifier = { target = AUS modifier = GEC_MILITARY_CONVENTION_MEDIUM_REL }
				reverse_add_opinion_modifier = { target = AUS modifier = GEC_MILITARY_CONVENTION_MEDIUM_REL }
				if = {
					limit = {
						AUS = {
							has_equipment = {
								infantry_equipment > 499
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_rifles_from_austria
				}
				if = {
					limit = {
						AUS = {
							has_equipment = {
								uniform_equipment > 499
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_uniforms_from_austria
				}
				if = {
					limit = {
						AUS = {
							has_equipment = {
								cannon_equipment > 24
							}
						}
					}
					unlock_decision_tooltip = GEC_decision_ask_to_buy_cannons_from_austria
				}
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_rifles_from_prussia = {

		icon = generic_industry
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					infantry_equipment > 499
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_rifles_effect_tt
			PRS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_rifles_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_uniforms_from_prussia = {

		icon = uniform
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					uniform_equipment > 499
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_uniforms_effect_tt
			PRS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_uniforms_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_cannons_from_prussia = {

		icon = artillery
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					cannon_equipment > 24
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_cannons_effect_tt
			PRS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_cannons_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_rifles_from_prussia = {

		icon = generic_industry
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					infantry_equipment > 499
				}
			}
			has_country_flag = GEC_rifles_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				PRS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = PRS
			}
			hidden_effect = {
				clr_country_flag = GEC_rifles_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_uniforms_from_prussia = {

		icon = uniform
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					uniform_equipment > 499
				}
			}
			has_country_flag = GEC_uniforms_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				PRS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 500
				producer = PRS
			}
			hidden_effect = {
				clr_country_flag = GEC_uniforms_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_cannons_from_prussia = {

		icon = artillery
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_PRS_military_convention_2
			country_exists = PRS
			PRS = { has_war = no }
			PRS = {
				has_equipment = {
					cannon_equipment > 24
				}
			}
			has_country_flag = GEC_cannons_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				PRS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 25
				producer = PRS
			}
			hidden_effect = {
				clr_country_flag = GEC_cannons_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_rifles_from_austria = {

		icon = generic_industry
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					infantry_equipment > 499
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_rifles_effect_tt
			AUS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_rifles_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_uniforms_from_austria = {

		icon = uniform
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					uniform_equipment > 499
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_uniforms_effect_tt
			AUS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_uniforms_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_ask_to_buy_cannons_from_austria = {

		icon = artillery
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_inquiry_pending_flag }
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					cannon_equipment > 24
				}
			}
		}

		fire_only_once = no
		
		cost = 10
		
		days_re_enable = 730
		
		complete_effect = {
			custom_effect_tooltip = GEC_decision_ask_to_buy_cannons_effect_tt
			AUS = { country_event = { days = 2 id = gerconfed.6 } }
			hidden_effect = {
				set_country_flag = GEC_weapons_deal_inquiry_pending_flag
				set_country_flag = GEC_cannons_deal_flag
			}
		}
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_rifles_from_austria = {

		icon = generic_industry
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					infantry_equipment > 499
				}
			}
			has_country_flag = GEC_rifles_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				AUS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 500
				producer = AUS
			}
			hidden_effect = {
				clr_country_flag = GEC_rifles_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_uniforms_from_austria = {

		icon = uniform
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					uniform_equipment > 499
				}
			}
			has_country_flag = GEC_uniforms_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				AUS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = uniform_equipment
				amount = 500
				producer = AUS
			}
			hidden_effect = {
				clr_country_flag = GEC_uniforms_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_buy_cannons_from_austria = {

		icon = artillery
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_stability > 0.5
			has_war_support > 0.4
			NOT = { has_country_flag = GEC_weapons_deal_flag }
		}

		visible = {
			has_idea = GEC_idea_AUS_military_convention_2
			country_exists = AUS
			AUS = { has_war = no }
			AUS = {
				has_equipment = {
					cannon_equipment > 24
				}
			}
			has_country_flag = GEC_cannons_deal_accepted_flag
		}

		fire_only_once = no
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
		   consumer_goods_expected_value = 0.25
		}
		
		complete_effect = {			
			hidden_effect = {
				AUS = { country_event = { id = gerconfed.9 } }
				set_country_flag = GEC_weapons_deal_flag
			}
		}
		
		remove_effect = {
			add_equipment_to_stockpile = {
				type = cannon_equipment
				amount = 25
				producer = AUS
			}
			hidden_effect = {
				clr_country_flag = GEC_cannons_deal_accepted_flag
				clr_country_flag = GEC_weapons_deal_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_landwehr_adaptation_strenghtening = {

		icon = landwehr

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_landwehr_adaptation
			NOT = { has_country_flag = GEC_army_reform_flag }
		}

		visible = {
			has_government = centrism
		}
		
		fire_only_once = yes
		
		cost = 75
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.1
			stability_weekly = 0.001
		}
		
		complete_effect = {
			if = {
				limit = {
					#has_idea = non_monarchical_system
					NOT = { tag = LCK }
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.05
				}
			}
			else_if = {
				limit = {
					#has_idea = non_monarchical_system
					tag = LCK
				}
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.03
				}
				add_popularity = {
					ideology = radical_democracy
					popularity = 0.02
				}
			}
			else = {
				add_popularity = {
					ideology = traditional_conservatism
					popularity = 0.03
				}
				add_popularity = {
					ideology = autocracy
					popularity = 0.03
				}
			}
			hidden_effect = {
				set_country_flag = GEC_army_reform_flag
			}
		}
		
		remove_effect = {
			add_ideas = GEC_idea_landwehr_strengthened
			hidden_effect = {
				clr_country_flag = GEC_army_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_landwehr_adaptation_weakening = {

		icon = landwehr

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_landwehr_adaptation
			NOT = { has_country_flag = GEC_army_reform_flag }
		}

		visible = {
			OR = {
				has_government = traditional_conservatism
				has_government = autocracy
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			stability_weekly = -0.001
		}
		
		complete_effect = {
			add_popularity = {
				ideology = centrism
				popularity = 0.05
			}
			hidden_effect = {
				set_country_flag = GEC_army_reform_flag
			}
		}
		
		remove_effect = {
			add_ideas = GEC_idea_landwehr_weakened
			hidden_effect = {
				clr_country_flag = GEC_army_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_incorporate_jager_tactics = {

		icon = light_infantry

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_jager_tactics
			NOT = { has_country_flag = GEC_army_reform_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			experience_gain_army_factor = -0.25
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_army_reform_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = land_doctrine }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = infantry_weapons }
			hidden_effect = {
				clr_country_flag = GEC_army_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_cavalry_modernization = {

		icon = generic_cavalry

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_cavalry_modernization
			has_tech = mounted_infantry
			has_tech = improved_cavalry
			NOT = { has_country_flag = GEC_army_reform_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			experience_gain_army_factor = -0.25
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_army_reform_flag
			}
		}
		
		remove_effect = {
			army_experience = 25
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = land_doctrine }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = tech_category_cavalry }
			hidden_effect = {
				clr_country_flag = GEC_army_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_a_small_flotilla = {

		icon = generic_operation

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_a_small_task_force
			has_tech = tech_naval_1850_gunboat
			has_tech = tech_naval_mtg_32_pounder_battery
			num_of_civilian_factories_available_for_projects > 0
			NOT = { has_country_flag = GEC_navy_reform_flag }
			if = {
				limit = {
					tag = BRE
				}
				867 = {
					any_province_building_level = {
						province = {
							id = 3326
						}
						building = naval_base
						level > 0
					}
				}
			}
			if = {
				limit = {
					tag = HAN
				}
				59 = {
					any_province_building_level = {
						province = {
							id = 6349
						}
						building = naval_base
						level > 0
					}
				}
			}
			if = {
				limit = {
					tag = LCK
				}
				938 = {
					any_province_building_level = {
						province = {
							id = 11331
						}
						building = naval_base
						level > 0
					}
				}
			}
			if = {
				limit = {
					tag = MCK
				}
				61 = {
					any_province_building_level = {
						province = {
							id = 321
						}
						building = naval_base
						level > 0
					}
				}
			}
			if = {
				limit = {
					tag = OLD
				}
				745 = {
					any_province_building_level = {
						province = {
							id = 241
						}
						building = naval_base
						level > 0
					}
				}
			}
		}

		visible = {
			any_owned_state = { is_coastal = yes }
			if = {
				limit = {
					tag = BRE
				}
				controls_state = 867
				controls_province = 3326
			}
			if = {
				limit = {
					tag = HAN
				}
				controls_state = 59
				controls_province = 6349
			}
			if = {
				limit = {
					tag = LCK
				}
				controls_state = 938
				controls_province = 11331
			}
			if = {
				limit = {
					tag = MCK
				}
				controls_state = 61
				controls_province = 321
			}
			if = {
				limit = {
					tag = OLD
				}
				controls_state = 745
				controls_province = 241
			}
		}
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 365
		
		modifier = {
			political_power_gain = -0.05
			civilian_factory_use = 1
			experience_gain_navy_factor = -0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_navy_reform_flag
			}
		}
		
		remove_effect = {
			add_ideas = GEC_idea_a_small_flotilla
			hidden_effect = {
				create_equipment_variant = {
					name = "Commissioned Gunboat"
					type = ship_hull_gunboat_1
					name_group = GER_CA_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_cannon_battery_1
						fixed_ship_fire_control_system_slot = fire_control_system_0
						fixed_ship_engine_slot = ship_engine_sail_2
						fixed_ship_secondaries_slot = empty
						fixed_ship_armor_slot = empty
						mid_1_custom_slot = empty
						mid_2_custom_slot = empty
						rear_1_custom_slot = empty
					}
					
				}
				if = {
					limit = {
						tag = BRE
					}
					load_oob = "BRE_small_flotilla"
				}
				if = {
					limit = {
						tag = HAN
					}
					load_oob = "HAN_small_flotilla"
				}
				if = {
					limit = {
						tag = LCK
					}
					load_oob = "LCK_small_flotilla"
				}
				if = {
					limit = {
						tag = MCK
					}
					load_oob = "MCK_small_flotilla"
				}
				if = {
					limit = {
						tag = OLD
					}
					load_oob = "OLD_small_flotilla"
				}
				clr_country_flag = GEC_navy_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 0
		}
	}
	
	GEC_decision_a_small_river_flotilla = {

		icon = generic_operation

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_a_small_task_force
			NOT = { has_country_flag = GEC_navy_reform_flag }
		}

		visible = { any_owned_state = { is_coastal = no } }
		
		fire_only_once = yes
		
		cost = 100
		
		days_remove = 365
		
		modifier = {
		   consumer_goods_expected_value = 0.05
			political_power_gain = -0.05
			experience_gain_navy_factor = -0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_navy_reform_flag
			}
		}
		
		remove_effect = {
			add_ideas = GEC_idea_a_river_flotilla
			hidden_effect = {
				clr_country_flag = GEC_navy_reform_flag
			}
	    }
		
		ai_will_do = {
			base = 0
		}
	}
}

GEC_decision_category_industrialization = {
	
	GEC_mission_industrializing = {
		
		icon = generic_factory
		
		allowed = { always = no }
		
		available = { 
			has_stability > 0.5
			has_tech = interchange_parts
			has_tech = machine_tools_1
			OR = {
				has_idea = GEC_idea_gewerbefreiheit
				has_idea = GEC_idea_gewerbeordnung
			}
			if = {
				limit = {
					tag = FRK
				}
				has_idea = NA_B_medium_scale_railways
			}
			else = {
				has_idea = NA_B_early_scale_railways
			}
			if = {
				limit = {
					tag = HAN
					is_ai = no
				}
				num_of_factories > 3
			}
			else_if = {
				limit = {
					tag = HES
					is_ai = no
				}
				num_of_factories > 1
			}
			else_if = {
				limit = {
					is_ai = no
				}
				num_of_factories > 0
			}
		}
		
		activation = { always = no }
		
		days_mission_timeout = 3000
		
		timeout_effect = {
			add_political_power = -100
		}
		
		complete_effect = {
			swap_ideas = { remove_idea = agrarian add_idea = industrializing }
		}
	}
	
	GEC_decision_railway_upgrade = {

		icon = railway

		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}
		
		available = {
			has_completed_focus = GEC_focus_railway_connections
			if = {
				limit = {
					is_ai = no
				}
				any_owned_state = {
					infrastructure > 6
				}
			}
			if = {
				limit = {
					tag = HAN
				}
				any_owned_state = {
					rail_way > 9
				}
				if = {
					limit = {
						is_ai = no
					}
					has_railway_level = {
						state = 59
						level = 2
					}
				}
			}
			if = {
				limit = {
					OR = {
						tag = MCK
						tag = THU
					}
				}
				any_owned_state = {
					rail_way > 5
				}
			}
			if = {
				limit = {
					OR = {
						tag = HES
						tag = HSD
					}
				}
				any_owned_state = {
					rail_way > 4
				}
			}
			if = {
				limit = {
					OR = {
						tag = NAS
						tag = OLD
					}
				}
				any_owned_state = {
					rail_way > 1
				}
			}
			if = {
				limit = {
					OR = {
						tag = BRE
						tag = FRK
						tag = LCK
					}
				}
				any_owned_state = {
					rail_way > 0
				}
			}
		    has_tech = steam_locomotive_2
		    has_tech = steel_railways
			has_tech = train_1855
		}

		visible = {
			OR = {
				has_idea = NA_B_early_scale_railways
				has_idea = NA_B_small_scale_railways
			}
		}

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

		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			if = {  
				limit = { 
					has_idea = road_spending_level_1 
				} 
				swap_ideas = { remove_idea = road_spending_level_1 add_idea = road_spending_level_2 }
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_2
				}
				swap_ideas = { remove_idea = road_spending_level_2 add_idea = road_spending_level_3 } 
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_3
				}
				swap_ideas = { remove_idea = road_spending_level_3 add_idea = road_spending_level_4 } 
			}
			set_temp_variable = { money_to_gain = -0.2 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
			if = {
				limit = {
					has_idea = NA_B_small_scale_railways
				}
				swap_ideas = { remove_idea = NA_B_small_scale_railways add_idea = NA_B_medium_scale_railways }
			}
			else = {
				swap_ideas = { remove_idea = NA_B_early_scale_railways add_idea = NA_B_small_scale_railways }
			}
			set_temp_variable = { eoanb_prestige_change = 2 }
			eoanb_change_prestige_score = yes
			set_temp_variable = {
				unemployment_value = -0.0005
			}
			add_unemployment_effect = yes
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_invest_in_our_naval_infrastructure = {

		icon = generic_construction
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_naval_infrastructure
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			any_owned_state = {
				is_coastal = yes
			}
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_idea = navy_spending_level_4
				}
				swap_ideas = { remove_idea = navy_spending_level_4 add_idea = navy_spending_level_5 }
			}
			else_if = {
				limit = {
					has_idea = navy_spending_level_3
				}
				swap_ideas = { remove_idea = navy_spending_level_3 add_idea = navy_spending_level_4 }
			}
			else_if = {
				limit = {
					has_idea = navy_spending_level_2
				}
				swap_ideas = { remove_idea = navy_spending_level_2 add_idea = navy_spending_level_3 }
			}
			else_if = {
				limit = {
					has_idea = navy_spending_level_1
				}
				swap_ideas = { remove_idea = navy_spending_level_1 add_idea = navy_spending_level_2 }
			}
			add_timed_idea = { idea = GEC_idea_investments_in_naval_infrastructure days = 1080 }
			unlock_decision_tooltip = GEC_decision_invest_in_our_naval_ports
			unlock_decision_tooltip = GEC_decision_invest_in_our_dockyards
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_invest_in_our_naval_infrastructure_inland = {

		icon = generic_construction
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_naval_infrastructure
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			any_owned_state = {
				is_coastal = no
			}
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			add_timed_idea = { idea = GEC_idea_investments_in_naval_infrastructure_inland days = 1080 }
			#unlock_decision_tooltip = GEC_decision_invest_in_our_river_ports
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_invest_in_our_naval_ports = {
		icon = naval_base
		
		#allowed = {
		#   OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#   }
		#}
		available = {
			has_completed_focus = GEC_focus_ports_and_docks
			#has_idea = GEC_idea_investments_in_naval_infrastructure
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}
		visible = {
			any_owned_state = {
				is_coastal = yes
			}
		}
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 49.9
			has_navy_experience > 9.99
		}
		custom_cost_text = GEC_pp_more_than_49_navy_experience_more_than_10
		
		days_remove = 180
		 
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			add_political_power = -50
			navy_experience = -10
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
	   
		remove_effect = {
			if = {
				limit = {
					tag = HAN
				}
				59 = {
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 6349
					}
				}
			}
			else_if = {
				limit = {
					tag = MCK
				}
				61 = {
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 321
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						is_coastal = yes
					}
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
					}
				}
			}
			add_timed_idea = { idea = GEC_idea_stimulated_trade days = 1825 }
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
		}
	   
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_invest_in_our_dockyards = {

		icon = naval_base
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_ports_and_docks
			#has_idea = GEC_idea_investments_in_naval_infrastructure
			num_of_civilian_factories_available_for_projects > 0
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			any_owned_state = {
				is_coastal = yes
			}
		}
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 99.9
			has_navy_experience > 29.99
		}
		custom_cost_text = GEC_pp_more_than_49_navy_experience_more_than_30
		
		days_remove = 730
		
		modifier = {
			political_power_gain = -0.1
			civilian_factory_use = 1
		}
		
		complete_effect = {
			add_political_power = -50
			navy_experience = -30
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					tag = HAN
				}
				59 = {
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_controlled_state = {
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 200
		}
	}
	
	GEC_decision_invest_in_our_terrestrial_infrastructure = {

		icon = generic_construction
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_terrestrial_infrastructure
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 90
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.1
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_idea = road_spending_level_4
				}
				swap_ideas = { remove_idea = road_spending_level_4 add_idea = road_spending_level_5 }
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_3
				}
				swap_ideas = { remove_idea = road_spending_level_3 add_idea = road_spending_level_4 }
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_2
				}
				swap_ideas = { remove_idea = road_spending_level_2 add_idea = road_spending_level_3 }
			}
			else_if = {
				limit = {
					has_idea = road_spending_level_1
				}
				swap_ideas = { remove_idea = road_spending_level_1 add_idea = road_spending_level_2 }
			}
			add_timed_idea = { idea = GEC_idea_investments_in_terrestrial_infrastructure days = 1080 }
			unlock_decision_tooltip = GEC_decision_invest_in_our_road_network
			unlock_decision_tooltip = GEC_decision_invest_in_our_canals
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_invest_in_our_road_network = {

		icon = cobble_road
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_roads_and_canals
			#has_idea = GEC_idea_investments_in_terrestrial_infrastructure
			has_tech = tech_humanities_roadworks
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			add_timed_idea = { idea = GEC_idea_road_investments days = 1825 }
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_invest_in_our_canals = {

		icon = canal
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_roads_and_canals
			#has_idea = GEC_idea_investments_in_terrestrial_infrastructure
			NOT = { has_country_flag = GEC_economic_investment_flag }
		}

		visible = {
			#
		}
		
		fire_only_once = yes
		
		custom_cost_trigger = {
			has_political_power > 49.9
			has_navy_experience > 9.99
		}
		custom_cost_text = GEC_pp_more_than_49_navy_experience_more_than_10
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			add_political_power = -50
			navy_experience = -10
			hidden_effect = {
				set_country_flag = GEC_economic_investment_flag
			}
		}
		
		remove_effect = {
			add_timed_idea = { idea = GEC_idea_canal_investments days = 1825 }
			hidden_effect = {
				clr_country_flag = GEC_economic_investment_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_acquire_trains = {

		icon = train
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_railway_connections
			has_tech = basic_train
		}

		visible = {
			OR = {
				has_idea = NA_B_early_scale_railways
				has_idea = NA_B_small_scale_railways
				has_idea = NA_B_medium_scale_railways
			}
		}

		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.1
			consumer_goods_expected_value = 0.15
		}
		
		complete_effect = {
			#
		}
		
		remove_effect = {
			if = {
				limit = {
					has_tech = basic_train
					NOT = { has_tech = train_1855 }
				}
				add_equipment_to_stockpile = {
					type = train_equipment_1
					amount = 20
					producer = THIS
				}
			}
			else_if = {
				limit = {
					has_tech = train_1855
					NOT = { has_tech = train_1865 }
				}
				add_equipment_to_stockpile = {
					type = train_equipment_2
					amount = 20
					producer = THIS
				}
			}
			else_if = {
				limit = {
					has_tech = train_1865
				}
				add_equipment_to_stockpile = {
					type = train_equipment_3
					amount = 20
					producer = THIS
				}
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_resource_prospecting_iron = {

		icon = iron
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_resource_prospecting
			has_tech = refining
			has_tech = mechanized_mining
			NOT = { has_country_flag = GEC_resource_prospecting_flag }
		}

		visible = {
			any_owned_state = {
				has_resources_amount = {
					resource = iron
					amount > 0
				}
			}
		}

		fire_only_once = no
		
		cost = 20
		
		days_remove = 90
		
		modifier = {
			consumer_goods_expected_value = 0.03
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_resource_prospecting_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = GEC_decision_resource_prospecting_effect_tt
			hidden_effect = {
				set_country_flag = GEC_resource_prospecting_iron_flag
				random_list = {
					10 = {
						country_event = { id = gerconfed.1 }
					}
					90 = {
						country_event = { id = gerconfed.2 }
					}
				}
				clr_country_flag = GEC_resource_prospecting_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_resource_prospecting_coal = {

		icon = coal
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_resource_prospecting
			has_tech = refining
			has_tech = mechanized_mining
			NOT = { has_country_flag = GEC_resource_prospecting_flag }
		}

		visible = {
			any_owned_state = {
				has_resources_amount = {
					resource = coal
					amount > 0
				}
			}
		}

		fire_only_once = no
		
		cost = 20
		
		days_remove = 90
		
		modifier = {
			consumer_goods_expected_value = 0.03
		}
		
		complete_effect = {
			hidden_effect = {
				set_country_flag = GEC_resource_prospecting_flag
			}
		}
		
		remove_effect = {
			custom_effect_tooltip = GEC_decision_resource_prospecting_effect_tt
			hidden_effect = {
				set_country_flag = GEC_resource_prospecting_coal_flag
				random_list = {
					10 = {
						country_event = { id = gerconfed.1 }
					}
					90 = {
						country_event = { id = gerconfed.2 }
					}
				}
				clr_country_flag = GEC_resource_prospecting_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_subsidize_new_extraction_methods_1 = {

		icon = dynamite
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_extraction_enhancement
			has_tech = nitroglycerine
		}

		visible = {
			OR = {
				any_owned_state = {
					has_resources_amount = {
						resource = iron
						amount > 0
					}
				}
				any_owned_state = {
					has_resources_amount = {
						resource = coal
						amount > 0
					}
				}
			}
		}

		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			#
		}
		
		remove_effect = {
			add_ideas = GEC_idea_new_extraction_methods_1
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_subsidize_new_extraction_methods_2 = {

		icon = dynamite
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_extraction_enhancement
			has_tech = dynamite
		}

		visible = {
			has_idea = GEC_idea_new_extraction_methods_1
			OR = {
				any_owned_state = {
					has_resources_amount = {
						resource = iron
						amount > 0
					}
				}
				any_owned_state = {
					has_resources_amount = {
						resource = coal
						amount > 0
					}
				}
			}
		}

		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			consumer_goods_expected_value = 0.05
		}
		
		complete_effect = {
			#
		}
		
		remove_effect = {
			swap_ideas = { remove_idea = GEC_idea_new_extraction_methods_1 add_idea = GEC_idea_new_extraction_methods_2 }
	    }
		
		ai_will_do = {
			base = 100
		}
	}

	GEC_decision_weaken_the_guilds = {

		icon = eng_trade_unions_support
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_encouraging_trades_and_industry
			has_tech = tech_humanities_mercantilism
		}

		visible = {
			has_idea = GEC_idea_strong_zunftwesen
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.15
			stability_weekly = -0.005
		}
		
		complete_effect = {
			add_stability = -0.05
			decrease_ps_by_two = yes
		}
		
		remove_effect = {
			swap_ideas = { remove_idea = GEC_idea_strong_zunftwesen add_idea = GEC_idea_weakened_zunftwesen }
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			unlock_decision_tooltip = GEC_decision_enact_free_enterprise
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_enact_free_enterprise = {

		icon = eng_trade_unions_support
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_encouraging_trades_and_industry
			has_tech = tech_humanities_capitalism
		}

		visible = {
			has_idea = GEC_idea_weakened_zunftwesen
		}

		fire_only_once = yes
		
		cost = 75
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.1
			stability_weekly = -0.003
		}
		
		complete_effect = {
			add_stability = -0.02
			decrease_ps_by_one = yes
		}
		
		remove_effect = {
			swap_ideas = { remove_idea = GEC_idea_weakened_zunftwesen add_idea = GEC_idea_gewerbefreiheit }
			set_temp_variable = { eoanb_prestige_change = 2 }
			eoanb_change_prestige_score = yes
			unlock_decision_tooltip = GEC_decision_establish_an_industrial_code
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_establish_an_industrial_code = {

		icon = generic_factory
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_encouraging_trades_and_industry
			has_tech = tech_humanities_workers_rights
		}

		visible = {
			has_idea = GEC_idea_gewerbefreiheit
		}

		fire_only_once = yes
		
		cost = 50
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
		}
		
		complete_effect = {
			add_stability = 0.03
		}
		
		remove_effect = {
			swap_ideas = { remove_idea = GEC_idea_gewerbefreiheit add_idea = GEC_idea_gewerbeordnung }
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	GEC_decision_subsidize_and_support_major_industries = {

		icon = generic_factory
		
		#allowed = {
		#	OR = {
		#		tag = BRE
		#		tag = FRK
		#		tag = HAN
		#		tag = HES
		#		tag = HSD
		#		tag = LCK
		#		tag = MCK
		#		tag = NAS
		#		tag = OLD
		#		tag = THU
		#	}
		#}

		available = {
			has_completed_focus = GEC_focus_industrial_subsidies_and_support
			has_tech = factory_industry_1
			has_tech = industrial_blast_furnace
			has_tech = industrial_finery_forge
			has_idea = GEC_idea_gewerbeordnung
		}

		visible = {
			#
		}

		fire_only_once = no
		
		cost = 100
		
		days_remove = 730
		
		modifier = {
			consumer_goods_expected_value = 0.05
			political_power_gain = -0.1
			production_speed_buildings_factor = 0.15
			production_factory_max_efficiency_factor = 0.05
			production_factory_start_efficiency_factor = 0.05
			research_speed_factor = 0.02
			local_resources_factor = 0.05
		}
		
		complete_effect = {
			if = {
				limit = {
					has_idea = research_spending_level_3
				}
				swap_ideas = { remove_idea = research_spending_level_3 add_idea = research_spending_level_4 }
				set_country_flag = sfund_regular_state_sponsorship_flag
			}
			else_if = {
				limit = {
					has_idea = research_spending_level_2
				}
				swap_ideas = { remove_idea = research_spending_level_2 add_idea = research_spending_level_3 }
				set_country_flag = sfund_limited_state_sponsorship_flag
			}
			else_if = {
				limit = {
					has_idea = research_spending_level_1
				}
				swap_ideas = { remove_idea = research_spending_level_1 add_idea = research_spending_level_2 }
				set_country_flag = sfund_private_ventures_only_flag
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = sfund_regular_state_sponsorship_flag
				}
				add_ideas = research_spending_level_3
				clr_country_flag = sfund_regular_state_sponsorship_flag
			}
			else_if = {
				limit = {
					has_country_flag = sfund_limited_state_sponsorship_flag
				}
				add_ideas = research_spending_level_2
				clr_country_flag = sfund_limited_state_sponsorship_flag
			}
			else_if = {
				limit = {
					has_country_flag = sfund_private_ventures_only_flag
				}
				add_ideas = research_spending_level_1
				clr_country_flag = sfund_private_ventures_only_flag
			}
	    }
		
		ai_will_do = {
			base = 100
		}
	}
	
	HSD_decision_man_werk_gustavsburg = {

		icon = generic_factory
		
		allowed = {
		    tag = HSD
		}

		available = {
			date > 1859.6.1
		}

		visible = {
			tag = HSD
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.05
			production_speed_buildings_factor = -0.05
		}		 
		
		remove_effect = {
			hidden_effect = {
				set_country_flag = HSD_man_werk_gustavsburg_start
				870 = { 
					add_building_construction = {
						type = steel_mill
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
				}
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
}

GEC_decision_category_trade = {
	GEC_decision_trade_consulate_bremen = {

		icon = gre_investment_decisions
		
		allowed = {
		    OR = {
				tag = BAD
				tag = BAV
				tag = FRK
				tag = HES
				tag = HSD
				tag = LUX
				tag = NAS
				tag = SAX
				tag = THU
				tag = WUR
			}
		}

		available = {
		   NOT = { has_country_flag = GEC_trade_from_hamburg_flag } 
		}

		visible = {
			NOT = { has_country_flag = GEC_trade_from_hamburg_flag }
			NOT = { has_decision = GEC_decision_trade_consulate_hamburg }
			NOT = { 
				any_owned_state = {
					is_coastal = yes
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 867
			}
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.15
		}		 
		
		remove_effect = {
		    add_opinion_modifier = {
				target = BRE
				modifier = medium_increase
			}
			reverse_add_opinion_modifier = {
				target = BRE
				modifier = medium_increase 
			}
			set_country_flag = GEC_trade_from_bremen_flag	
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_trade_consulate_hamburg = {

		icon = gre_investment_decisions
		
		allowed = {
		    OR = {
				tag = BAD
				tag = BAV
				tag = FRK
				tag = HES
				tag = HSD
				tag = LUX
				tag = NAS
				tag = SAX
				tag = THU
				tag = WUR
			}
		}

		available = {
			NOT = { has_country_flag = GEC_trade_from_bremen_flag }
		}

		visible = {
			NOT = { has_country_flag = GEC_trade_from_bremen_flag }
			NOT = { has_decision = GEC_decision_trade_consulate_bremen }
			NOT = { 
				any_owned_state = {
					is_coastal = yes
				}
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 868
			}
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.15
		}
		
		remove_effect = {
		    add_opinion_modifier = {
				target = HAM
				modifier = medium_increase
			}
			reverse_add_opinion_modifier = {
				target = HAM
				modifier = medium_increase 
			}
		   set_country_flag = GEC_trade_from_hamburg_flag
	    }
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_purchase_trade_convoys_non_coastal = {

		icon = generic_naval
		
		allowed = {
		    OR = {
				tag = BAD
				tag = BAV
				tag = FRK
				tag = HES
				tag = HSD
				tag = LUX
				tag = NAS
				tag = SAX
				tag = THU
				tag = WUR
			}
		}

		available = {
		    OR = {
				has_country_flag = GEC_trade_from_hamburg_flag
				has_country_flag = GEC_trade_from_bremen_flag
			}
			NOT = { has_country_flag = GEC_trade_purchasing_convoys_flag } 
		}

		visible = {
			NOT = { 
				any_owned_state = {
					is_coastal = yes
				}
			}
		}

		fire_only_once = no
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		days_re_enable = 180
		
		modifier = {
			political_power_gain = -0.1
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			hidden_effect = {
				set_country_flag = GEC_trade_purchasing_convoys_flag
			}
		}
		
		remove_effect = {
		    add_equipment_to_stockpile = {
				type = convoy
				amount = 5
			}
			hidden_effect = {
				clr_country_flag = GEC_trade_purchasing_convoys_flag
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	GEC_decision_establish_trade_UK = {

		icon = money
		
		allowed = {
		    OR = {
				tag = BAD
				tag = BAV
				tag = FRK
				tag = HES
				tag = HSD
				tag = LUX
				tag = NAS
				tag = SAX
				tag = THU
				tag = WUR
			}
		}

		available = {
		    OR = {
				has_country_flag = GEC_trade_from_hamburg_flag
				has_country_flag = GEC_trade_from_bremen_flag
			}
			has_equipment = {
				convoy > 9
    		}
		}

		visible = {
			NOT = { 
				any_owned_state = {
					is_coastal = yes
				}
			}
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 180
		
		modifier = {
			political_power_gain = -0.1
		}
		
		remove_effect = {
			add_ideas = GEC_idea_trade_with_england
			add_opinion_modifier = {
				target = ENG
				modifier = GEC_TRADE_WITH_ENG_REL
			}
			reverse_add_opinion_modifier = {
				target = ENG
				modifier = GEC_TRADE_WITH_ENG_REL 
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
}

GEC_decision_category_hansa_cities = {
    GEC_decision_purchasing_trade_convoys = {

		icon = generic_naval
		
		allowed = {
		   #
		}

		available = {
		}

		visible = {
			#
		}

		fire_only_once = no
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		days_re_enable = 180
		
		modifier = {
			political_power_gain = -0.1
		}		 
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
		
		remove_effect = {
		    add_equipment_to_stockpile = {
				type = convoy
				amount = 5
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	HAM_decision_zoologischer_garten = {

		icon = generic_decision
		
		allowed = {
			tag = HAM
		}

		available = {
		    has_completed_focus = HAM_focus_hanse_legacy
		}

		visible = {
			date > 1862.11.1
		}

		fire_only_once = yes
		
		cost = 100
		
		days_remove = 200
		
		modifier = {
			political_power_gain = -0.2
		}		 
		
		remove_effect = {
		    country_event = { id = hamburg.201 days = 10 } 
		}
		
		ai_will_do = {
			base = 1000
		}
	}
	
	HAM_decision_rescue_shipwrecked_people = {

		icon = generic_operation
		
		allowed = {
			tag = HAM
		}

		available = {
		    has_completed_focus = HAM_focus_hamburger_hafen
			has_idea = HAM_advisor_ernst_merck
		}

		visible = {
			date > 1861.8.1
		}

		fire_only_once = yes
		
		cost = 50
		
		days_remove = 80
		
		modifier = {
			political_power_gain = -0.15
		}		 
		
		remove_effect = {
		    country_event = { id = hamburg.202 days = 10 } 
		}
		
		ai_will_do = {
			base = 1000
		}
	}
}

GEC_decision_category_polizeiverein = {
	GEC_decision_censor_press_temporarily = {

		icon = eng_trade_unions_demand

		available = {
		    has_idea = free_press
			has_stability < 0.6
			PS_pol_negative_null = yes
		}

		visible = {
			#has_country_flag = GEC_polizeiverein_press_troubles_flag
			NOT = { has_country_flag = GEC_polizeiverein_action_press_flag }
		}
		
		cost = 15
		
		days_remove = 90
		
		modifier = {
			political_power_gain = 0.25
			stability_weekly = 0.005
			resistance_decay = 0.1
			resistance_growth = -0.1
		}

		complete_effect = {
			swap_ideas = { remove_idea = free_press add_idea = censored_press }
			add_stability = -0.02
			hidden_effect = {
				set_country_flag = GEC_polizeiverein_action_press_flag
			}
		}
		
		remove_effect = {
		    swap_ideas = { remove_idea = censored_press add_idea = free_press }
			hidden_effect = {
				#clr_country_flag = GEC_polizeiverein_press_troubles_flag
				clr_country_flag = GEC_polizeiverein_action_press_flag
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_suppress_clubs_and_societies = {

		icon = oppression

		available = {
		    OR = {
				has_idea = foa_restricted_attendance
				has_idea = foa_non_socialist
				has_idea = foa_free_assembly
			}
			has_stability < 0.6
			PS_pol_negative_null = yes
		}

		visible = {
			#has_country_flag = GEC_polizeiverein_club_troubles_flag
			NOT = { has_country_flag = GEC_polizeiverein_action_clubs_flag }
		}
		
		cost = 30
		
		days_remove = 180
		
		modifier = {
			political_power_gain = 0.2
			drift_defence_factor = 0.25
			stability_weekly = 0.005
			resistance_decay = 0.1
			resistance_growth = -0.1
		}

		complete_effect = {
			if = {
				limit = {
					has_idea = foa_restricted_attendance
				}
				swap_ideas = { remove_idea = foa_restricted_attendance add_idea = foa_state_only }
				hidden_effect = {
					set_country_flag = GEC_polizeiverein_foa_restricted_attendance_flag
				}
			}
			else_if = {
				limit = {
					has_idea = foa_non_socialist
				}
				swap_ideas = { remove_idea = foa_non_socialist add_idea = foa_state_only }
				hidden_effect = {
					set_country_flag = GEC_polizeiverein_foa_non_socialist_flag
				}
			}
			else_if = {
				limit = {
					has_idea = foa_free_assembly
				}
				swap_ideas = { remove_idea = foa_free_assembly add_idea = foa_state_only }
				hidden_effect = {
					set_country_flag = GEC_polizeiverein_foa_free_assembly_flag
				}
			}
			add_stability = -0.02
			hidden_effect = {
				set_country_flag = GEC_polizeiverein_action_clubs_flag
			}
		}
		
		remove_effect = {
		    if = {
				limit = {
					has_idea = foa_state_only
					has_country_flag = GEC_polizeiverein_foa_restricted_attendance_flag
				}
				swap_ideas = { remove_idea = foa_state_only add_idea = foa_restricted_attendance }
				hidden_effect = {
					clr_country_flag = GEC_polizeiverein_foa_restricted_attendance_flag
				}
			}
			else_if = {
				limit = {
					has_idea = foa_state_only
					has_country_flag = GEC_polizeiverein_foa_non_socialist_flag
				}
				swap_ideas = { remove_idea = foa_state_only add_idea = foa_non_socialist }
				hidden_effect = {
					clr_country_flag = GEC_polizeiverein_foa_non_socialist_flag
				}
			}
			else_if = {
				limit = {
					has_idea = foa_state_only
					has_country_flag = GEC_polizeiverein_foa_free_assembly_flag
				}
				swap_ideas = { remove_idea = foa_state_only add_idea = foa_free_assembly }
				hidden_effect = {
					clr_country_flag = GEC_polizeiverein_foa_free_assembly_flag
				}
			}
			hidden_effect = {
				#clr_country_flag = GEC_polizeiverein_club_troubles_flag
				clr_country_flag = GEC_polizeiverein_action_clubs_flag
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_surveil_contacts_of_expatriates = {

		icon = recruit_operative

		available = {
			has_stability < 0.75
			PS_pol_negative_null = yes
		}

		visible = {
			#has_country_flag = GEC_polizeiverein_political_expatriates_flag
			NOT = { has_country_flag = GEC_polizeiverein_surveil_expatriates_flag }
		}
		
		cost = 30
		
		days_remove = 365
		
		modifier = {
			political_power_gain = 0.15
			drift_defence_factor = 0.2
			resistance_decay = 0.1
			resistance_growth = -0.1
		}

		complete_effect = {
			add_stability = -0.01
			hidden_effect = {
				set_country_flag = GEC_polizeiverein_surveil_expatriates_flag
			}
		}
		
		remove_effect = {
			hidden_effect = {
				#clr_country_flag = GEC_polizeiverein_political_expatriates_flag
				clr_country_flag = GEC_polizeiverein_surveil_expatriates_flag
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_collaborate_to_limit_smuggled_propaganda = {

		icon = generic_police_action

		available = {
			has_stability < 0.8
		}

		visible = {
			NOT = { has_country_flag = GEC_polizeiverein_collaborated_against_smuggled_propaganda_flag }
			NOT = { has_opinion_modifier = PRS_POLIZEIVEREIN_COLLABORATION_REL }
			#has_country_flag = GEC_polizeiverein_smuggled_propaganda_flag
		}
		
		cost = 30

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = GEC_decision_collaborate_to_limit_smuggled_propaganda_effect_tt
			hidden_effect = {
				set_country_flag = GEC_polizeiverein_collaborated_against_smuggled_propaganda_flag
				PRS = {
					if = {
						limit = {
							PRS = {
								NOT = { has_variable = PRS_polizeiverein_collaboration }
							}
						}
						set_variable = { var = PRS_polizeiverein_collaboration value = 0 }
					}
					add_to_variable = { var = PRS_polizeiverein_collaboration value = 1 }
				}
				PRS = {
					if = {
						limit = {
							check_variable = { var = PRS_polizeiverein_collaboration value = 7 compare = equals }
						}
						PRS = { country_event = { days = 1 id = prussia.310 } }
					}
				}
				#clr_country_flag = GEC_polizeiverein_smuggled_propaganda_flag
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_put_nationalist_agitators_under_surveillance = {

		icon = recruit_operative
		
		allowed = {
			tag = AUS
		}

		available = {
			has_stability < 0.8
		}

		visible = {
			has_idea = GEC_idea_polizeiverein_leader_2
			NOT = { has_country_flag = GEC_polizeiverein_surveil_nationalist_agitators_flag }
		}
		
		cost = 75

		days_remove = 365
		
		modifier = {
			political_power_gain = 0.1
			drift_defence_factor = 0.1
			resistance_decay = 0.2
			resistance_growth = -0.2
			stability_weekly = 0.001
		}

		complete_effect = {
			add_stability = -0.01
			hidden_effect = {
				set_country_flag = GEC_polizeiverein_surveil_nationalist_agitators_flag
			}
		}
		
		remove_effect = {
			hidden_effect = {
				clr_country_flag = GEC_polizeiverein_surveil_nationalist_agitators_flag
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_arrest_nationalist_intellectuals_hungary = {

		icon = generic_arrest	#make customized icons
		
		allowed = {
			tag = AUS
		}

		available = {
			has_stability < 0.8
			has_country_flag = AUS_new_governor_hungary_flag
		}

		visible = {
			has_idea = GEC_idea_polizeiverein_leader_2
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_hungary_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_hungary_flag
			}
		}
		
		cost = 25
		
		fire_only_once = yes

		days_remove = 90
		
		modifier = {
			political_power_gain = 0.05
			drift_defence_factor = 0.05
			resistance_decay = 0.05
			resistance_growth = -0.05
			stability_weekly = 0.001
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_hungarian_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = HUN_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = HUN_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_restore_order_flag
				}
				custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_five_tt
				hidden_effect = {
					subtract_from_variable = {
						var = HUN_REVOLT_RISK
						value = 0.05
					}
					clamp_variable = {
						var = HUN_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_decrease_hungarian_nationalism_by_four_tt
				hidden_effect = {
					subtract_from_variable = {
						var = HUN_REVOLT_RISK
						value = 0.04
					}
					clamp_variable = {
						var = HUN_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_arrest_nationalist_intellectuals_bohemia = {

		icon = generic_arrest
		
		allowed = {
			tag = AUS
		}

		available = {
			has_stability < 0.8
			has_country_flag = AUS_new_governor_bohemia_flag
		}

		visible = {
			has_idea = GEC_idea_polizeiverein_leader_2
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_bohemia_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_bohemia_flag
			}
		}
		
		cost = 25
		
		fire_only_once = yes

		days_remove = 90
		
		modifier = {
			political_power_gain = 0.05
			drift_defence_factor = 0.05
			resistance_decay = 0.05
			resistance_growth = -0.05
			stability_weekly = 0.001
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_west_slavic_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = CZE_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CZE_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_restore_order_flag
				}
				custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_five_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CZE_REVOLT_RISK
						value = 0.05
					}
					clamp_variable = {
						var = CZE_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_decrease_west_slavic_nationalism_by_four_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CZE_REVOLT_RISK
						value = 0.04
					}
					clamp_variable = {
						var = CZE_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_arrest_nationalist_intellectuals_croatia = {

		icon = generic_arrest
		
		allowed = {
			tag = AUS
		}

		available = {
			has_stability < 0.8
			has_country_flag = AUS_new_governor_croatia_flag
		}

		visible = {
			has_idea = GEC_idea_polizeiverein_leader_2
			OR = {
				has_country_flag = AUS_massive_resistance_against_centralization_croatia_flag
				has_country_flag = AUS_heavy_resistance_against_centralization_croatia_flag
			}
		}
		
		cost = 25
		
		fire_only_once = yes

		days_remove = 90
		
		modifier = {
			political_power_gain = 0.05
			drift_defence_factor = 0.05
			resistance_decay = 0.05
			resistance_growth = -0.05
			stability_weekly = 0.001
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_south_slavic_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = CRO_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = CRO_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_restore_order_flag
				}
				custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_five_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CRO_REVOLT_RISK
						value = 0.05
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_decrease_south_slavic_nationalism_by_four_tt
				hidden_effect = {
					subtract_from_variable = {
						var = CRO_REVOLT_RISK
						value = 0.04
					}
					clamp_variable = {
						var = CRO_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
	
	GEC_decision_arrest_nationalist_intellectuals_galicia = {

		icon = generic_arrest

		allowed = {
			tag = AUS
		}
		
		available = {
			has_stability < 0.8
			has_country_flag = AUS_new_governor_galicia_flag
		}

		visible = {
			has_idea = GEC_idea_polizeiverein_leader_2
			has_country_flag = AUS_heavy_resistance_against_centralization_poland_flag
		}
		
		cost = 25
		
		fire_only_once = yes

		days_remove = 90
		
		modifier = {
			political_power_gain = 0.05
			drift_defence_factor = 0.05
			resistance_decay = 0.05
			resistance_growth = -0.05
			stability_weekly = 0.001
		}

		complete_effect = {
			add_stability = -0.01
			custom_effect_tooltip = AUS_increase_polish_nationalism_by_two_tt
			hidden_effect = {
				add_to_variable = {
					var = POL_REVOLT_RISK
					value = 0.02
				}
				clamp_variable = {
					var = POL_REVOLT_RISK
					min = 0
					max = 1
				}
			}
		}
		
		remove_effect = {
			if = {
				limit = {
					has_country_flag = AUS_restore_order_flag
				}
				custom_effect_tooltip = AUS_decrease_polish_nationalism_by_five_tt
				hidden_effect = {
					subtract_from_variable = {
						var = POL_REVOLT_RISK
						value = 0.05
					}
					clamp_variable = {
						var = POL_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
			else = {
				custom_effect_tooltip = AUS_decrease_polish_nationalism_by_four_tt
				hidden_effect = {
					subtract_from_variable = {
						var = POL_REVOLT_RISK
						value = 0.04
					}
					clamp_variable = {
						var = POL_REVOLT_RISK
						min = 0
						max = 1
					}
				}
			}
		}
		
		ai_will_do = {
			base = 50
		}
	}
}

GEC_decision_category_military_conventions = {
}
