ETH_reduce_debt = {
	if = {
		limit = { has_idea = ETH_Debt_idea_1 }
		swap_ideas = {
			remove_idea = ETH_Debt_idea_1
			add_idea = ETH_Debt_idea_2
		}
	}
	else_if = {
		limit = { has_idea = ETH_Debt_idea_2 }
		swap_ideas = {
			remove_idea = ETH_Debt_idea_2
			add_idea = ETH_Debt_idea_3
		}
	}
	else_if = {
		limit = { has_idea = ETH_Debt_idea_3 }
		swap_ideas = {
			remove_idea = ETH_Debt_idea_3
			add_idea = ETH_Debt_idea_4
		}
	}
	else_if = {
		limit = { has_idea = ETH_Debt_idea_4 }
		swap_ideas = {
			remove_idea = ETH_Debt_idea_4
			add_idea = ETH_Debt_idea_5
		}
	}
}

ETH_upgrade_DKAEB = {
	if = {
		limit = {
			has_dynamic_modifier = { modifier = ETH_dkaeb_railroad }
		}
		remove_dynamic_modifier = { modifier = ETH_dkaeb_railroad }
		add_dynamic_modifier = { modifier = ETH_better_dkaeb_railroad }
	}
}

ETH_remove_DKAEB = {
	if = {
		limit = {
			has_dynamic_modifier = { modifier = ETH_dkaeb_railroad }
		}
		remove_dynamic_modifier = { modifier = ETH_dkaeb_railroad }
	}
	else_if = {
		limit = {
			has_dynamic_modifier = { modifier = ETH_better_dkaeb_railroad }
		}
		remove_dynamic_modifier = { modifier = ETH_better_dkaeb_railroad }
	}
}

DJI_remove_DKAEB = {
	if = {
		limit = {
			has_dynamic_modifier = { modifier = DJI_dkaeb_railroad }
		}
		remove_dynamic_modifier = { modifier = DJI_dkaeb_railroad }
	}
}

