# Indentation must be set to tabs before editing! This file is edited with a tab size of 4.
SDN_decision_category_monetary_union = {
	SDN_decision_ratify_monetary_union_treaty = {
		icon = money
		cost = 100

		allowed = {
			OR = {
				tag = DEN
				tag = NOR
				tag = SWE
			}
		}

		visible = {
			has_country_flag = SDN_ready_to_ratify_flag
			NOT = {
				OR = {
					has_idea = SDN_idea_scandinavian_monetary_union_1
					has_idea = SDN_idea_scandinavian_monetary_union_2
					has_idea = SDN_idea_scandinavian_monetary_union_3
				}
			}
		}

		available = { }

		days_re_enable = 730
		days_remove = 30

		complete_effect = {
			hidden_effect = {
				clr_country_flag = SDN_smu_ratification_unsuccessful_flag
			}
		}

		remove_effect = {
			country_event = { id = scandinavian_votes.1 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_ratify_monetary_union_treaty_overruled = {
		icon = money
		cost = 100

		allowed = {
			OR = {
				tag = DEN
				tag = NOR
				tag = SWE
			}
		}

		visible = {
			has_country_flag = SDN_ready_to_ratify_overruled_flag
			NOT = {
				OR = {
					has_idea = SDN_idea_scandinavian_monetary_union_1
					has_idea = SDN_idea_scandinavian_monetary_union_2
					has_idea = SDN_idea_scandinavian_monetary_union_3
				}
			}
		}

		available = { }

		days_re_enable = 730
		days_remove = 30

		complete_effect = {
			hidden_effect = {
				clr_country_flag = SDN_smu_ratification_unsuccessful_flag
			}
		}

		remove_effect = {
			country_event = { id = scandinavian_votes.1 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_ask_to_join_monetary_union = {
		icon = money
		cost = 150

		allowed = {
			OR = {
				tag = DEN
				tag = NOR
				tag = SWE
			}
		}

		visible = {
			has_country_flag = SDN_join_after_formation_flag
			NOT = {
				OR = {
					has_idea = SDN_idea_scandinavian_monetary_union_1
					has_idea = SDN_idea_scandinavian_monetary_union_2
					has_idea = SDN_idea_scandinavian_monetary_union_3
				}
			}
			if = {
				limit = {
					tag = DEN
				}
				NOR = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
				SWE = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
			}
			if = {
				limit = {
					tag = NOR
				}
				DEN = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
				SWE = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
			}
			if = {
				limit = {
					tag = SWE
				}
				DEN = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
				NOR = {
					OR = {
						has_idea = SDN_idea_scandinavian_monetary_union_1
						has_idea = SDN_idea_scandinavian_monetary_union_2
						has_idea = SDN_idea_scandinavian_monetary_union_3
					}
				}
			}
		}

		available = { }

		days_re_enable = 730
		days_remove = 30

		remove_effect = {
			if = {
				limit = {
					tag = DEN
				}
				NOR = { country_event = { id = scan_monetary_union.29 days = 2 } }
				SWE = { country_event = { id = scan_monetary_union.29 days = 2 } }
			}
			if = {
				limit = {
					tag = NOR
				}
				DEN = { country_event = { id = scan_monetary_union.29 days = 2 } }
				SWE = { country_event = { id = scan_monetary_union.29 days = 2 } }
			}
			if = {
				limit = {
					tag = SWE
				}
				DEN = { country_event = { id = scan_monetary_union.29 days = 2 } }
				NOR = { country_event = { id = scan_monetary_union.29 days = 2 } }
			}
			hidden_effect = {
				ROOT = { set_variable = { var = SDN_join_yes_votes value = 0 } }
				ROOT = { country_event = { id = scan_monetary_union.30 days = 10 } }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_DEN_replace_the_rigsdaler = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = DEN }

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_1
			OR = {
				has_completed_focus = DEN_focus_replace_the_rigsdaler_with_the_krone
				has_completed_focus = DEN_focus_replace_the_rigsdaler_with_the_mark
			}
		}

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.05
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_1
				add_idea = SDN_idea_scandinavian_monetary_union_2
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_NOR_replace_the_riksdaler = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = NOR }

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_1
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.05
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_1
				add_idea = SDN_idea_scandinavian_monetary_union_2
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_SWE_replace_the_riksdaler = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = SWE }

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_1
		}

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.05
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_1
				add_idea = SDN_idea_scandinavian_monetary_union_2
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_DEN_introduce_the_25_ore_coin = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = DEN }

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_2
			date > 1875.1.1
		}

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.02
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_2
				add_idea = SDN_idea_scandinavian_monetary_union_3
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_NOR_introduce_the_5_kroner_coin = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = NOR }

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_2
			date > 1877.1.1
		}

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.02
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_2
				add_idea = SDN_idea_scandinavian_monetary_union_3
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	SDN_decision_SWE_introduce_the_5_kronor_coin = {
		icon = money
		fire_only_once = yes
		cost = 75

		allowed = { tag = SWE }

		visible = {
			has_idea = SDN_idea_scandinavian_monetary_union_2
			date > 1880.1.1
		}

		available = {
			NOT = { has_country_flag = SDN_fiscal_measure_ongoing_flag }
		}

		days_remove = 180

		complete_effect = {
			add_stability = -0.02
			hidden_effect = {
				set_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = SDN_idea_scandinavian_monetary_union_2
				add_idea = SDN_idea_scandinavian_monetary_union_3
			}
			hidden_effect = {
				clr_country_flag = SDN_fiscal_measure_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

eoanb_category_economic = {
	SDN_decision_kill_wolves = {
		icon = ger_military_buildup
		fire_only_once = yes
		cost = 100

		allowed = {
			OR = {
				tag = NOR
				tag = SWE
				tag = FIN
			}
		}

		visible = {
			has_war = no
		}

		available = {
			if = {
				limit = {
					is_ai = yes
				}
				has_equipment = {
					infantry_equipment > 2999
				}
			}
			else = {
				has_equipment = {
					infantry_equipment > 4999
				}
			}

			has_idea = SDN_idea_scandinavian_wolves
		}

		modifier = { }

		days_remove = 365

		complete_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = -3000
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = -5000
				}
			}
		}

		remove_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 3000
				}
			}
			else = {
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 5000
				}
			}

			remove_ideas = SDN_idea_scandinavian_wolves
		}

		ai_will_do = {
			base = 1000
		}
	}
}