# T1
guhilawat_reform = {
	icon = guhilawat_reform_icon
	allow_normal_conversion = yes
	potential = {
		OR = {
			have_had_reform = guhilawat_reform
			OR = {
				is_or_was_tag = { tag = MER }
				is_or_was_tag = { tag = MAW }
			}
		}
	}
	trigger = {
		OR = {
			have_had_reform = guhilawat_reform
			OR = {
				is_or_was_tag = { tag = MER }
				is_or_was_tag = { tag = MAW }
			}
		}
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 20
	modifiers = {
		fort_maintenance_modifier = -0.10
		monarch_military_power = 1

		allowed_rajput_fraction = 0.10
		rajput_loyalty_modifier = 0.10
		rajput_influence_modifier = 0.10
		can_recruit_rajputs = yes
	}
	government_abilities = {
		rajput_princedom_mechanic
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_uidapur_state_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = ge_mer_city_of_lakes
				remove_province_modifier = ge_maw_blue_city
			}
		}
	}
	conditional = {
		allow = {
			OR = {
				has_dlc = "Dharma"
				has_dlc = "Winds of Change"
			}
		}
		custom_attributes = {
			enables_estate_rajput = yes
		}
	}
	custom_attributes = {
		enables_uidapur_state = yes
	}
}

pratihara_reform = {
	icon = pratihara_reform_icon
	allow_normal_conversion = yes
	potential = {
		OR = {
			have_had_reform = pratihara_reform
			is_or_was_tag = { tag = RJP }
		}
	}
	trigger = {
		OR = {
			have_had_reform = pratihara_reform
			is_or_was_tag = { tag = RJP }
		}
	}
	valid_for_nation_designer = yes
	nation_designer_cost = 20
	modifiers = {
		governing_capacity = 50
		special_unit_forcelimit = 0.25
		rajput_privilege_slots = 1
		can_recruit_rajputs = yes
	}
	government_abilities = {
		pratihara_mechanic
	}
	conditional = {
		allow = {
			OR = {
				has_dlc = "Dharma"
				has_dlc = "Winds of Change"
			}
		}
		custom_attributes = {
			enables_estate_rajput = yes
		}
	}
}

# T2
divine_rajputana_splendor_reform = {
	icon = divine_rajputana_splendor_reform_icon
	potential = {
		culture_group = western_aryan
		religion = hinduism
	}
	trigger = {
		culture_group = western_aryan
		religion = hinduism
	}
	modifiers = {
		religious_unity = 0.1
		church_loyalty_modifier = 0.1
		church_privilege_slots = 1
		brahmins_hindu_loyalty_modifier = 0.1
		brahmins_privilege_slots = 1
	}
	custom_attributes = {
		enables_western_aryan_province = yes
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_western_aryan_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = ge_western_aryan_province_modifier
			}
		}
	}
}

# T3

# T4

# T5
frontier_guards_reform = {
	icon = frontier_guards_reform_icon
	potential = {
		culture_group = western_aryan
	}
	trigger = {
		culture_group = western_aryan
	}
	modifiers = {
		cavalry_cost = -0.1
		cavalry_power = 0.1
	}
	custom_attributes = {
		enables_western_indian_frontier_guards_province = yes
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_western_indian_frontier_guards_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = ge_western_indian_frontier_guards_province_modifier
			}
		}
	}
}

# T6
# T7

# T8
desert_construction_reform = {
	icon = desert_construction_reform_icon
	potential = {
		capital_scope = {
			region = west_india_region
		}
		culture_group = western_aryan
	}
	trigger = {
		capital_scope = {
			region = west_india_region
		}
		culture_group = western_aryan
	}
	modifiers = {
		build_time = -0.1
		global_prov_trade_power_modifier = 0.15
	}
	custom_attributes = {
		enables_desert_construction_province = yes
	}
	effect = {
		hidden_effect = {
			every_owned_province = {
				ge_desert_construction_province_update = yes
			}
		}
	}
	removed_effect = {
		hidden_effect = {
			every_owned_province = {
				remove_province_modifier = ge_desert_construction_province_modifier
			}
		}
	}
}