﻿



tradition_RICE_volga_apiculture = {
	category = regional

	layers = {
		4 = RICE_volga_apiculture.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_volga_finnic
			has_cultural_pillar = heritage_turkic
			has_cultural_pillar = heritage_east_slavic
			has_cultural_pillar = heritage_ugro_permian
			# scope:character = {
			# 	capital_province = {
			# 		geographical_region = world_steppe_west # Change to new Volga region
			# 	}
			# }
		}		
		any_culture_county = {
			count >= 4
			any_county_province = {
				geographical_region = RICE_volga_river_region
			}
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_volga_finnic
			has_cultural_pillar = heritage_turkic
			has_cultural_pillar = heritage_east_slavic
			has_cultural_pillar = heritage_ugro_permian
			# scope:character = {
			# 	capital_province = {
			# 		geographical_region = world_steppe_west # Change to new Volga region
			# 	}
			# }
		}		
		
		custom_tooltip = {
			text = RICE_culture_in_volga_river_basin_desc
			any_culture_county = {
				count >= 4
				any_county_province = {
					geographical_region = RICE_volga_river_region
				}
			}
		}
		# custom_tooltip = {
		# 	text = RICE_culture_in_volga_beekeeper_terrain_desc
		# 	any_culture_county = {
		# 		any_county_province = {
		# 			OR = {
		# 				terrain = farmlands
		# 				terrain = floodplains
		# 				terrain = plains
		# 				terrain = forest
		# 				terrain = hills
		# 				terrain = wetlands
		# 			}
		# 		}
		# 	}
		# }
	}
	
	parameters = {
		unlock_rice_volga_bee_product_decision = yes
		unlock_rice_volga_bee_tribute_decision = yes
	}

	character_modifier = {
		negate_health_penalty_add = 0.05
		monthly_stewardship_lifestyle_xp_gain_mult = 0.03
	}	

	county_modifier = {
		#development_growth_factor = 0.1
		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_spiritual = { is_in_list = traits }
			# 		}
			# 	}
			# 	add = {
			# 		value = tradition_incompatible_ethos_penalty
			# 		desc = not_spiritual_or_courtly_desc
			# 	}
			# }
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
		if = {
			limit = { # AI should avoid stacking traditions for courtly court positions
				culture_tradition:tradition_music_theory = { is_in_list = traits }
			}
			multiply = 0.75
		}
	}
}





tradition_RICE_finnic_sorcerers = {
	category = regional

	layers = {
		4 = RICE_finnic_sorcerers.dds
	}

	is_shown = {
		OR = {
			has_cultural_pillar = heritage_balto_finnic
			has_cultural_pillar = heritage_volga_finnic
			has_cultural_pillar = heritage_ugro_permian
		}
	}

	can_pick = {
		OR = {
			has_cultural_pillar = heritage_balto_finnic
			has_cultural_pillar = heritage_volga_finnic
			has_cultural_pillar = heritage_ugro_permian
		}
        scope:character = {
            faith = {
                NOR = {
                    has_doctrine_parameter = witchcraft_illegal
                    has_doctrine_parameter = witchcraft_shunned
                }
            }
        }
	}
	
	parameters = {
		mystic_trait_more_common = yes
	}

	character_modifier = {
		intrigue_per_piety_level = 1
		dread_baseline_add = 5
		defender_advantage = 4
		monthly_piety_gain_mult = 0.03
	}	

	county_modifier = {
		
	}
	
	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
				}
			}
			
			multiply = tradition_replacement_cost_if_relevant
		}
	}
	
	ai_will_do = {
		value = 100
		if = {
			limit = { # AI should avoid stacking traditions for courtly court positions
				culture_tradition:tradition_music_theory = { is_in_list = traits }
			}
			multiply = 0.75
		}
	}
}

