﻿# EK NOTE: government check
ethos_bellicose = {
	type = ethos
	character_modifier = {
		prowess = 2

		herd_conversion = 0.01
		men_at_arms_recruitment_cost = -0.1
		men_at_arms_maintenance = -0.1
		minority_different_culture_opinion = -10
		
		ai_war_chance = 0.5
		ai_war_cooldown = -0.25
	}
	province_modifier = {
		levy_size = 0.1
	}
	culture_modifier = {
		mercenary_count_mult = 0.5
	}

	ai_will_do = {
		value = 1
	}
}

ethos_stoic = {
	type = ethos
	character_modifier = {
		hard_casualty_modifier = -0.15
		stress_gain_mult = -0.15
		negate_health_penalty_add = 0.25
		minority_different_culture_opinion = -10
		herd_gain_mult = 0.04
		
		ai_zeal = low_positive_ai_value
		ai_vengefulness = low_positive_ai_value
	}
	province_modifier = {
		defender_holding_advantage = 5
	}

	ai_will_do = {
		value = 1
	}
}

ethos_bureaucratic = {
	type = ethos
	character_modifier = {
		cultural_head_fascination_mult = 0.05
		monthly_lifestyle_xp_gain_mult = 0.10
		minority_different_culture_opinion = -10
	}
	county_modifier = {
		development_growth_factor = 0.15
	}
	
	parameters = {
		can_adopt_administrative_government_as_kingdom_tier = yes
	}

	ai_will_do = {
		value = 1
		if = {
			limit = {
				scope:character = { government_has_flag = government_is_nomadic }
			}
			multiply = 0
		}
	}
}

ethos_spiritual = {
	type = ethos
	character_modifier = {
		monthly_county_control_growth_factor = 0.15
		monthly_piety_gain_mult = 0.1
		faith_creation_piety_cost_mult = -0.2
		minority_different_culture_opinion = -10
		herd_capacity_mult = 0.05
		
		ai_zeal = low_positive_ai_value
	}

	parameters = {
		ethos_spiritual_better_consult_the_skies = yes
		ethos_spiritual_better_court_astrologers = yes
	}

	ai_will_do = {
		value = 1
	}
}

ethos_courtly = {
	type = ethos
	desc = ethos_courtly_desc_nhc # To circumvent a hash collision with tenet_ritual_cannibalism_desc
	character_modifier = {
		monthly_prestige_gain_mult = 0.1
		title_creation_cost_mult = -0.15
		dynasty_house_opinion = 5
		court_grandeur_baseline_add = 5
		minority_different_culture_opinion = -10
		ai_amenity_target_baseline = 0.1
		ai_amenity_spending = 0.1
	}

	ai_will_do = {
		value = 1
		if = {
			limit = {
				scope:character = {
					NAND = {
						highest_held_title_tier >= tier_kingdom
						# EK EDIT
						# OR = {
						# 	government_has_flag = government_is_feudal
						# 	government_has_flag = government_is_clan
						# }
						has_feudal_like_government = yes
					}
				}
			}
			multiply = 0
		}
	}
}

ethos_egalitarian = {
	type = ethos
	character_modifier = {
		vassal_limit = 10
		different_culture_opinion = 5
		different_faith_opinion = 5
		tributary_opinion = 15
		tributary_tax_mult = 0.1
	}
	culture_modifier = {
		cultural_acceptance_gain_mult = 0.35
	}

	ai_will_do = {
		value = 1
	}
}

ethos_communal = {
	type = ethos
	character_modifier = {
		close_relative_opinion = 5
		same_culture_mercenary_hire_cost_mult = -0.15
		minority_different_culture_opinion = -10
		county_fertility_growth_mult = 0.05
	}
	province_modifier = {
		build_gold_cost = -0.05
		build_speed = -0.1
	}

	parameters = {
		ethos_communal_herders_bonus = yes		
	}

	ai_will_do = {
		value = 1
	}
}
