﻿

tradition_RICE_great_rift_valley = {
	category = regional

	layers = {
		4 = RICE_great_rift_valley.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_somalian
			has_cultural_pillar = heritage_east_african
			has_cultural_pillar = heritage_bantu
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_somalian
			has_cultural_pillar = heritage_east_african
			has_cultural_pillar = heritage_bantu
		}
	}
	
	parameters = {
		unlock_rice_iron_currency_innovation = yes
		unlock_rice_rift_valley_courtier_spawn = yes
	}

	character_modifier = {
		travel_danger = -5
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
		vassal_tax_mult = 0.15
	}

	county_modifier = {
		tax_mult = 0.05
	}
	
	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_egalitarian = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_communal_egalitarian_or_courtly_desc
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
	}
}


tradition_RICE_cattle_counting_ceremonies = {
	category = regional

	layers = {
		4 = RICE_cattle_counting_ceremonies.dds
	}

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

	can_pick = {
		OR = {
			this = culture:welayta
			any_parent_culture_or_above = {
				this = culture:welayta
			}
		}
	}
	
	parameters = {
		unlock_rice_cattle_counting_activity = yes
		unlock_rice_cattle_counting_trait = yes
	}

	character_modifier = {
		negate_diplomacy_penalty_add = 1
		stewardship_per_prestige_level = 1
	}
	# county_modifier = {
	# 	vassal_tax_mult = 0.1
	# }
	
	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_egalitarian = { is_in_list = traits }
					}
				}
				add = {
					value = tradition_incompatible_ethos_penalty
					desc = not_communal_egalitarian_or_courtly_desc
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
	}
}




tradition_RICE_halale = {
	category = regional

	layers = {
		4 = RICE_halale.dds
	}

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

	can_pick = {
		OR = {
			this = culture:sidama
			any_parent_culture_or_above = {
				this = culture:sidama
			}
		}
	}
	
	parameters = {
		#unlock_rice_sidama_fichee = yes
		unlock_rice_sidama_maintain_trees = yes
		unlock_rice_ancestor_worship = yes
		just_trait_more_common = yes
		generous_trait_more_common = yes
	}

	character_modifier = {
		long_reign_bonus_mult = 0.25
		short_reign_duration_mult = 0.25
		tyranny_gain_mult = 0.5
	}

	# county_modifier = {
	# 	vassal_tax_mult = 0.1
	# }
	
	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
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
	}
}

tradition_RICE_gadaa = {
	category = regional

	layers = {
		4 = RICE_gadaa.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 = {
		tribal_elective_enabled = yes
		just_trait_more_common = yes
		calm_trait_more_common = yes
	}

	character_modifier = {
		levy_size = 0.1
		men_at_arms_recruitment_cost = -0.15
		men_at_arms_maintenance = -0.15
		tyranny_gain_mult = 0.25
	}
	
	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
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
	}
}
