﻿



tradition_RICE_cave_dwellers = {
	category = regional

	layers = {
		4 = RICE_cave_dwellers.dds
	}

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

	can_pick = {
		OR = {
			this = culture:vedda
			any_parent_culture_or_above = {
				this = culture:vedda
			}
		}
	}
	
	#parameters = {

	#}

	character_modifier = {
		supply_limit_mult = 0.1
		build_gold_cost = -0.1
		forest_travel_danger = forest_low_danger_reduction
		jungle_travel_danger = jungle_low_danger_reduction
		hills_travel_danger = hills_low_danger_reduction
		mountains_travel_danger = mountains_low_danger_reduction
	}	
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 25
	}
}

tradition_RICE_wewas = {
	category = regional

	layers = {
		4 = RICE_wewas.dds
	}

	is_shown = {
		has_innovation = innovation_RICE_irrigation_tanks
		any_culture_county = {
			#count >= 4
			any_county_province = {
				geographical_region = RICE_sri_lanka_struggle_region
			}
		}
	}

	can_pick = {
		has_innovation = innovation_RICE_irrigation_tanks
		custom_tooltip = {
			text = RICE_culture_in_sri_lanka_desc
			any_culture_county = {
				count >= 4
				any_county_province = {
					geographical_region = RICE_sri_lanka_struggle_region
				}
			}
		}
	}
	
	parameters = {
		unlock_rice_wewa_irrigation_tank_effects = yes
	}

	character_modifier = {
		church_holding_build_gold_cost = -0.05
	}	

	county_modifier = {
		forest_development_growth_factor = 0.1
		jungle_development_growth_factor = 0.1
		hills_development_growth_factor = 0.1
	}
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 50
	}
}

tradition_RICE_stepwells = {
	category = regional

	layers = {
		4 = RICE_stepwells.dds
	}

	is_shown = {
		has_innovation = innovation_RICE_irrigation_tanks
		any_culture_county = {
			#count >= 4
			any_county_province = {
				geographical_region = RICE_sri_lanka_struggle_region
			}
		}
	}

	can_pick = {
		has_innovation = innovation_RICE_irrigation_tanks
		custom_tooltip = {
			text = RICE_culture_in_sri_lanka_desc
			any_culture_county = {
				count >= 4
				any_county_province = {
					geographical_region = RICE_sri_lanka_struggle_region
				}
			}
		}
	}
	
	parameters = {
		unlock_rice_stepwell_irrigation_tank_effects = yes
	}

	character_modifier = {
		stewardship = 1
		stress_loss_mult = 0.1
		church_holding_build_gold_cost = -0.05	
	}	
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 50
	}
}

tradition_RICE_zimbabwe = {
	category = regional

	layers = {
		4 = RICE_zimbabwe.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}
	
	#parameters = {
		
	#}

	character_modifier = {
		stewardship_per_prestige_level = 1
		build_speed = -0.1
		character_capital_county_monthly_development_growth_add = 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 = 25
	}
}



tradition_RICE_bantu_migrators = {
	category = regional

	layers = {
		4 = RICE_bantu_migrators.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}
	
	parameters = {
		unlock_rice_maa_bantu_warriors = yes
		unlock_voluntary_laampdom = yes
		much_more_likely_to_be_laamps = yes		
	}

	character_modifier = {
		supply_limit_mult = 0.1
		supply_duration = 0.5
		movement_speed = 0.1
		character_travel_speed_mult = 0.1
	}	
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}		
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 50
	}
}


tradition_RICE_cattle_kraals = {
	category = regional

	layers = {
		4 = RICE_cattle_kraals.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}
	
	#parameters = {
		
	#}

	county_modifier = {
		monthly_county_control_growth_factor = 0.2
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
		monthly_prestige_from_buildings_mult = 0.05
		monthly_piety_from_buildings_mult = 0.05
	}	
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}		
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 50
	}
}



tradition_RICE_forest_suppliers = {
	category = regional

	layers = {
		4 = RICE_forest_suppliers.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_bantu
		}
	}

	character_modifier = {
		diplomacy = 1
		monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
		forest_travel_danger = forest_low_danger_reduction
		jungle_travel_danger = jungle_low_danger_reduction
	}	
	
	province_modifier = {
		forest_tax_mult = 0.05
		jungle_tax_mult = 0.05
	}
	
	cost = {
		prestige = {
			add = {
				value = tradition_base_cost
				desc = BASE
				format = "BASE_VALUE_FORMAT"
			}		
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 50
	}
}










