﻿################################################
# START OF SAILENDRA/SHAILENDRA DYNASTY
# concerning Sailendra & Sanjaya dynasties, there may be inconsistencies below
# please note that family ties and dynastic trees of Sailendras/Sanjayas aren't always clear
# {

javanese_sailendra_01 = {
	name = "Selendra"	#Potential founder of Shailendra dynasty
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	591.1.1 = {	#unknown
		birth = yes
	}
	641.1.1 = {	#unknown
		death = yes
	}
}

javanese_sailendra_02 = {
	name = "Shima"
	female = yes
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	father = javanese_sailendra_01
	611.1.1 = {	#unsure
		birth = yes
	}
	630.1.1 = {	#unknown
		add_spouse = javanese_sailendra_02a
	}
	695.1.1 = {	#unsure
		death = yes
	}
}

javanese_sailendra_02a = {
	name = "Kartikeyasingha"
	#dynasty = javanese_sailendra	#prob not, married to Shima Shailendra
	religion = mahayana	#unknown
	culture = javanese
	610.1.1 = {	#unknown
		birth = yes
	}
	674.1.1 = {	#possible
		death = yes
	}
}

javanese_sailendra_03 = {
	name = "Parvati"
	female = yes
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	mother = javanese_sailendra_02
	father = javanese_sailendra_02a
	630.1.1 = {	#unknown
		birth = yes
	}
	650.1.1 = {
		add_spouse = javanese_sailendra_03b
	}
	665.1.1 = {	#unknown
		death = yes
	}
}

javanese_sailendra_03a = {
	name = "Narayana"
	female = yes
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	mother = javanese_sailendra_02
	father = javanese_sailendra_02a
	633.1.1 = {	#unknown
		birth = yes
	}
	695.1.1 = {	#unknown
		death = yes
	}
}

javanese_sailendra_03b = {	#not really a Sailendra
	name = "Suraghana"	#aka Mandiminyak
	#dynasty = Galuh king
	religion = mahayana	#unsure
	culture = javanese
	624.1.1 = {
		birth = yes
	}
	709.1.1 = {
		death = yes
	}
}

javanese_sailendra_04 = {
	name = "Sanna"	#aka Bratasena
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	mother = javanese_sailendra_03
	father = javanese_sailendra_03b
	652.1.1 = {	#unknown
		birth = yes
	}
	717.1.1 = {	#possibly 716 or 717
		death = yes
	}
}

javanese_sailendra_04a = {
	name = "Sannaha"
	female = yes
	dynasty = javanese_sailendra
	religion = mahayana	#unsure
	culture = javanese
	mother = javanese_sailendra_03
	father = javanese_sailendra_03b
	656.1.1 = {	#unknown
		birth = yes
	}
	715.1.1 = {	#unknown
		death = yes
	}
}

javanese_sailendra_05 = {
	name = "Dharanindra"	#aka Indra #possibly Rakai Panaraban, Rakai Panunggalan and/or Rakai Panangkaran. Also possibly "Maharaja Vishnu"
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	trait = education_martial_3
	trait = ambitious
	#father = javanese_sanjaya_02 #possibly Panangkaran ? or he is Panangkaran ? or maybe none of these ?
	745.1.1 = {	#unknown
		birth = yes
	}
	767.1.1 = {	#fic date
		add_spouse = javanese_sailendra_05a
	}
	802.1.1 = {	#maybe 803, may have already been dead in 802
		death = yes
	}
}

javanese_sailendra_05a = {	#wife of Dharanindra, fic data
	name = "Devi_Yasodhara"
	female = yes
	religion = mahayana
	culture = javanese
	748.1.1 = {	#fic
		birth = yes
	}
	818.1.1 = {	#fic
		death = yes
	}
}

javanese_sailendra_06 = {
	name = "Samaratungga"	#possibly same person as Samaragrawira (or Samaratungga is eldest son of Samaragrawira), possibly aka Rakai Warak
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_05	#Dharanindra
	771.1.1 = {	#unknown
		birth = yes
	}
	800.1.1 = {	#unknown
		add_spouse = malay_soma_02	#Devi Tara Dharmasetu Soma
	}
	842.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_07 = {
	name = "Balaputradewa"
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_06	#Samaratungga
	mother = malay_soma_02	#Tara Soma
	806.1.1 = {	#unknown
		birth = yes
	}
	868.1.1 = {	#etimates can vary from 860 to 900
		death = yes
	}
}

javanese_sailendra_08 = {
	name = "Pramodhawardhani"
	female = yes
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_06	#Samaratungga
	mother = malay_soma_02	#Tara Soma
	806.1.1 = {	#unknown
		birth = yes
	}
	856.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_20 = {
	name = "Udayaditya"
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	933.1.1 = {	#unknown
		birth = yes
	}
	980.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_21 = {
	name = "Haji"
	dynasty = javanese_sailendra
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_20	#unsure, maybe not
	957.1.1 = {	#unknown
		birth = yes
	}
	988.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_22 = {
	name = "Cudamani"
	dynasty = javanese_sailendra	#possibly Varmadeva ?
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_20	#unsure, maybe not
	959.1.1 = {	#unknown
		birth = yes
	}
	1008.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_23 = {
	name = "Maravijayottungavarman"
	dynasty = javanese_sailendra	#possibly Varmadeva/Warmadewa ?
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_22	#unsure, maybe not
	981.1.1 = {	#unknown
		birth = yes
	}
	1017.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_24 = {
	name = "Sumatrabhumi"
	dynasty = javanese_sailendra	#unsure
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_21	#unsure, maybe not
	978.1.1 = {	#unknown
		birth = yes
	}
	1025.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_25 = {
	name = "Sangrama_Vijayatunggavarman"
	dynasty = javanese_sailendra	#possibly Varmadeva ?
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_23	#unsure, maybe not
	1001.1.1 = {	#unknown
		birth = yes
	}
	1028.1.1 = {	#possibly
		death = yes
	}
}

javanese_sailendra_26 = {
	name = "Deva"	#Sri Deva
	dynasty = javanese_sailendra	#probably
	religion = mahayana
	culture = javanese
	father = javanese_sailendra_23	#unsure, maybe not
	1003.1.1 = {	#unknown
		birth = yes
	}
	1068.1.1 = {	#unknown, we make it long for gameplay purpose
		death = yes
	}
}

# }
# END OF SAILENDRA/SHAILENDRA DYNASTY
################################################

################################################
# START OF SANJAYA DYNASTY
# offshoot of Sailendra Dyn, possibly the same dyn according to some theories
# {

javanese_sanjaya_01 = {
	name = "Sanjaya"	#aka Rahyangta i Medang
	dynasty_house = house_sailendra_sanjaya	#either branch of Shailendra or Shailendra directly
	religion = shaivism
	culture = javanese
	mother = javanese_sailendra_04a	#Sannaha Sailendra
	trait = education_martial_4
	trait = ambitious
	trait = brave
	679.1.1 = {	#unknown
		birth = yes
	}
	746.10.4 = {	#possible ; other alternative in 760
		death = yes
	}
}

javanese_sanjaya_01a = {
	name = "Rahyangta_i_hara"
	#possible younger brother of Rahyangta i Medang = Sanjaya
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	mother = javanese_sailendra_04a	#Sannaha Sailendra
	691.1.1 = {	#unknown
		birth = yes
	}
	750.1.1 = {	#unknown
		death = yes
	}
}

javanese_sanjaya_02 = {
	name = "Pancapana"	#aka Dyah Pancapana aka Rakai Panangkaran
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_01a	#possibly nephew of Sanjaya
	722.1.1 = {	#unknown
		birth = yes
	}
	746.10.4 = {
		religion = mahayana	#possibly became Buddhist after Sanjaya's death
	}
	784.3.6 = {
		death = yes
	}
}

javanese_sanjaya_03 = {
	name = "Panaraban"	#aka Rakai Panaraban
	#Probably not his real name, but more of a title
	#Some theories say he is Samaratungga
	dynasty_house = house_sailendra_sanjaya
	religion = mahayana
	culture = javanese
	father = javanese_sanjaya_02
	749.1.1 = {	#unknown
		birth = yes
	}
	803.3.3 = {
		death = yes
	}
}

javanese_sanjaya_04 = {
	name = "Manara"	#aka Dyah Manara aka Rakai Warak
	#Some theories say he is Samaragrawira
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_03
	771.1.1 = {	#unknown
		birth = yes
	}
	827.7.26 = {
		death = yes
	}
}

javanese_sanjaya_04a = {
	name = "Gula"	#aka Dyah Gula
	dynasty_house = house_sailendra_sanjaya
	religion = mahayana
	culture = javanese
	father = javanese_sanjaya_04
	793.1.1 = {	#unknown
		birth = yes
	}
	829.2.14 = {
		death = yes
	}
}

javanese_sanjaya_05 = {
	name = "Garung"	#aka Rakai Garung
	#Unlikely to be his real name, probably just a title
	#Some theories say he is Samaratungga, yes, him too
	dynasty_house = house_sailendra_sanjaya
	religion = mahayana
	culture = javanese
	father = javanese_sanjaya_03
	774.1.1 = {	#unknown
		birth = yes
	}
	847.3.6 = {
		death = yes
	}
}

javanese_sanjaya_06 = {
	name = "Saladu"	#aka Dyah Saladu aka Rakai Pikatan
	#Guess who he might be according to some theories ? Yes, Samaratungga again
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_05
	799.1.1 = {	#unknown
		birth = yes
	}
	824.1.1 = {	#unknown
		add_spouse = javanese_sailendra_08	#Pramodhawardhani
	}
	855.4.27 = {
		death = yes
	}
}

javanese_sanjaya_07 = {
	dna = bookmark_dna_lokapala
	name = "Lokapala"	#aka Dyah Lokapala aka Rakai Kayuwangi
	dynasty_house = house_sailendra_sanjaya
	religion = vaishnavism
	culture = javanese
	father = javanese_sanjaya_06
	mother = javanese_sailendra_08
	diplomacy = 3
	martial = 4
	stewardship = 5
	intrigue = 3
	learning = 2
	trait = education_martial_3
	trait = brave
	trait = ambitious
	trait = generous
	sexuality = heterosexual
	827.1.1 = {	#unknown
		birth = yes
	}
	885.2.17 = {
		death = yes
	}
}

javanese_sanjaya_07a = {
	name = "Saladu"
	#possibly elder brother of Lokapala
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_06
	mother = javanese_sailendra_08
	823.1.1 = {	#unknown
		birth = yes
	}
	878.1.1 = {	#unknown
		death = yes
	}
}

javanese_sanjaya_08 = {
	name = "Tagwas"	#aka Dyah Tagwas
	#Low info about him
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	871.1.1 = {	#unknown
		birth = yes
	}
	885.8.25 = {	#unsure
		death = yes
	}
}

javanese_sanjaya_09 = {
	name = "Dewendra"	#aka Dyah Dewendra aka Rakai Panumwangan
	#Low info about him
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	840.1.1 = {	#unknown
		birth = yes
	}
	887.1.18 = {	#unsure
		death = yes
	}
}

javanese_sanjaya_10 = {
	name = "Bhadra"	#aka Dyah Bhadra aka Rakai Gurunwangi
	#Low info about him
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	854.1.1 = {	#unknown
		birth = yes
	}
	894.11.21 = {	#probably rather in 887
	#we fudge his DoD to make title history work a bit better + he's unplayable + it's in unclear data period of time
		death = yes
	}
}

javanese_sanjaya_11 = {
	name = "Jbang"	#aka Dyah Jbang aka Rakai Watuhumalang
	#Low info about him
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	844.1.1 = {	#unknown
		birth = yes
	}
	898.5.10 = {	#possible
		death = yes
	}
}

javanese_sanjaya_12 = {
	name = "Balitung"	#aka Dyah Balitung aka Rakai Watukura
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	857.1.1 = {	#unknown
		birth = yes
	}
	910.12.21 = {	#possible
		death = yes
	}
}

javanese_sanjaya_13 = {
	name = "Mpu_Daksa"	#aka Dyah Daksottama
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_11
	865.1.1 = {	#unknown
		birth = yes
	}
	919.7.12 = {	#possible
		death = yes
	}
}

javanese_sanjaya_13a = {
	name = "Layang"
	female = yes
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_13
	887.1.1 = {	#unknown
		birth = yes
	}
	919.7.12 = {	#unknown
		death = yes
	}
}

javanese_sanjaya_14 = {
	name = "Tulodong"	#aka Dyah Tulodong / Tlodhong
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	884.1.1 = {	#unknown
		birth = yes
	}
	906.1.1 = {
		add_spouse = javanese_sanjaya_13a	#maybe
	}
	927.3.7 = {	#possible
		death = yes
	}
}

javanese_sanjaya_15 = {
	name = "Wawa"	#aka Dyah Wawa aka Rakai Pangkaja
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	873.1.1 = {	#unknown
		birth = yes
	}
	929.3.24 = {	#possible
		death = yes
	}
}

javanese_sanjaya_15a = {
	name = "Parameswari"	#aka Dyah Kebi
	female = yes
	dynasty_house = house_sailendra_sanjaya
	culture = javanese
	religion = shaivism
	father = javanese_sanjaya_15	#Dyah Wawa
	895.1.1 = {	#Unknown
		birth = yes
	}
	958.1.1 = {	#Unknown
		death = yes
	}
}

javanese_sanjaya_16 = {
	name = "Tamperan"	#king of Sunda-Galuh, son of Sanjaya
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_01	#Sanjaya
	699.1.1 = {	#unknown
		birth = yes
	}
	739.1.1 = {	#possible
		death = yes
	}
}

javanese_sanjaya_17 = {
	name = "Manarah"
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_16
	719.1.1 = {
		birth = yes
	}
	798.1.1 = {
		death = yes
	}
}

javanese_sanjaya_18 = {
	name = "Banga"
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_16
	723.1.1 = {
		birth = yes
	}
	766.1.1 = {	#possibly
		death = yes
	}
}

javanese_sanjaya_19 = {
	name = "Hulukujang"	#aka Hujungkujang
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_18
	745.1.1 = {	#unknown
		birth = yes
	}
	783.1.1 = {	#possibly
		death = yes
	}
}

javanese_sanjaya_20 = {
	name = "Samatha"	#unsure
	female = yes
	dynasty_house = house_sailendra_sanjaya
	religion = shaivism
	culture = javanese
	father = javanese_sanjaya_19
	765.1.1 = {	#unknown
		birth = yes
	}
	831.1.1 = {	#unknown
		death = yes
	}
}

# }
# END OF SANJAYA DYNASTY
################################################

################################################
# START OF ISHANA DYNASTY
# {

javanese_ishana_01 = {
	name = "Mpu_Sindok"	#Dyah Sinok / Dyah Sindok
	dynasty = javanese_ishana
	culture = javanese
	religion = "vaishnavism"
	892.1.1 = {	#unknown
		birth = yes
	}
	914.1.1 = {	#unknown
		add_spouse = javanese_sanjaya_15a
	}
	947.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_02 = {
	name = "Ishana"	#aka Isyana / Ishanatunga
	female = yes
	dynasty = javanese_ishana
	culture = javanese
	religion = "vaishnavism"
	father = javanese_ishana_01
	mother = javanese_sanjaya_15a
	917.1.1 = {	#unknown
		birth = yes
	}
	985.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_02a = {
	name = "Lokpala"
	#husband of Ishana, fic data
	culture = javanese
	religion = "vaishnavism"
	915.1.1 = {	#unknown
		birth = yes
	}
	956.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_03 = {
	name = "Makutawangsa"
	dynasty = javanese_ishana
	culture = javanese
	religion = "vaishnavism"
	father = javanese_ishana_02a
	mother = javanese_ishana_02
	936.1.1 = {	#unknown
		birth = yes
	}
	990.1.1 = {	#tentative
		death = yes
	}
}

javanese_ishana_04 = {
	name = "Dharmawangsa"
	dynasty = javanese_ishana
	culture = javanese
	religion = "vaishnavism"
	father = javanese_ishana_03
	959.1.1 = {	#unknown
		birth = yes
	}
	1016.1.1 = {	#likely
		death = yes
	}
}

javanese_ishana_04a = {
	#daughter of Dharmawangsa, wife of Airlangga
	name = "Dharmaprasadottungadewi"
	female = yes
	dynasty = javanese_ishana
	culture = javanese
	religion = "vaishnavism"
	father = javanese_ishana_04
	992.1.1 = {	#unknown
		birth = yes
	}
	1059.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_05 = {	#mother of Airlangga
	name = "Mahendradatta"
	female = yes
	dynasty = javanese_ishana
	culture = javanese
	religion = "kalikula_shaktism"	#faitfhul of Durga
	father = javanese_ishana_03
	trait = education_learning_3
	trait = vengeful
	trait = fornicator	#She might scandalously have had other relations before Udyana, and there are some speculations around Airlangga
	trait = witch	#she's associated with Rangda, which is pretty fun
	961.1.1 = {
		birth = yes
	}
	1011.1.1 = {
		death = yes
	}
}

javanese_ishana_06 = {
	name = "Airlangga"
	dynasty = javanese_ishana
	religion = vaishnavism
	culture = javanese
	father = javanese_warmadewa_06	#Udayana
	mother = javanese_ishana_05	#Mahendradatta Ishana
	991.1.1 = {
		birth = yes
	}
	1010.1.1 = {	#unknown
		add_spouse = javanese_ishana_04a
	}
	1049.1.1 = {
		death = yes
	}
}

javanese_ishana_07 = {
	name = "Sanggramawijaya"	#Sanggramawijaya Tunggadewi
	female = yes
	dynasty = javanese_ishana
	religion = mahayana
	culture = javanese
	father = javanese_ishana_06	#Airlangga
	mother = javanese_ishana_04a	#maybe
	trait = education_learning_3
	1011.1.1 = {	#unknown
		birth = yes
	}
	1079.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_08 = {
	name = "Samarawijaya"	#Sri Samarawijaya
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_06	#Airlangga
	mother = javanese_ishana_04a	#maybe
	1012.1.1 = {	#unknown
		birth = yes
	}
	1051.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_09 = {
	name = "Mapanji_Garasakan"	#Mapanji Garasakan
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_06	#Airlangga
	mother = javanese_ishana_04a	#maybe
	1014.1.1 = {	#unknown
		birth = yes
	}
	1053.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_09a = {
	name = "Mapanji_Garasakan"	#Alanjung Ahyes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_09
	1033.1.1 = {	#unknown
		birth = yes
	}
	1071.1.1 = {	#inknown
		death = yes
	}
}

javanese_ishana_10 = {
	name = "Samarotsaha"	#Samarotsaha
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_06	#Airlangga
	mother = javanese_ishana_04a	#maybe
	1017.1.1 = {	#unknown
		birth = yes
	}
	1072.1.1 = {	#not before 1059
		death = yes
	}
}

javanese_ishana_11 = {
	name = "Jitendrakara"	#Sri Jitendrakara
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_08	#Samarawijaya, maybe not, we're stretching here
	1034.1.1 = {	#unknown
		birth = yes
	}
	1112.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_12 = {
	name = "Bameswara"	#Sri Bameswara
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_11	#Jitendrakara, maybe not, we're stretching here
	1065.1.1 = {	#unknown
		birth = yes
	}
	1135.1.1 = {	#possibly
		death = yes
	}
}

javanese_ishana_13 = {
	name = "Jayabhaya"	#Sri Warmmeswara
	dynasty = javanese_ishana
	religion = vaishnavism
	culture = javanese
	trait = education_stewardship_3
	trait = just
	1101.1.1 = {	#unknown
		birth = yes
	}
	#1159 abdicates
	1179.1.1 = {
		death = yes
	}
}

javanese_ishana_13a = {
	name = "Dewi_Sara"	#wife of Jayabhaya
	female = yes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	1105.1.1 = {	#unknown
		birth = yes
	}
	1173.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_13b = {
	name = "Jaya_Amijaya"	#daughter of Jayabhaya
	female = yes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_13
	mother = javanese_ishana_13a
	1127.1.1 = {	#unknown
		birth = yes
	}
	1196.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_13c = {
	name = "Dewi_Pramesti"	#daughter of Jayabhaya
	female = yes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_13
	mother = javanese_ishana_13a
	1129.1.1 = {	#unknown
		birth = yes
	}
	1193.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_13d = {
	name = "Dewi_Pramuni"	#daughter of Jayabhaya
	female = yes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_13
	mother = javanese_ishana_13a
	1130.1.1 = {	#unknown
		birth = yes
	}
	1196.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_13e = {
	name = "Dewi_Sasanti"	#daughter of Jayabhaya
	female = yes
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_13
	mother = javanese_ishana_13a
	1132.1.1 = {	#unknown
		birth = yes
	}
	1202.1.1 = {	#unknown
		death = yes
	}
}

javanese_ishana_14 = {
	name = "Sarweswara"	#Sri Sarweswara
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	1128.1.1 = {	#unknown
		birth = yes
	}
	1169.1.1 = {
		death = yes
	}
}

javanese_ishana_15 = {
	name = "Aryeswara"	#Sri Aryeswara
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_13	#Jayabhaya, maybe
	mother = javanese_ishana_13a	#maybe
	1131.1.1 = {	#unknown
		birth = yes
	}
	1181.1.1 = {
		death = yes
	}
}

javanese_ishana_16 = {
	name = "Gandra"	#Sri Gandra
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	1138.1.1 = {	#unknown
		birth = yes
	}
	1182.1.1 = {	#unsure
		death = yes
	}
}

javanese_ishana_19 = {
	name = "Mahadewi"	#Sri wijaya Mahadewi, queen of Bali
	female = yes
	dynasty = javanese_ishana	#unsure, she might have been from Srivijaya
	culture = javanese
	religion = "vaishnavism"
	939.1.1 = {
		birth = yes
	}
	989.1.1 = {
		death = yes
	}
}

javanese_ishana_20_fic = {	#fictional
	name = "Wirawan"
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_10	#Samarotsaha
	1042.4.27 = {	#unknown
		birth = yes
	}
	1106.11.8 = {	#unknown
		death = yes
	}
}

javanese_ishana_21_fic = {	#fictional
	name = "Sumitra"
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_20_fic
	1065.2.20 = {	#unknown
		birth = yes
	}
	1120.6.19 = {	#unknown
		death = yes
	}
}

javanese_ishana_22_fic = {	#fictional
	name = "Wiryadi"
	dynasty = javanese_ishana
	religion = shaivism
	culture = javanese
	father = javanese_ishana_21_fic
	1095.12.7 = {
		birth = yes
	}
	1146.5.13 = {
		death = yes
	}
}

# }
# END OF ISHANA DYNASTY
################################################

################################################
# START OF WARMADEWA DYNASTY
# aka Varmadeva ; kings of Bali
# They may not have been all related to each other
# {

javanese_warmadewa_01 = {
	name = "Kesari"
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "mahayana"
	851.1.1 = {	#unknown
		birth = yes
	}
	914.1.1 = {	#estimated
		death = yes
	}
}

javanese_warmadewa_02 = {
	name = "Ugrasena"
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	884.1.1 = {	#unknown
		birth = yes
	}
	945.1.1 = {	#estimated
		death = yes
	}
}

javanese_warmadewa_03 = {
	name = "Tabanendra"
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	919.1.1 = {	#unknown
		birth = yes
	}
	961.1.1 = {	#possible
		death = yes
	}
}

javanese_warmadewa_04 = {
	name = "Indrajayasingha"
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	924.1.1 = {	#unknown
		birth = yes
	}
	975.1.1 = {	#unknown
		death = yes
	}
}

javanese_warmadewa_05 = {
	name = "Janasadhu"
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	946.1.1 = {	#unknown
		birth = yes
	}
	983.1.1 = {	#possible
		death = yes
	}
}

javanese_warmadewa_06 = {
	name = "Udayana"	#aka Dharma Udayana
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	960.1.1 = {	#unknown
		birth = yes
	}
	990.1.1 = {
		add_spouse = javanese_ishana_05
	}
	1011.1.1 = {	#possible
		death = yes
	}
}

javanese_warmadewa_07 = {
	name = "Ajnadewi"
	female = yes
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "shaivism"
	975.1.1 = {	#unknown
		birth = yes
	}
	1038.1.1 = {	#unknown
		death = yes
	}
}

#Airlangga, set in Ishana dynasty, bro of Marakata Pangkaja & Anak Wungsu

javanese_warmadewa_08 = {
	name = "Marakata_Pangkaja"	#aka Dharmawangsa Wardhana Marakatapangkaja
	dynasty = javanese_warmadewa
	culture = javanese
	religion = "vaishnavism"
	father = javanese_warmadewa_06	#Udayana
	mother = javanese_ishana_05	#Mahendradatta Ishana
	trait = education_stewardship_3
	993.1.1 = { #unknown, after Airlangga
		birth = yes
	}
	1025.1.1 = {	#likely
		death = yes
	}
}

javanese_warmadewa_09 = {
	name = "Anak_Wungsu"
	dynasty = javanese_warmadewa
	culture = "javanese"
	religion = "vaishnavism"
	father = javanese_warmadewa_06	#Udayana
	mother = javanese_ishana_05	#Mahendradatta Ishana
	trait = compassionate
	trait = generous
	1000.1.1 = {	#unknown
		birth = yes
	}
	1025.1.1 = {
		add_spouse = javanese_warmadewa_09a
	}
	1077.1.1 = {	#likely
		death = yes
	}
}

javanese_warmadewa_09a = {	#wife of Anak Wungsu
	name = "Batari_Mandul"
	female = yes
	culture = "javanese"
	religion = "vaishnavism"
	1005.1.1 = {	#unknown
		birth = yes
	}
	1069.1.1 = {	#unknown
		death = yes
	}
}

javanese_warmadewa_10 = {
	name = "Walaprabhu"
	dynasty = javanese_warmadewa
	culture = "javanese"
	religion = "vaishnavism"
	trait = generous
	1043.1.1 = {	#unknown
		birth = yes
	}
	1088.1.1 = {	#unknown
		death = yes
	}
}

javanese_warmadewa_11 = {
	name = "Laksmidhara"
	#aka Sri Maharaja Sakalendujirana Laksmidhara Wijayottungadewi
	female = yes
	dynasty = javanese_warmadewa
	culture = "javanese"
	religion = "vaishnavism"
	1056.1.1 = {	#unknown
		birth = yes
	}
	1115.1.1 = {	#unknown
		death = yes
	}
}

javanese_warmadewa_12 = {
	name = "Suradhipa"
	dynasty = javanese_warmadewa
	culture = "javanese"
	religion = "vaishnavism"
	1071.1.1 = {	#unknown
		birth = yes
	}
	1119.1.1 = {	#possibly
		death = yes
	}
}

######## Jaya "dynasty", may be offshoot or different name of Warmadewa dyn, or might just be completely the same
javanese_warmadewa_13 = {
	name = "Jayasakti"
	dynasty_house = house_warmadewa_jaya
	culture = "javanese"
	religion = "vaishnavism"
	1094.1.1 = {	#unknown
		birth = yes
	}
	1150.1.1 = {	#tentative
		death = yes
	}
}

javanese_warmadewa_14 = {
	name = "Ragajaya"
	dynasty_house = house_warmadewa_jaya
	culture = "javanese"
	religion = "vaishnavism"
	1126.1.1 = {	#unknown
		birth = yes
	}
	1178.1.1 = {	#tentative
		death = yes
	}
}

javanese_warmadewa_15 = {
	name = "Jayapangus"
	dynasty_house = house_warmadewa_jaya
	culture = "javanese"
	religion = "vaishnavism"
	trait = education_learning_3
	trait = just
	1128.1.1 = {	#unknown
		birth = yes
	}
	1181.1.1 = {	#possible
		death = yes
	}
}

javanese_warmadewa_16 = {
	name = "Arjayadengjayaketana"
	female = yes
	dynasty_house = house_warmadewa_jaya
	culture = "javanese"
	religion = "vaishnavism"
	father = javanese_warmadewa_15	#possibly
	1151.1.1 = {	#unknown
		birth = yes
	}
	1200.1.1 = {	#possibly
		death = yes
	}
}

# }
# END OF WARMADEWA DYNASTY
################################################

################################################
# START OF SILIWANGI DYNASTY
# One of the characters of this line is attributed to Siliwangi dynasty, a reference to a semi-legendary ruler of Sunda
# Probably not very historical
# {

javanese_siliwangi_0 = {
	name = "Wulung_Gadung"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	922.1.1 = {	#started ruling in 973
		birth = yes
	}
	939.1.1 = {	#unknown
		add_spouse = javanese_manisri_18
	}
	989.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_00 = {
	name = "Brajawisesa"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_0
	mother = javanese_manisri_18
	939.1.1 = {	#started ruling in 989
		birth = yes
	}
	1012.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_000 = {
	name = "Dewa_Sanghyang"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_00
	959.1.1 = {	#started ruling in 1012
		birth = yes
	}
	1019.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_01 = {
	name = "Sanghyang_Ageung"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_000
	978.1.1 = {	#started ruling in 1019
		birth = yes
	}
	1030.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_02 = {
	name = "Jayabhupati"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_01
	998.1.1 = {	#started ruling in 1030
		birth = yes
	}
	1042.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_03 = {
	name = "Darmaraja"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_02
	1019.1.1 = {	#started ruling in 1042
		birth = yes
	}
	1065.1.1 = {	#end of reign
		death = yes
	}
}

javanese_siliwangi_04 = {
	name = "Langlangbhumi"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_03
	1049.1.1 = {	#started ruling in 1064/1065
		birth = yes
	}
	1081.1.1 = {	#unknown
		add_spouse = javanese_siliwangi_04w
	}
	1116.1.1 = {	#unknown ; reported to have ruled until 1155, which seem almost impossible
		death = yes
	}
}

javanese_siliwangi_04w = {
	name = "Dewi_Puspawati"
	female = yes
	culture = javanese
	religion = shaivism
	1061.1.1 = {	#unknown
		birth = yes
	}
	1118.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_04a = {
	name = "Darmanagara"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_03
	1046.1.1 = {	#unknown
		birth = yes
	}
	1090.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_04b = {
	name = "Wirayuda"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_03
	1050.1.1 = {	#unknown
		birth = yes
	}
	1102.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_05 = {
	name = "Jayagiri"
	#some info say they're male, some say they're female
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_04
	mother = javanese_siliwangi_04w
	1089.1.1 = {	#unknown, her reported father has an impossible reported timeline
		birth = yes
	}
	1157.1.1 = {	#possibly
		death = yes
	}
}

javanese_siliwangi_06 = {
	name = "Darmakusuma"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_05
	1119.1.1 = {
		birth = yes
	}
	1175.1.1 = {
		death = yes
	}
}

javanese_siliwangi_07 = {
	name = "Darmasiksa"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_06
	1145.1.1 = {	#unknown
		birth = yes
	}
	1168.1.1 = {
		add_concubine = javanese_siliwangi_07a
	}
	1170.1.1 = {
		add_concubine = javanese_siliwangi_07b
	}
	1170.1.1 = {
		add_concubine = javanese_siliwangi_07c
	}
	1202.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_07a = {
	name = "Saunggalah"
	female = yes
	culture = javanese
	religion = shaivism
	1148.1.1 = {	#unknown
		birth = yes
	}
	1207.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_08a = {
	name = "Purana"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_07
	mother = javanese_siliwangi_07a
	1169.1.1 = {	#unknown
		birth = yes
	}
	1224.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_07b = {
	name = "Darmageng"
	female = yes
	culture = javanese
	religion = shaivism
	1150.1.1 = {	#unknown
		birth = yes
	}
	1213.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_08b = {
	name = "Ragasuci"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_07
	mother = javanese_siliwangi_07b
	1170.1.1 = {	#unknown
		birth = yes
	}
	1227.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_07c = {
	name = "Suprabha"
	female = yes
	culture = javanese
	religion = shaivism
	1146.1.1 = {	#unknown
		birth = yes
	}
	1206.1.1 = {	#unknown
		death = yes
	}
}

javanese_siliwangi_08c = {
	name = "Jayagiri"
	dynasty = javanese_siliwangi
	culture = javanese
	religion = shaivism
	father = javanese_siliwangi_07
	mother = javanese_siliwangi_07c
	1171.1.1 = {	#unknown
		birth = yes
	}
	1215.1.1 = {	#unknown
		death = yes
	}
}

# }
# END OF SILIWANGI DYNASTY
################################################

################################################
# START OF MANISRI DYNASTY
# Unsure of the dynasties for Galuh rulers post-Sanjaya
# One of the possible rulers for Galuh 784-800 would be Manisri, associated with a Sundanese folk tale, so it's sketchy
# We're using Manisri's name for the dynasty of Galuh rulers 800-1152, since data about them is scarce
# These rulers may be somewhat historical, hard to judge because data isn't clear
# =>They should be though of "mostly-historical" I suppose
# {

javanese_manisri_01 = {
	name = "Tariwulan"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	744.1.1 = {	#unknown
		birth = yes
	}
	806.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_02 = {
	name = "Welengsa"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_01
	769.1.1 = {	#unknown
		birth = yes
	}
	813.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_03 = {
	name = "Linggabhumi"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_02
	793.1.1 = {	#unknown
		birth = yes
	}
	852.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_04 = {
	name = "Wisuddha"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_03
	824.1.1 = {	#unknown
		birth = yes
	}
	897.1.1 = {	#supposedly ~920, which seems unlikely
		death = yes
	}
}

javanese_manisri_05 = {
	name = "Jayadrata"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	884.1.1 = {	#unknown
		birth = yes
	}
	949.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_06 = {
	name = "Harimurtii"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	mother = javanese_manisri_05
	907.1.1 = {	#unknown
		birth = yes
	}
	966.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_07 = {
	name = "Yuddhanagara"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_06
	931.1.1 = {	#unknown
		birth = yes
	}
	988.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_08 = {
	name = "Linggasakti"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	mother = javanese_manisri_07
	952.1.1 = {	#unknown
		birth = yes
	}
	1012.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_09 = {
	name = "Darmastyadewa"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	mother = javanese_manisri_08
	974.1.1 = {	#unknown
		birth = yes
	}
	1027.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_10 = {
	name = "Arya_Tunggalningrat"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	1040.1.1 = {	#unknown
		birth = yes
	}
	1091.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_11 = {
	name = "Purnawijaya"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_10
	1063.1.1 = {	#unknown
		birth = yes
	}
	1111.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_12 = {
	name = "Janawati"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	mother = javanese_manisri_11
	1089.1.1 = {	#unknown
		birth = yes
	}
	1152.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_13 = {
	#son of Welengsa, brother of Linggabhumi
	name = "Darmaraksu"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_02
	799.1.1 = {	#unknown/sketchy
		birth = yes
	}
	818.1.1 = {	#unknown
		add_spouse = javanese_gilingwesi_05
	}
	865.1.1 = {	#unknown/sketchy
		death = yes
	}
}

javanese_manisri_14 = {
	name = "Dewageng"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_13
	mother = javanese_gilingwesi_05
	839.1.1 = {	#unknown/sketchy
		birth = yes
	}
	913.1.1 = {	# reported end of reign
		death = yes
	}
}

javanese_manisri_15 = {
	name = "Kamuning_Gading"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_14
	864.1.1 = {	#unknown
		birth = yes
	}
	916.1.1 = {	#end of reign
		death = yes
	}
}

javanese_manisri_16 = {
	name = "Jayagiri"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_14
	867.1.1 = {	#unknown
		birth = yes
	}
	942.1.1 = {	#end of reign
		death = yes
	}
}

javanese_manisri_16a = {
	name = "Melati"	#ficitonal name
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_16
	896.1.1 = {	#unknown
		birth = yes
	}
	963.1.1 = {	#unknown
		death = yes
	}
}

javanese_manisri_17 = {
	name = "Limbur_Kancana"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_15
	903.1.1 = {	#unknown
		birth = yes
	}
	964.1.1 = {	#end of reign
		death = yes
	}
}

javanese_manisri_18 = {
	name = "Dewi_Somya"
	female = yes
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_17
	922.1.1 = {
		birth = yes
	}
	990.1.1 = {
		death = yes
	}
}

javanese_manisri_19 = {
	name = "Mundig_Ganawirya"
	dynasty = javanese_manisri
	culture = javanese
	religion = shaivism
	father = javanese_manisri_17
	929.1.1 = {	#unknown
		birth = yes
	}
	973.1.1 = {	#end of reign
		death = yes
	}
}

# }
# END OF MANISRI DYNASTY
################################################

################################################
# START OF OTHER SUNDA DYNASTY
# Regal History of Sunda is a bit tricky to sift through, and lots of characters have very sketchy data
# ...including their dynasties which aren't very clear
# In this section, we add fictional dynasty Gilingwesi for mostly-historical rulers of Sunda
# {

javanese_gilingwesi_01 = {
	name = "Gilingwesi"
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	747.1.1 = {	#started ruled ~783
		birth = yes
	}
	795.1.1 = {	#end of reign
		death = yes
	}
}

javanese_gilingwesi_02 = {
	name = "Laksmidhara"	#fictional name
	female = yes
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	father = javanese_gilingwesi_01
	767.1.1 = {
		birth = yes
	}
	834.1.1 = {
		death = yes
	}
}


javanese_gilingwesi_03 = {
	name = "Darmeswara"	#Pucukbhumi Darmeswara
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	764.1.1 = {		#started ruled ~795
		birth = yes
	}
	800.1.1 = {
		add_spouse = javanese_gilingwesi_02
	}
	819.1.1 = {	#end of reign
		death = yes
	}
}

javanese_gilingwesi_04 = {
	name = "Wuwus"
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	father = javanese_gilingwesi_03
	mother = javanese_gilingwesi_02
	794.1.1 = {		#started ruled ~819
		birth = yes
	}
	863.1.1 = {	#alledged end of reign in 891, seems wrong
		death = yes
	}
}

javanese_gilingwesi_05 = {
	name = "Juwita"	#fictional name
	female = yes
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	father = javanese_gilingwesi_03
	mother = javanese_gilingwesi_02
	800.1.1 = {
		birth = yes
	}
	862.1.1 = {
		death = yes
	}
}

javanese_gilingwesi_06 = {
	name = "Atmayadarma_Hariwangsa"
	dynasty = javanese_gilingwesi
	culture = javanese
	religion = shaivism
	father = javanese_gilingwesi_03
	mother = javanese_gilingwesi_02
	895.1.1 = {	#unknown
		birth = yes
	}
	913.1.1 = {
		add_spouse = javanese_manisri_16a
	}
	954.1.1 = {	#end of reign
		death = yes
	}
}

# }
# END OF OTHER SUNDA DYNASTIES
################################################

################################################
# START OF YAVAKADVIPA PLACEHOLDER RULERS
# {

#Bali
javanese_bali_01_fic = {	#fictional Bali ruler 867
	name = "Kayuwangi"
	dynasty = javanese_baronga
	culture = "javanese"
	religion = "shaivism"
	836.8.20 = {
		birth = yes
	}
	887.5.12 = {
		death = yes
	}
}

#Lumajang
javanese_lumajang_01_fic = {	#fictional Lumajang ruler 867
	name = "Jebang"
	dynasty = javanese_bukitpasir
	culture = "javanese"
	religion = "shaivism"
	839.5.15 = {
		birth = yes
	}
	886.2.19 = {
		death = yes
	}
}

javanese_lumajang_02_fic = {	#fictional
	name = "Nirwan"
	dynasty = javanese_sminingrat
	religion = shaivism
	culture = javanese
	1102.9.10 = {
		birth = yes
	}
	1154.10.19 = {
		death = yes
	}
}

javanese_lumajang_03_fic = {	#fictional
	name = "Nugraha"
	dynasty = javanese_sminingrat
	religion = shaivism
	culture = javanese
	father = javanese_lumajang_02_fic
	1127.3.20 = {
		birth = yes
	}
	1175.11.7 = {
		death = yes
	}
}

javanese_lumajang_04_fic = {	#fictional
	name = "Suria"
	dynasty = javanese_sminingrat
	religion = shaivism
	culture = javanese
	father = javanese_lumajang_03_fic
	1157.4.9 = {
		birth = yes
	}
	1206.8.11 = {
		death = yes
	}
}

#Madura
javanese_madura_01_fic = {	#fictional Madura ruler 867
	name = "Wira"
	dynasty = javanese_wedhijo
	culture = "javanese"
	religion = "shaivism"
	830.5.21 = {
		birth = yes
	}
	874.9.18 = {
		death = yes
	}
}

javanese_madura_10_fic = {	#fictional Madura ruler 1066
	name = "Mahadewi"
	female = yes
	dynasty = javanese_wedhijo
	culture = "javanese"
	religion = "shaivism"
	1043.6.21 = {
		birth = yes
	}
	1095.7.13 = {
		death = yes
	}
}

javanese_madura_20_fic = {	#fictional Madura ruler 1178
	name = "Cahaya"
	dynasty = javanese_wedhijo
	culture = "javanese"
	religion = "shaivism"
	1147.1.26 = {
		birth = yes
	}
	1197.3.19 = {
		death = yes
	}
}

#Lombok & Sumbawa (Bima/Mbojo kingdom)
javanese_mbojo_01_fic = {
	name = "Welengsa"
	dynasty = javanese_mbojo
	religion = vaishnavism
	culture = javanese
	834.11.3 = {
		birth = yes
	}
	879.5.16 = {
		death = yes
	}
}

javanese_mbojo_10_fic = {
	name = "Gula"
	dynasty = javanese_mbojo
	religion = vaishnavism
	culture = javanese
	1037.2.25 = {
		birth = yes
	}
	1076.8.17 = {
		death = yes
	}
}

javanese_mbojo_20_fic = {
	name = "Wawa"
	dynasty = javanese_mbojo
	religion = vaishnavism
	culture = javanese
	1138.6.21 = {
		birth = yes
	}
	1183.7.9 = {
		death = yes
	}
}

# }
# END OF YAVAKADVIPA PLACEHOLDER RULERS
################################################

mpu_bharada_1 = { # Landless Scholar/Monk adventurer
	name = "Mpu_Bharada"
	dynasty = hchar_bharada
	religion = shaivism
	culture = javanese
	trait = education_learning_3
	trait = lifestyle_mystic
	trait = patient
	trait = calm 
	trait = just
	1035.1.1 = {
		birth = yes
		effect = {
			add_character_flag = do_not_generate_starting_family
		}
	}
	1099.1.1 = {
		death = yes
	}
}

lembong_1 = {
	name = "Lembong"
	dynasty = hchar_candala
	religion = "shaivism"
	culture = "javanese"
	trait = education_intrigue_3
	trait = deceitful
	trait = ambitious
	trait = callous
	trait = intellect_good_1
	1152.1.1 = {
		birth = yes
		effect = {
			add_character_flag = do_not_generate_starting_family
		}
	}
	1200.1.1 = {
		death = yes
	}
}
