decisions = {
	# Create Followers of Arjuna - Hindu Holy Order
	create_followers_arjuna = {
		ai_check_interval = 30

		is_high_prio = yes

		only_playable = yes

		potential = {
			religion = hindu

			OR = {
				independent = yes
				tier = king
			}

			NOR = {
				is_title_active = d_followers_arjuna

				has_alternate_start_parameter = {
					key = religion_names
					value = random
				}
			}
		}

		allow = {
			OR = {
				AND = {
					completely_controls = c_mathura
					completely_controls = c_varanasi
					completely_controls = c_purang
					completely_controls = c_ujjayini
					completely_controls = c_dvaraka
					piety >= 1000
				}

				AND = {
					year >= 1100
					piety >= 200
				}
			}
		}

		effect = {
			if = {
				limit = { year >= 1100 }
				prestige = 200
			}
			else = {
				prestige = 500
			}

			custom_tooltip = {
				text = create_followers_arjuna_tooltip

				activate_title = {
					title = d_followers_arjuna
					status = yes
				}

				create_character = {
					random_traits = no
					dynasty = random
					religion = ROOT
					culture = hindustani
					female = no
					age = 33
					add_trait = brilliant_strategist
					add_trait = zealous
					add_trait = humble
					add_trait = ambitious
					add_trait = strategist
					add_trait = holy_warrior
					add_trait = kshatriya
				}

				new_character = {
					wealth = 500
					grant_title = d_followers_arjuna
					set_government_type = feudal_government
					save_event_target_as = leader_of_arjuna

					while = {
						count = 7

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = hindustani
							female = no
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
								1 = { add_age = 3 }
								1 = { add_age = 4 }
								1 = { add_age = 5 }
								1 = { add_age = 6 }
								1 = { add_age = 7 }
								1 = { add_age = 8 }
								1 = { add_age = 9 }
								1 = { add_age = 10 }
								1 = { add_age = 11 }
								1 = { add_age = 12 }
							}
						}
					}

					while = {
						count = 2

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = hindustani
							female = yes
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
							}
						}
					}
				}

				any_player = {
					limit = {
						OR = {
							religion = hindu

							capital_scope = {
								OR = {
									region = world_india
									region = world_himalayas
									region = world_steppe
									region = world_persia
									region = world_middle_east
								}
							}
						}
					}

					narrative_event = { id = HO.110 }
				}
			}
		}

		ai_will_do = {
			factor = 0.3
		}
	}

	# Create Ashokas Chosen - Buddhist Holy Order
	create_ashokas_chosen = {
		ai_check_interval = 30

		is_high_prio = yes

		only_playable = yes

		potential = {
			religion = buddhist

			OR = {
				independent = yes
				tier = king
			}

			NOR = {
				is_title_active = d_ashokas_chosen

				has_alternate_start_parameter = {
					key = religion_names
					value = random
				}
			}
		}

		allow = {
			OR = {
				AND = {
					completely_controls = c_devagiri
					completely_controls = c_varanasi
					completely_controls = c_bamiyan
					completely_controls = c_gaya
					completely_controls = c_lumbini
					piety >= 1000
				}

				AND = {
					year >= 1100
					piety >= 200
				}
			}
		}

		effect = {
			if = {
				limit = { year >= 1100 }
				prestige = 200
			}
			else = {
				prestige = 500
			}

			custom_tooltip = {
				text = create_ashokas_chosen_tooltip

				activate_title = {
					title = d_ashokas_chosen
					status = yes
				}

				create_character = {
					random_traits = no
					dynasty = random
					religion = ROOT
					culture = marathi
					female = no
					age = 33
					add_trait = brilliant_strategist
					add_trait = zealous
					add_trait = humble
					add_trait = ambitious
					add_trait = strategist
					add_trait = holy_warrior
					add_trait = kshatriya
				}

				new_character = {
					wealth = 500
					grant_title = d_ashokas_chosen
					set_government_type = feudal_government
					save_event_target_as = leader_of_ashokas

					while = {
						count = 7

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = marathi
							female = no
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
								1 = { add_age = 3 }
								1 = { add_age = 4 }
								1 = { add_age = 5 }
								1 = { add_age = 6 }
								1 = { add_age = 7 }
								1 = { add_age = 8 }
								1 = { add_age = 9 }
								1 = { add_age = 10 }
								1 = { add_age = 11 }
								1 = { add_age = 12 }
							}
						}
					}

					while = {
						count = 2

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = marathi
							female = yes
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
							}
						}
					}
				}

				any_player = {
					limit = {
						OR = {
							religion = buddhist

							capital_scope = {
								OR = {
									region = world_india
									region = world_himalayas
									region = world_steppe
									region = world_persia
									region = world_middle_east
								}
							}
						}
					}

					narrative_event = { id = HO.120 }
				}
			}
		}

		ai_will_do = {
			factor = 0.3
		}
	}

	# Create Bulls of Rishabha - Jain Holy Order
	create_bulls_rishabha = {
		ai_check_interval = 30

		is_high_prio = yes

		only_playable = yes

		potential = {
			religion = jain

			OR = {
				independent = yes
				tier = king
			}

			NOR = {
				is_title_active = d_bulls_rishabha

				has_alternate_start_parameter = {
					key = religion_names
					value = random
				}
			}
		}

		allow = {
			OR = {
				AND = {
					completely_controls = c_rajrappa
					completely_controls = c_godwad
					completely_controls = c_purang
					completely_controls = c_bhumilka
					completely_controls = c_srirangapatna
					piety >= 1000
				}

				AND = {
					year >= 1100
					piety >= 200
				}
			}
		}

		effect = {
			if = {
				limit = { year >= 1100 }
				prestige = 200
			}
			else = {
				prestige = 500
			}

			custom_tooltip = {
				text = create_bulls_rishabha_tooltip

				activate_title = {
					title = d_bulls_rishabha
					status = yes
				}

				create_character = {
					random_traits = no
					dynasty = random
					religion = ROOT
					culture = kannada
					female = no
					age = 33
					add_trait = brilliant_strategist
					add_trait = zealous
					add_trait = humble
					add_trait = ambitious
					add_trait = strategist
					add_trait = holy_warrior
					add_trait = kshatriya
				}

				new_character = {
					wealth = 500
					grant_title = d_bulls_rishabha
					set_government_type = feudal_government
					save_event_target_as = leader_of_rishabha

					while = {
						count = 7

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = kannada
							female = no
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
								1 = { add_age = 3 }
								1 = { add_age = 4 }
								1 = { add_age = 5 }
								1 = { add_age = 6 }
								1 = { add_age = 7 }
								1 = { add_age = 8 }
								1 = { add_age = 9 }
								1 = { add_age = 10 }
								1 = { add_age = 11 }
								1 = { add_age = 12 }
							}
						}
					}

					while = {
						count = 2

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = kannada
							female = yes
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
							}
						}
					}
				}

				any_player = {
					limit = {
						OR = {
							religion = jain

							capital_scope = {
								OR = {
									region = world_india
									region = world_himalayas
									region = world_steppe
									region = world_persia
									region = world_middle_east
								}
							}
						}
					}

					narrative_event = { id = HO.130 }
				}
			}
		}

		ai_will_do = {
			factor = 0.3
		}
	}

	# Create Dralhas Children - Reformed Bon Holy Order
	create_dralhas_children = {
		ai_check_interval = 30

		is_high_prio = yes

		only_playable = yes

		potential = {
			religion = bon_pagan_reformed

			OR = {
				independent = yes
				tier = king
			}

			NOR = {
				is_title_active = d_dralhas_children

				has_alternate_start_parameter = {
					key = religion_names
					value = random
				}
			}
		}

		allow = {
			OR = {
				AND = {
					completely_controls = c_khotan
					completely_controls = c_gilgit
					completely_controls = c_balkh
					completely_controls = c_lhasa
					completely_controls = c_purang
					piety >= 1000
				}

				AND = {
					year >= 1100
					piety >= 200
				}
			}
		}

		effect = {
			if = {
				limit = { year >= 1100 }
				prestige = 200
			}
			else = {
				prestige = 500
			}

			custom_tooltip = {
				text = create_dralhas_children_tooltip

				activate_title = {
					title = d_dralhas_children
					status = yes
				}

				create_character = {
					random_traits = no
					dynasty = random
					religion = ROOT
					culture = bodpa
					female = no
					age = 33
					add_trait = brilliant_strategist
					add_trait = zealous
					add_trait = humble
					add_trait = ambitious
					add_trait = strategist
					add_trait = holy_warrior
				}

				new_character = {
					wealth = 500
					grant_title = d_dralhas_children
					set_government_type = feudal_government
					save_event_target_as = leader_of_dralhas

					while = {
						count = 7

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = bodpa
							female = no
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
								1 = { add_age = 3 }
								1 = { add_age = 4 }
								1 = { add_age = 5 }
								1 = { add_age = 6 }
								1 = { add_age = 7 }
								1 = { add_age = 8 }
								1 = { add_age = 9 }
								1 = { add_age = 10 }
								1 = { add_age = 11 }
								1 = { add_age = 12 }
							}
						}
					}

					while = {
						count = 2

						create_character = {
							random_traits = yes
							dynasty = random
							religion = ROOT
							culture = bodpa
							female = yes
							age = 16
						}

						new_character = {
							random_list = {
								1 = { }
								1 = { add_age = 1 }
								1 = { add_age = 2 }
							}
						}
					}
				}

				any_player = {
					limit = {
						OR = {
							religion = bon_pagan_reformed

							capital_scope = {
								OR = {
									region = world_india
									region = world_himalayas
									region = world_steppe
									region = world_persia
									region = world_middle_east
								}
							}
						}
					}

					narrative_event = { id = HF.23018 }
				}
			}
		}

		ai_will_do = {
			factor = 0.3
		}
	}
}