###################
# UNITY VALUES    #
###################

# BASE HOUSE UNITY VALUES
miniscule_unity_value = 1
minor_unity_value = 2
medium_unity_value = 4
major_unity_value = 6
massive_unity_value = 10

miniscule_unity_loss = {
	value = 0
	subtract = miniscule_unity_value
}
minor_unity_loss = {
	value = 0
	subtract = minor_unity_value
}
medium_unity_loss = {
	value = 0
	subtract = medium_unity_value
}
major_unity_loss = {
	value = 0
	subtract = major_unity_value
}
massive_unity_loss = {
	value = 0
	subtract = massive_unity_value
}

miniscule_unity_gain = miniscule_unity_value
minor_unity_gain = minor_unity_value
medium_unity_gain = medium_unity_value
major_unity_gain = major_unity_value
massive_unity_gain = massive_unity_value

unity_house_head_multiplier_value = 2 # How much more of an impact house heads have on house unity

number_of_landed_house_members_value = {
	value = 0
	house = {
		every_house_member = {
			limit = {
				is_landed_or_landless_administrative = yes
			}
			add = 1
		}
	}
}
number_of_landed_house_unity_members_value = {
	value = 0
	every_house_member = {
		limit = {
			is_landed_or_landless_administrative = yes
		}
		add = 1
		max = 10
	}
	desc = MODIFIER_DEFINITION_MAIN_DESC_HOUSE_UNITY
}

# EFFECTS AND PARAMETER VALUES
unity_antagonistic_cb_cost_display_value = -30
unity_antagonistic_cb_cost_value = {
	value = 1
	add = {
		value = unity_antagonistic_cb_cost_display_value
		divide = 100
	}
}

unity_competitive_cb_cost_display_value = -15
unity_competitive_cb_cost_value = {
	value = 1
	add = {
		value = unity_competitive_cb_cost_display_value
		divide = 100
	}
}

unity_friendly_cb_cost_display_value = 15
unity_friendly_cb_cost_value = {
	value = 1
	add = {
		value = unity_friendly_cb_cost_display_value
		divide = 100
	}
}

unity_harmonious_cb_cost_display_value = 30
unity_harmonious_cb_cost_value = {
	value = 1
	add = {
		value = unity_harmonious_cb_cost_display_value
		divide = 100
	}
}

unity_antagonistic_invasion_cooldown_value = {
	value = 10
}

clan_powerful_vassal_no_alliance_opinion_penalty_value = {
	value = -30
}
clan_vassal_no_alliance_opinion_penalty_value = {
	value = -15
}

unity_major_decision_piety_cost = { value = 200 }
unity_minor_decision_piety_cost = { value = 100 }
