WUR_decision_category_shifting_flow = {
	
	#Shifting Flow Austria
	WUR_decision_shifting_flow_austria = {
		icon = generic_political_discourse

		available = {
			has_stability > 0.5
		}
		
		visible = {
			country_exists = AUS
			has_country_flag = WUR_pursue_shifting_flow
			NOT = {
				OR = {
					AUS = {
						has_opinion_modifier = wur_foreign_policy
					}
				}
			}
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			custom_effect_tooltip = WUR_customeffect_decision_shifting_flow
			
			hidden_effect = {
				AUS = {
					country_event = { id = wurttem.10 days = 3}
				}
			}
		}

		ai_will_do = {
			base = 40
		}
	}
	
	#Shifting Flow France
	WUR_decision_shifting_flow_france = {
		icon = generic_political_discourse

		available = {
			has_stability > 0.5
		}

		visible = {
			country_exists = FRA
			has_country_flag = WUR_pursue_shifting_flow
			NOT = {
				OR = {
					FRA = {
						has_opinion_modifier = wur_foreign_policy
					}
				}
			}
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			custom_effect_tooltip = WUR_customeffect_decision_shifting_flow
			
			hidden_effect = {
				FRA = {
					country_event = { id = wurttem.10 days = 3 }
				}
			}
		}

		ai_will_do = {
			base = 40
		}
	}
	
	#Shifting Flow Russia
	WUR_decision_shifting_flow_russia = {
		icon = generic_political_discourse

		available = {
			has_stability > 0.5
		}

		visible = {
			country_exists = RUS
			has_country_flag = WUR_pursue_shifting_flow
			NOT = {
				OR = {
					RUS = { 
						has_opinion_modifier = wur_foreign_policy
					}
				}
			}
		}

		fire_only_once = yes

		cost = 100

		complete_effect = {
			custom_effect_tooltip = WUR_customeffect_decision_shifting_flow
			
			hidden_effect = {
				RUS = {
					country_event = { id = wurttem.10 days = 3 }
				}
			}
		}

		ai_will_do = {
			base = 40
		}
	}
}

WUR_decision_category_economy = {

	WUR_mission_industrializing = {
		
		icon = generic_factory
		
		allowed = { always = no }
		
		available = { 
			has_stability > 0.5
			has_tech = interchange_parts
			has_idea = NA_B_medium_scale_railways
			OR = {
				has_idea = GEC_idea_gewerbefreiheit
				has_idea = GEC_idea_gewerbeordnung
			}
			num_of_factories > 5
		}
		
		activation = { always = no }
		
		days_mission_timeout = 3000
		
		timeout_effect = {
		    add_political_power = -100
		}
		
		complete_effect = {
		    swap_ideas = { remove_idea = agrarian add_idea = industrializing }	
		}
	}

	WUR_decision_reaffirm_guild_privileges = {

		icon = eng_trade_unions_support
		
		#allowed = { tag = WUR }

		available = {
			has_completed_focus = WUR_speak_against_liberalism
			has_tech = tech_humanities_saint_simonianism
		}

		visible = {
			has_idea = GEC_idea_weakened_zunftwesen
		}

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

		icon = eng_trade_unions_support
		
		#allowed = { tag = WUR }

		available = {
			has_completed_focus = WUR_economic_freedom
			has_tech = tech_humanities_saint_simonianism
		}

		visible = {
			has_idea = GEC_idea_weakened_zunftwesen
		}

		fire_only_once = yes
		
		cost = 75
		
        days_remove = 180
         
        modifier = {
			political_power_gain = -0.1
			stability_weekly_factor = -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 = 3 }
			eoanb_change_prestige_score = yes
	    }
       
		ai_will_do = {
			base = 100
		}
	}

	WUR_decision_establish_an_industrial_code = {

		icon = eng_trade_unions_support
		
		#allowed = { tag = WUR }

		available = {
			has_completed_focus = WUR_stimulate_economy
			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
		}
	}
	
	WUR_decision_railway_upgrade = {

		icon = railway
		
		#allowed = { tag = WUR }

		available = {
			has_completed_focus = WUR_staats_eisenbahnen
			50 = { infrastructure > 6 }
			has_railway_level = {
				state = 50
				level = 2
			}
			has_tech = steam_locomotive_3
			has_tech = standardized_gauge
			has_tech = train_1855
		}

		visible = {
			has_idea = NA_B_small_scale_railways
		}

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

		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.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}
       
		remove_effect = {
			swap_ideas = { remove_idea = NA_B_small_scale_railways add_idea = NA_B_medium_scale_railways }
			set_temp_variable = { eoanb_prestige_change = 1 }
			eoanb_change_prestige_score = yes
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
		}
       
		ai_will_do = {
			base = 1000
		}
	}
}