#TRIBAL

#T1

eghaevbo_administration_reform = {
	icon = generic_people
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = eghaevbo_administration_reform
			tag = BEN
		}
	}
	modifiers = {
		core_creation = -0.10
		governing_capacity = 150
	}
	ai = {
		factor = 100
	}
	#-10 Noble Influence
}

siberian_tribal_confederation_reform = {
	icon = generic_people
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
	}
	trigger = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
	}
	modifiers = {
		land_attrition = -0.15
		stability_cost_modifier = -0.25
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_siberian_tribe_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = GE_Siberian_Tribe
			}
		}
	}
	custom_attributes = {
		enables_siberian_tribe = yes #-25% Development Cost in Glacial provinces
	}
	ai = {
		factor = 100
	}
	#-10 Noble Influence
}

#T2

great_law_of_peace_reform = {
	icon = great_law_of_peace
	allow_normal_conversion = yes
	potential = {
		tag = IRO
	}
	modifiers = {
		global_unrest = -2
		governing_capacity = 150
	}
	ai = {
		factor = 100
	}
}

royal_society_reform = {
	icon = kongolese_king
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = royal_society_reform
			culture_group = kongo_group
			tag = BEN
		}
	}
	modifiers = {
		global_autonomy = -0.05
		state_maintenance_modifier = -0.25
	}
	ai = {
		factor = 10
	}
}

slave_raids_reform = {
	icon = tatar_slave_raid
	allow_normal_conversion = yes
	potential = {
		culture_group = tartar
	}
	trigger = {
		culture_group = tartar
	}
	modifiers = {
		production_efficiency = 0.05
		global_trade_goods_size_modifier = 0.10
	}
	ai = {
		factor = 10
	}
}

herders_of_the_steppe = {
	icon = steppe_shepherds
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = steppe_horde
			has_reform = tribal_federation
		}
	}
	modifiers = {
		manpower_recovery_speed = 0.1
		min_autonomy_in_territories = -0.1
	}
	ai = {
		factor = 10
	}
}

legacy_of_pax_mongolia = {
	icon = steppe_shepherds
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = altaic
		}
	}
	trigger = {
		OR = {
			culture_group = altaic
		}
	}
	modifiers = {
		global_unrest = -1
		num_accepted_cultures = 2
	}
	#custom_attributes = {
	#	enables_pax_mongolia = yes
	#}
	ai = {
		factor = 10
	}
}

three_jurchen_tribes_reform = {
	icon = generic_people
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	trigger = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	modifiers = {
		global_trade_goods_size_modifier = 0.05
		global_tax_modifier = 0.05
		land_attrition = -0.10
	}
	ai = {
		factor = 10
	}
}

snow_life_reform = {
	icon = native_seasonal_travel_reform
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
		NOT = { primary_culture = manchu}
	}
	trigger = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
		NOT = { primary_culture = manchu}
	}
	modifiers = {
		movement_speed = 0.10
		native_uprising_chance = -0.50
		rural_goods_produced_modifier = 0.25
	}
	ai = {
		factor = 10
	}
}

#T3

sheikhdom_reform = {
	icon = noble_muslim
	allow_normal_conversion = yes
	potential = {
		culture_group = turko_semitic
		NOT = { primary_culture = turkish }
	}
	modifiers = {
		tolerance_own = 1
		warscore_cost_vs_other_religion = -0.10
	}
	ai = {
		factor = 10
	}
}

adoption_of_christianity_reform = {
	icon = kongolese_cross
	allow_normal_conversion = yes
	potential = {
		culture_group = kongo_group
	}
	modifiers = {
		tolerance_heathen = 2
	}
	ai = {
		factor = 10
	}
}


great_code_of_nomads = {
	icon = steppe_buddhists
	allow_normal_conversion = yes
	potential = {
		has_reform = steppe_horde
		religion_group = eastern
	}
	modifiers = {
		global_trade_power = 0.2
		tolerance_own = 1
	}
	ai = {
		factor = 100
	}
}

world_under_tengri = {
	icon = strength_of_the_khalsa
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = altaic
		}
	}
	trigger = {
		OR = {
			culture_group = altaic
		}
	}
	modifiers = {
		tolerance_own = 1
		tolerance_heathen = 1
		tolerance_heretic = 1
	}
	ai = {
		factor = 10
	}
}

maintain_charade_reform = {
	icon = arabic_scripture
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	trigger = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	modifiers = {
		diplomatic_reputation = 1
		global_unrest = -1
	}
	ai = {
		factor = 10
	}
}

tolerance_of_the_church_reform = {
	icon = church
	allow_normal_conversion = yes
	potential = {
		culture_group = tartar
	}
	trigger = {
		culture_group = tartar
	}
	modifiers = {
		tolerance_heathen = 1
		state_maintenance_modifier = -0.10
	}
	ai = {
		factor = 10
	}
}

children_of_osanobua_reform = {
	icon = generic_people
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = children_of_osanobua_reform
			tag = BEN
		}
	}
	modifiers = {
		global_unrest = -1
		development_cost = -0.10
	}
	ai = {
		factor = 100
	}
}

one_on_high_reform = {
	icon = strength_of_the_khalsa
	allow_normal_conversion = yes
	potential = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
		NOT = { primary_culture = manchu}
		OR = {
			religion = tengri_pagan_reformed
			religion = animism
		}
	}
	trigger = {
		OR = {
			primary_culture = evenk
			primary_culture = buryat
			primary_culture = yukagyr
			primary_culture = kamchatkan
		}
		NOT = { primary_culture = manchu}
		OR = {
			religion = tengri_pagan_reformed
			religion = animism
		}
	}
	modifiers = {
		tolerance_own = 1
		cavalry_shock = 1
	}
	ai = {
		factor = 10
	}
}

#T3.5

traditionalist_reform = {
	icon = soldiers_4
	allow_normal_conversion = yes
	potential = {
	}
	modifiers = {
		shock_damage = 0.05
		cavalry_cost = -0.15
		nomadic_tribes_loyalty_modifier = 0.05
	}
	#+10% Tribe Loyalty
	ai = {
		factor = 1
	}
}

gunpowder_weapons_reform = {
	icon = national_guard
	allow_normal_conversion = yes
	potential = {
		NOT = {
			OR = {
				technology_group = sub_saharan
				technology_group = central_african
				technology_group = east_african
			}
		}
	}
	modifiers = {
		fire_damage = 0.05
		mil_tech_cost_modifier = -0.10
		nomadic_tribes_loyalty_modifier = -0.05
	}
	#-10% Tribe Loyalty
	ai = {
		factor = 1
	}
}

traditionalist_african_reform = {
	icon = soldiers_4
	allow_normal_conversion = yes
	potential = {
		OR = {
			technology_group = sub_saharan
			technology_group = central_african
			technology_group = east_african
		}
	}
	modifiers = {
		infantry_power = 0.10
	}

	#+10% Noble Loyalty
	ai = {
		factor = 1
	}
}

gunpowder_weapons_african_reform = {
	icon = national_guard
	allow_normal_conversion = yes
	potential = {
		OR = {
			technology_group = sub_saharan
			technology_group = central_african
			technology_group = east_african
		}
	}
	modifiers = {
		fire_damage = 0.05
		mil_tech_cost_modifier = -0.1
	}
	#-10% Noble Loyalty
	ai = {
		factor = 1
	}
}

african_jungle_warrior_reform = {
	icon = tribal_martial_society
	allow_normal_conversion = yes
	potential = {
		OR = {
			technology_group = sub_saharan
			technology_group = central_african
			technology_group = east_african
		}
	}
	trigger = {
		OR = {
			technology_group = sub_saharan
			technology_group = central_african
			technology_group = east_african
		}
	}
	modifiers = {
		shock_damage = 0.05
		movement_speed = 0.10
		hostile_attrition = 1
	}
	ai = {
		factor = 1
	}
}

elephant_riders_reform = {
	icon = noble_indian
	allow_normal_conversion = yes
	potential = {
		OR = {
			technology_group = indian
		}
	}
	trigger = {
		OR = {
			technology_group = indian
		}
	}
	modifiers = {
		cavalry_power = 0.10
		shock_damage_received = -0.10
		cavalry_cost = 0.10
	}
	ai = {
		factor = 1
	}
}

turkoman_gunners_reform = {
	icon = soldiers_2
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = iranian
			primary_culture = turkish
			primary_culture = turkmeni
			primary_culture = uzbehk
		}
		NOT = { tag = TUR }
	}
	trigger = {
		OR = {
			culture_group = iranian
			primary_culture = turkish
			primary_culture = turkmeni
			primary_culture = uzbehk
		}
	}
	modifiers = {
		artillery_power = 0.05
		artillery_cost = -0.10
		artillery_levels_available_vs_fort = 1
	}
	ai = {
		factor = 10
	}
}

mongol_ties_reform = {
	icon = soldiers_3
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	trigger = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	modifiers = {
		cavalry_cost = -0.10
		reinforce_cost_modifier = -0.20
	}
	ai = {
		factor = 10
	}
}

subotai_lessons_reform = {
	icon = feudal_theocracy
	allow_normal_conversion = yes
	effect = {
		change_variable = {
			which = Noble_Influence
			value = 1
		}
	}
	removed_effect = {
		change_variable = {
			which = Noble_Influence
			value = -1
		}
	}
	potential = {
		OR = {
			culture_group = altaic
		}
	}
	trigger = {
		OR = {
			culture_group = altaic
		}
	}
	modifiers = {
		leader_land_manuever = 1
		leader_siege = 1
	}
	ai = {
		factor = 10
	}
}

tatar_raiders_reform = {
	icon = tatar_slave_raid
	allow_normal_conversion = yes
	potential = {
		culture_group = tartar
	}
	trigger = {
		culture_group = tartar
	}
	modifiers = {
		shock_damage = 0.10
		recover_army_morale_speed = -0.05
		loot_amount = 0.50
	}
	ai = {
		factor = 10
	}
}

warrior_kings_reform = {
	icon = generic_people
	allow_normal_conversion = yes
	potential = {
		OR = {
			has_reform = warrior_kings_reform
			tag = BEN
		}
	}
	modifiers = {
		leader_land_manuever = 1
		leader_land_shock = 1
	}
	ai = {
		factor = 100
	}
}

#T4

unite_the_royal_houses_reform = {
	icon = kongolese_king_2
	allow_normal_conversion = yes
	potential = {
		culture_group = kongo_group
	}
	modifiers = {
		legitimacy = 1
		yearly_absolutism = 0.25
		max_absolutism = 15
	}
	ai = {
		factor = 10
	}
}

iranian_bureacracy_reform = {
	icon = iranian_bureaucracy
	allow_normal_conversion = yes
	potential = {
		num_of_owned_provinces_with = {
			value = 5
			culture_group = iranian
		}
	}
	modifiers = {
		governing_capacity = 250
		global_autonomy = -0.025
	}
	ai = {
		factor = 10
	}
}

reintroduce_the_dirham = {
	icon = paper_money_map
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = altaic
		}
	}
	trigger = {
		OR = {
			culture_group = altaic
		}
	}
	modifiers = {
		trade_efficiency = 0.10
		diplomatic_annexation_cost = -0.15
	}
	ai = {
		factor = 10
	}
}

birth_of_the_manchu_reform = {
	icon = asian_scripture
	allow_normal_conversion = yes
	potential = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	trigger = {
		OR = {
			culture_group = evenks
			primary_culture = manchu_new
		}
	}
	modifiers = {
		culture_conversion_cost = -0.20
		idea_cost = -0.10
	}
	ai = {
		factor = 10
	}
}

bashqaq_administration_reform = {
	icon = judge
	allow_normal_conversion = yes
	potential = {
		culture_group = tartar
	}
	trigger = {
		culture_group = tartar
	}
	modifiers = {
		global_unrest = -2
		governing_capacity = 250
	}
	ai = {
		factor = 10
	}
}

#T5

recruit_cossacks_reform = {
	icon = soldiers_2
	allow_normal_conversion = yes
	potential = {
		culture_group = tartar
	}
	trigger = {
		culture_group = tartar
	}
	modifiers = {
		reinforce_cost_modifier = -0.25
		reinforce_speed = 0.25
	}
	# custom_attributes = {
		# enables_cossack_estate = yes
	# }
	ai = {
		factor = 1
	}
}

feudal_vassals_reform = {
	icon = castle
	allow_normal_conversion = yes
	potential = {
	}
	modifiers = {
		vassal_income = 0.25
		vassal_forcelimit_bonus = 1.00
	}
	custom_attributes = {
		enables_noble_estate = yes
	}
	ai = {
		factor = 1
	}
}

haudenosaunee_reform = {
	icon = iroquois_longhouse
	allow_normal_conversion = yes
	potential = {
		tag = IRO
	}
	modifiers = {
		years_of_nationalism = -5
		num_accepted_cultures = 2
	}
	ai = {
		factor = 100
	}
}

