﻿tradition_kanun = {
	category = regional

	layers = {
		0  = intrigue
		1 = steppe
		4 = albania.dds 
	}
	
	is_shown = {
		OR = { 
			has_cultural_pillar = heritage_albanian
		}
	}
	
	parameters = {
		close_family_better_councillors = yes
		close_family_better_court_positions = yes
		penalty_for_revoking_titles_from_close_family = yes
		vengeful_trait_more_common = yes
		vengeful_positive_forgiving_negative = yes
		rivalries_more_common = yes
		has_access_to_shieldmaidens = yes
	}
	character_modifier = {
		close_relative_opinion = 5
		dread_decay_mult = -0.3
		knight_effectiveness_mult = 0.15
	}
}
tradition_secularism = {
	category = societal

	layers = {
		0 = learning
		1 = mediterranean
		4 = beacon_of_learning.dds
	}
	
	parameters = {
		life_is_a_joke_trait_same_culture_opinion = yes
		zealous_trait_less_common = yes
		harder_to_convert_character_faith = yes
		harder_to_convert_county_faith = yes
	}
	character_modifier = {
		opinion_of_different_faith = -15
		ai_zeal = 25
	}
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_egalitarian = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_egalitarian_or_communal_desc
				}
			}
			if = {
				limit = {
					trigger_if = {
						limit = {
							scope:character = {
								is_ai = no
							}
						}
						NOT = {
							any_ruler = {
								count >= 5
								culture = prev
								primary_title.tier >= tier_county
								has_trait = cynical
							}
						}
					}
					trigger_else = {
						always = no
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = rulers_with_cynical_desc
				}
			}
			if = {
				limit = {
					OR = {
						has_variable = defensive_traditionalist_discount
						has_variable = aggressive_traditionalist_discount
					}
				}
				add = {
					value = traditionalist_discount
					desc = traditionalist_discount_desc
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	ai_will_do = {
		value = 100
		if = {
			limit = {
				OR = {
					culture_tradition:tradition_welcoming = { is_in_list = traits }
					culture_tradition:tradition_eye_for_an_eye = { is_in_list = traits }
					culture_tradition:tradition_forbearing = { is_in_list = traits }
					culture_tradition:tradition_equitable = { is_in_list = traits }
					culture_tradition:tradition_charitable = { is_in_list = traits }
					culture_tradition:tradition_modest = { is_in_list = traits }
				}
			}
			multiply = 0.1
		}
	}
}
tradition_omnism = {
	category = societal

	layers = {
		0 = intrigue
		1 = mena
		4 = omnism.dds
	}
	
	parameters = {
		zealous_trait_less_common = yes
		harder_to_convert_character_faith = yes
		reduced_cost_for_conversion_to_pacifist_faith = yes
		cheaper_to_hybridize = yes
	}
	character_modifier = {
		ignore_opinion_of_different_faith = yes
		same_culture_opinion = 15
	}
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_egalitarian = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_egalitarian_or_communal_desc
				}
			}
			if = {
				limit = {
					trigger_if = {
						limit = {
							scope:character = {
								is_ai = no
							}
						}
						NOT = {
							any_ruler = {
								count >= 5
								culture = prev
								primary_title.tier >= tier_county
								has_trait = cynical
							}
						}
					}
					trigger_else = {
						always = no
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = rulers_with_cynical_desc
				}
			}
			if = {
				limit = {
					OR = {
						has_variable = defensive_traditionalist_discount
						has_variable = aggressive_traditionalist_discount
					}
				}
				add = {
					value = traditionalist_discount
					desc = traditionalist_discount_desc
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	ai_will_do = {
		value = 100
		if = {
			limit = {
				OR = {
					culture_tradition:tradition_welcoming = { is_in_list = traits }
					culture_tradition:tradition_forbearing = { is_in_list = traits }
					culture_tradition:tradition_equitable = { is_in_list = traits }
					culture_tradition:tradition_charitable = { is_in_list = traits }
					culture_tradition:tradition_modest = { is_in_list = traits }
				}
			}
			multiply = 0.1
		}
	}
}
tradition_guardians_of_the_mountains = {
	category = regional

	layers = {
		0 = martial
		1 = indian
		4 = druze_mountians.dds 
	}
	
	is_shown = {
		OR = { 
			has_culture = druze
		}
	}
	
	parameters = {
		harder_to_hybridize = yes
		harder_to_convert_county_culture = yes
		rough_terrain_expert_trait_more_common = yes
		can_recruit_mountain_specialist = yes
		unlock_maa_mountaineer = yes
		mountain_trait_bonuses = yes
		harder_to_convert_character_faith = yes
		harder_to_convert_county_faith = yes
	}
	character_modifier = {
		controlled_province_advantage = 5
		same_culture_opinion = 5
		mountains_advantage = 5
	}
	province_modifier = {
		mountains_levy_size = 0.1
		desert_mountains_levy_size = 0.1
		mountains_supply_limit_mult = 0.25
		desert_mountains_supply_limit_mult = 0.25
	}
}
tradition_songs_of_lazona = {
	category = societal

	layers = {
		0 = diplo
		1 = mena
		4 = musician.dds
	}

	is_shown = {
		OR = {
			this = culture:laz
			any_parent_culture_or_above = {
				this = culture:laz
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:laz
			any_parent_culture_or_above = {
				this = culture:laz
			}
		}
	}

	parameters = {
		tells_stories = yes
		better_ward_education = yes

		poet_trait_more_common = yes

		characters_are_better_court_musicians = yes
		better_court_musicians = yes

		reveler_traits_more_valued = yes
	}

	character_modifier = {
		same_culture_opinion = 5
		owned_legend_spread_mult = 0.05

		#In a culture of storytellers, secrets spread easily
		owned_scheme_secrecy_add = -10
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_courtly = {
							is_in_list = traits
						}
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_spiritual = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_courtly_communal_or_spiritual_desc
				}
			}

			if = {
				limit = {
					trigger_if = {
						limit = {
							scope:character = {
								is_ai = no
							}
						}
						NOT = {
							any_ruler = {
								count >= 3
								culture = prev
								primary_title.tier >= tier_county
								has_trait = lifestyle_poet
							}
						}
					}
					trigger_else = {
						always = no
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = rulers_with_poet_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_songs_of_lazona
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200

		if = {
			limit = {
				scope:character ?= {
					OR = {
						has_trait = lifestyle_poet
						has_trait = lifestyle_reveler
					}
				}
			}
			multiply = 4
		}
	}
}
tradition_yaylak_and_kislak = {
	category = regional

	layers = {
		0 = steward
		1 = mena
		4 = mountain.dds
	}

	is_shown = {
		OR = {
			this = culture:yoruk
			any_parent_culture_or_above = {
				this = culture:yoruk
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:yoruk
			any_parent_culture_or_above = {
				this = culture:yoruk
			}
		}

		custom_description = {
			text = culture_in_hills_or_mountains_desc
			any_culture_county = {
				county_has_province_with_terrain = {
					terrain = hills
					terrain = mountains
					terrain = desert_mountains
				}
			}
		}
	}

	parameters = {
		pastures_building_bonuses = yes
		farm_estates_pastures_unlock = yes
		better_herders_pasturalists = yes

		rough_terrain_expert_trait_more_common = yes
		mountain_trait_bonuses = yes
		resistant_to_mountain_privation = yes
	}

	character_modifier = {
		movement_speed = 0.05
		provisions_use_mult = -0.10
		herd_capacity_mult = 0.10

		hills_travel_danger = hills_medium_danger_reduction
		mountains_travel_danger = mountains_medium_danger_reduction
		desert_mountains_travel_danger = desert_mountains_medium_danger_reduction

		hills_fertility_growth_mult = low_culture_county_fertility_value_mult
		mountains_fertility_growth_mult = low_culture_county_fertility_value_mult
		desert_mountains_fertility_growth_mult = low_culture_county_fertility_value_mult
		plains_fertility_growth_mult = low_culture_county_fertility_value_mult
		drylands_fertility_growth_mult = low_culture_county_fertility_value_mult
	}

	county_modifier = {
		monthly_county_control_growth_factor = -0.10
	}

	province_modifier = {
		hills_supply_limit_mult = 0.15
		mountains_supply_limit_mult = 0.15
		desert_mountains_supply_limit_mult = 0.15
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_bellicose = {
							is_in_list = traits
						}
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_bellicose_stoic_or_communal_desc
				}
			}

			if = {
				limit = {
					NOT = {
						any_culture_county = {
							percent >= 0.3
							county_has_province_with_terrain = {
								terrain = hills
								terrain = mountains
								terrain = desert_mountains
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = hills_or_mountains_percentage_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_yaylak_and_kislak
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 400

		if = {
			limit = {
				OR = {
					has_cultural_tradition = tradition_pastoralists
					has_cultural_tradition = tradition_mountaineers
				}
			}
			multiply = 0
		}

		if = {
			limit = {
				scope:character ?= {
					government_has_flag = government_is_nomadic
				}
			}
			multiply = 2
		}

		if = {
			limit = {
				NOT = {
					scope:character = {
						any_sub_realm_county = {
							culture = scope:character.culture
							county_has_province_with_terrain = {
								terrain = hills
								terrain = mountains
								terrain = desert_mountains
							}
						}
					}
				}
			}
			multiply = 0.25
		}
	}
}
tradition_apsuara = {
	category = societal

	layers = {
		0 = diplo
		1 = mena
		4 = farmland.dds
	}

	is_shown = {
		OR = {
			this = culture:abkhazian
			any_parent_culture_or_above = {
				this = culture:abkhazian
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:abkhazian
			any_parent_culture_or_above = {
				this = culture:abkhazian
			}
		}
	}

	parameters = {
		bonuses_from_patriarch_matriarch_trait = yes
		penalty_for_revoking_titles_from_house_members = yes
		loyal_trait_more_valued = yes
		just_trait_more_common = yes
		honest_trait_more_common = yes
		better_ward_education = yes
		tells_stories = yes
	}

	character_modifier = {
		dynasty_house_opinion = 10
		guest_opinion = 10
		same_culture_opinion = 5
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_spiritual = {
							is_in_list = traits
						}
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_communal_spiritual_or_stoic_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_apsuara
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 400
	}
}
tradition_nart_sagas = {
	category = societal

	layers = {
		0 = learning
		1 = mena
		4 = speech.dds
	}

	is_shown = {
		OR = {
			this = culture:ossetian
			any_parent_culture_or_above = {
				this = culture:ossetian
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:ossetian
			any_parent_culture_or_above = {
				this = culture:ossetian
			}
		}
	}

	parameters = {
		tells_stories = yes
		better_ward_education = yes
		poet_trait_more_common = yes
		poet_trait_gives_bonuses = yes
		guardians_can_transfer_commander_traits = yes
		wounds_and_scars_give_bonuses = yes
	}

	character_modifier = {
		monthly_prestige_gain_mult = 0.1
		guest_opinion = 5
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_bellicose_stoic_or_communal_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_nart_sagas
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}
			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 400
	}
}
tradition_rice_and_silk = {
	category = realm

	layers = {
		0 = steward
		1 = mena
		4 = farmland.dds
	}

	is_shown = {
	OR = {
		this = culture:gilak
		this = culture:mazani
		any_parent_culture_or_above = {
			this = culture:gilak
		}
		any_parent_culture_or_above = {
			this = culture:mazani
		}
	}
}

	can_pick = {
		custom_description = {
			text = rice_and_silk_terrain_requirement
			any_culture_county = {
				county_has_province_with_terrain = {
					terrain = plains
					terrain = hills
				}
			}
		}
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.1
		monthly_war_income_mult = -0.1
	}

	province_modifier = {
		plains_tax_mult = 0.1
		plains_development_growth_factor = 0.15
		plains_supply_limit_mult = 0.15

		hills_tax_mult = 0.05
		hills_development_growth_factor = 0.05

		mountains_tax_mult = 0.05
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_bureaucratic = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = rice_and_silk_incompatible_ethos_desc
				}
			}

			if = {
				limit = {
					NOT = {
						any_culture_county = {
							percent >= 0.3
							county_has_province_with_terrain = {
								terrain = plains
								terrain = hills
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = rice_and_silk_terrain_percentage_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_rice_and_silk
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 100
	}
}
tradition_amiri_songs = {
	category = social

	layers = {
		0 = diplomacy
		1 = mena
		4 = musician.dds
	}

	is_shown = {
		OR = {
			this = culture:mazani
			any_parent_culture_or_above = {
				this = culture:mazani
			}
		}
	}

	parameters = {
		poet_trait_more_common = yes
		poet_trait_gives_bonuses = yes
	}

	character_modifier = {
		monthly_prestige_gain_mult = 0.05
		stress_loss_mult = 0.1
		same_culture_opinion = 5
	}

	county_modifier = {
		county_opinion_add = 5
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_courtly = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = amiri_songs_incompatible_ethos_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_amiri_songs
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200
	}
}
tradition_garmsir_and_sardsir = {
	category = realm

	layers = {
		0 = steward
		1 = mena
		4 = desert_mountains.dds
	}

	is_shown = {
		OR = {
			this = culture:luri
			any_parent_culture_or_above = {
				this = culture:luri
			}
		}
	}

	can_pick = {
		custom_description = {
			text = garmsir_and_sardsir_lowland_requirement
			any_culture_county = {
				county_has_province_with_terrain = {
					terrain = plains
					terrain = drylands
				}
			}
		}

		custom_description = {
			text = garmsir_and_sardsir_upland_requirement
			any_culture_county = {
				county_has_province_with_terrain = {
					terrain = hills
					terrain = mountains
				}
			}
		}
	}

	character_modifier = {
		drylands_travel_danger = drylands_low_danger_reduction
		hills_travel_danger = hills_low_danger_reduction
		mountains_travel_danger = mountains_low_danger_reduction
	}

	province_modifier = {
		plains_tax_mult = 0.05
		drylands_tax_mult = 0.05
		hills_tax_mult = 0.05
		mountains_tax_mult = 0.05

		plains_supply_limit_mult = 0.15
		drylands_supply_limit_mult = 0.15
		hills_supply_limit_mult = 0.15
		mountains_supply_limit_mult = 0.15
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = garmsir_and_sardsir_incompatible_ethos_desc
				}
			}

			if = {
				limit = {
					NOT = {
						any_culture_county = {
							percent >= 0.2
							county_has_province_with_terrain = {
								terrain = plains
								terrain = drylands
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = garmsir_and_sardsir_lowland_percentage_desc
				}
			}

			if = {
				limit = {
					NOT = {
						any_culture_county = {
							percent >= 0.2
							county_has_province_with_terrain = {
								terrain = hills
								terrain = mountains
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = garmsir_and_sardsir_upland_percentage_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_garmsir_and_sardsir
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200
	}
}
tradition_people_of_the_living_water = {
	category = ritual

	layers = {
		0 = learning
		1 = mena
		4 = temple.dds
	}

	can_pick = {
		scope:character = {
			culture = culture:sabian_mandaean
		}
	}

	parameters = {
		better_disease_resistance = yes
	}

	character_modifier = {
		monthly_piety_gain_mult = 0.1
		monthly_learning_lifestyle_xp_gain_mult = 0.1
		stress_loss_mult = 0.1
		realm_priest_opinion = 10
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_courtly = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
						culture_pillar:ethos_spiritual = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_courtly_communal_or_spiritual_desc
				}
			}
			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_people_of_the_living_water
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200
		if = {
			limit = {
				scope:character = {
					NOT = {
						culture = culture:sabian_mandaean
					}
				}
			}
			multiply = 0
		}
	}
}
tradition_ibinwek = {
	category = social

	layers = {
		0 = diplo
		1 = mena
		4 = greeting.dds
	}

	can_pick = {
	}

	parameters = {
		better_ward_education = yes
		guardians_can_transfer_commander_traits = yes
		can_use_sparring_duel = yes
	}

	character_modifier = {
		same_culture_opinion = 5
		knight_limit = 1
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_bellicose = { is_in_list = traits }
						culture_pillar:ethos_stoic = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_bellicose_stoic_or_communal_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_ibinwek
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 100

		if = {
			limit = {
				culture_pillar:ethos_communal = {
					is_in_list = traits
				}
			}
			multiply = 3
		}

		if = {
			limit = {
				scope:character = {
					OR = {
						martial >= 12
						diplomacy >= 12
					}
				}
			}
			multiply = 2
		}
	}
}
tradition_winged_hussars = {
	category = combat

	layers = {
		0 = martial
		1 = western
		4 = knight.dds
	}

	is_shown = {
		OR = {
			this = culture:polish
			any_parent_culture_or_above = {
				this = culture:polish
			}
		}
	}

	can_pick = {
		culture_not_pacifistic_trigger = yes

		# Cannot stack with Konni Raids, but can replace it
		trigger_if = {
			limit = {
				OR = {
					NOT = { exists = scope:replacing }
					NOT = {
						scope:replacing = culture_tradition:tradition_hussar
					}
				}
			}
			NOT = {
				has_cultural_tradition = tradition_hussar
			}
		}
	}

	parameters = {
		unlock_maa_winged_hussars = yes
		martial_traits_give_out_hcav_bonus = yes
	}

	character_modifier = {
		heavy_cavalry_damage_mult = 0.10
		knight_effectiveness_mult = 0.10

		# Hussars require exceptional horses, armour and retainers
		heavy_cavalry_recruitment_cost_mult = 0.15
	}

	cost = {
		prestige = {
			add = {
				value = tradition_double_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_bellicose = { is_in_list = traits }
						culture_pillar:ethos_courtly = { is_in_list = traits }
						culture_pillar:ethos_stoic = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_bellicose_stoic_or_courtly_desc
				}
			}

			if = {
				limit = {
					NOT = {
						scope:character = {
							number_maa_soldiers_of_base_type = {
								type = heavy_cavalry
								value >= 400
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = culture_head_heavy_cavalry_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_winged_hussars
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 400

		if = {
			limit = {
				scope:character = {
					martial >= 12
				}
			}
			multiply = 2
		}
	}
}
tradition_pulaaku = {
	category = societal

	layers = {
		0 = diplo
		1 = mena
		4 = conversation.dds
	}

	is_shown = {
		OR = {
			this = culture:pulaar
			any_parent_culture_or_above = {
				this = culture:pulaar
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:pulaar
			any_parent_culture_or_above = {
				this = culture:pulaar
			}
		}
	}

	parameters = {
		patient_trait_more_common = yes
		humble_trait_more_common = yes
		introverted_trait_bonuses = yes
		loyal_trait_more_valued = yes
	}

	character_modifier = {
		stress_gain_mult = -0.10
		same_culture_opinion = 5
		dread_baseline_add = -5
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_stoic = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_stoic_or_communal_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_pulaaku
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200

		if = {
			limit = {
				OR = {
					culture_tradition:tradition_forbearing = {
						is_in_list = traits
					}
					culture_tradition:tradition_modest = {
						is_in_list = traits
					}
				}
			}
			multiply = 0.1
		}

		if = {
			limit = {
				culture_pillar:ethos_stoic = {
					is_in_list = traits
				}
			}
			multiply = 2
		}
	}
}
tradition_mangrove_rice_cultivators = {
	category = realm

	layers = {
		0 = steward
		1 = mena
		4 = wat.dds
	}

	is_shown = {
		has_tgp_dlc_trigger = yes

		OR = {
			has_cultural_pillar = heritage_west_african
			has_cultural_pillar = heritage_senegambian
			this = culture:susu
			any_parent_culture_or_above = {
				this = culture:susu
			}
		}
	}

	can_pick = {
		custom_description = {
			text = mangrove_rice_cultivators_terrain_requirement
			any_culture_county = {
				has_coastal_province = yes
				county_has_province_with_terrain = {
					terrain = wetlands
					terrain = jungle
				}
			}
		}

		custom_tooltip = {
			text = cultrad_not_nomadic_government_type
			scope:character = {
				NOT = {
					government_has_flag = government_is_nomadic
				}
			}
		}
	}

	parameters = {
		champa_rice_wet_land_paddies = yes
		rice_cultivators_next_level_paddy_fields = yes
		rice_cultivators_can_construct_paddy_fields_in_hills_and_jungle = yes
	}

	county_modifier = {
		jungle_development_growth_factor = 0.20
	}

	province_modifier = {
		jungle_construction_gold_cost = -0.10
		jungle_supply_limit_mult = 0.25
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					culture_pillar:ethos_bellicose = {
						is_in_list = traits
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = culture_not_bellicose
				}
			}

			if = {
				limit = {
					NOT = {
						any_culture_county = {
							percent >= 0.30
							has_coastal_province = yes
							county_has_province_with_terrain = {
								terrain = wetlands
							}
						}
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = mangrove_rice_cultivators_terrain_percentage_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_mangrove_rice_cultivators
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200

		if = {
			limit = {
				NOT = {
					any_culture_county = {
						percent >= 0.30
						has_coastal_province = yes
						county_has_province_with_terrain = {
							terrain = wetlands
						}
					}
				}
			}
			multiply = 0
		}

		if = {
			limit = {
				OR = {
					culture_tradition:tradition_wetlanders = {
						is_in_list = traits
					}
					culture_tradition:tradition_agrarian = {
						is_in_list = traits
					}
					culture_tradition:tradition_tgp_rice_cultivators = {
						is_in_list = traits
					}
				}
			}
			multiply = 0.25
		}

		if = {
			limit = {
				scope:character = {
					government_has_flag = government_is_nomadic
				}
			}
			multiply = 0
		}
	}
}
tradition_ton_associations = {
	category = social

	layers = {
		0 = diplo
		1 = mena
		4 = greeting.dds
	}

	can_pick = {
		scope:character = {
			culture = culture:bambara
		}
	}

	parameters = {
		better_ward_education = yes
		guardians_can_transfer_commander_traits = yes
	}

	character_modifier = {
		same_culture_opinion = 5
		build_speed = -0.05
		knight_limit = 1
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_bellicose = { is_in_list = traits }
						culture_pillar:ethos_stoic = { is_in_list = traits }
						culture_pillar:ethos_communal = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_bellicose_stoic_or_communal_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_ton_associations
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200
	}
}
tradition_gadaa_system = {
	category = societal

	layers = {
		0 = diplo
		1 = mena
		4 = council.dds
	}

	is_shown = {
		OR = {
			this = culture:oromo
			any_parent_culture_or_above = {
				this = culture:oromo
			}
		}
	}

	can_pick = {
		OR = {
			this = culture:oromo
			any_parent_culture_or_above = {
				this = culture:oromo
			}
		}
	}

	parameters = {
		just_trait_more_common = yes
		just_trait_gives_bonuses = yes
		diplomacy_education_better_outcomes = yes
	}

	character_modifier = {
		monthly_prestige_gain_per_happy_powerful_vassal_mult = 0.03
		tyranny_gain_mult = 0.20
	}

	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}

			if = {
				limit = {
					NOR = {
						culture_pillar:ethos_communal = {
							is_in_list = traits
						}
						culture_pillar:ethos_egalitarian = {
							is_in_list = traits
						}
						culture_pillar:ethos_stoic = {
							is_in_list = traits
						}
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_communal_egalitarian_or_stoic_desc
				}
			}

			if = {
				limit = {
					trigger_if = {
						limit = {
							scope:character = {
								is_ai = no
							}
						}
						NOT = {
							any_ruler = {
								count >= 5
								culture = prev
								primary_title.tier >= tier_county
								has_trait = just
							}
						}
					}
					trigger_else = {
						always = no
					}
				}
				add = {
					value = tradition_unfulfilled_criteria_penalty
					desc = rulers_with_just_desc
				}
			}

			if = {
				limit = {
					culture_tradition_reduction_trigger = {
						TRADITION = tradition_gadaa_system
					}
				}
				multiply = {
					value = 0.5
					desc = inspired_by_culture_desc
				}
			}

			multiply = tradition_replacement_cost_if_relevant
		}
	}

	ai_will_do = {
		value = 200

		if = {
			limit = {
				NOR = {
					culture_pillar:ethos_communal = {
						is_in_list = traits
					}
					culture_pillar:ethos_egalitarian = {
						is_in_list = traits
					}
					culture_pillar:ethos_stoic = {
						is_in_list = traits
					}
				}
			}
			multiply = 0.25
		}

		if = {
			limit = {
				OR = {
					culture_tradition:tradition_equitable = {
						is_in_list = traits
					}
					culture_tradition:tradition_legalistic = {
						is_in_list = traits
					}
					culture_tradition:tradition_fp3_jirga = {
						is_in_list = traits
					}
					culture_tradition:tradition_things = {
						is_in_list = traits
					}
					culture_tradition:tradition_the_witenagemot = {
						is_in_list = traits
					}
				}
			}
			multiply = 0.10
		}
	}
}