political_legitimacy = {
	base = 50
	modifier = {
		add = modifier@political_legitimacy
	}
	modifier = {
		set_temp_variable = {
			var = legitimacy_factor_temp
			value = 1
		}
		add_to_temp_variable = {
			var = political_legitimacy_factor_temp
			value = modifier@political_legitimacy_factor
		}
		factor = political_legitimacy_factor_temp
	}
}
political_legitimacy_drift = {
	base = 0
	modifier = {
		set_temp_variable = {
			var = political_legitimacy_drift_temp
			value = mtth:political_legitimacy
		}
		subtract_from_temp_variable = {
			var = political_legitimacy_drift_temp
			value = political_legitimacy
		}
		multiply_temp_variable = {
			var = political_legitimacy_drift_temp
			value = 0.2
		}
		add = political_legitimacy_drift_temp
	}
}