government = despotic_monarchy
mercantilism = 0.1
primary_culture = malayan
religion = sunni
technology_group = chinese
capital = 595	# Perak

# Melaka Dynasty

1528.1.1 = {
	monarch = {
		name = "Muzaffar Shâh I"
		dynasty = "Melaka"
		adm = 3
		dip = 3
		mil = 3
	}
	add_piety = 0.1
}

1528.1.1 = {
	heir = {
		name = "Mansûr Shâh"
		monarch_name = "Mansûr Shâh"
		dynasty = "Melaka"
		birth_date = 1510.1.1
		death_Date = 1577.1.1
		claim = 95
		adm = 3
		dip = 3
		mil = 2
	}
}

1549.1.1 = {
	monarch = {
		name = "Mansûr Shâh"
		dynasty = "Melaka"
		adm = 3
		dip = 3
		mil = 2
	}
}

1549.1.1 = {
	heir = {
		name = "Ahmad Tajuddin Shâh"
		monarch_name = "Ahmad Tajuddin Shâh"
		dynasty = "Melaka"
		birth_date = 1535.1.1
		death_Date = 1584.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 3
	}
}

1577.1.1 = {
	monarch = {
		name = "Ahmad Tajuddin Shâh"
		dynasty = "Melaka"
		adm = 2
		dip = 2
		mil = 3
	}
}

1577.1.1 = {
	heir = {
		name = "Tajul Ariffin Shâh"
		monarch_name = "Tajul Ariffin Shâh"
		dynasty = "Melaka"
		birth_date = 1560.1.1
		death_Date = 1594.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 3
	}
}

1584.1.1 = {
	monarch = {
		name = "Tajul Ariffin Shâh"
		dynasty = "Melaka"
		adm = 2
		dip = 2
		mil = 3
	}
}

1584.1.1 = {
	heir = {
		name = "Alauddin Shâh"
		monarch_name = "Alauddin Shâh"
		dynasty = "Melaka"
		birth_date = 1572.1.1
		death_Date = 1609.1.1
		claim = 95
		adm = 3
		dip = 2
		mil = 3
	}
}

1594.1.1 = {
	monarch = {
		name = "Alauddin Shâh"
		dynasty = "Melaka"
		adm = 3
		dip = 2
		mil = 3
	}
}

1594.1.1 = {
	heir = {
		name = "Mukaddam Shâh"
		monarch_name = "Mukaddam Shâh"
		dynasty = "Melaka"
		birth_date = 1590.1.1
		death_Date = 1619.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 2
	}
}

1609.1.1 = {
	monarch = {
		name = "Mukaddam Shâh"
		dynasty = "Melaka"
		adm = 2
		dip = 2
		mil = 2
	}
}

1609.1.1 = {
	heir = {
		name = "Mansûr Shâh"
		monarch_name = "Mansûr Shâh II"
		dynasty = "Melaka"
		birth_date = 1600.1.1
		death_Date = 1627.1.1
		claim = 95
		adm = 2
		dip = 1
		mil = 2
	}
}

1619.1.1 = {
	monarch = {
		name = "Mansûr Shâh II"
		dynasty = "Melaka"
		adm = 2
		dip = 1
		mil = 2
	}
}

1619.1.1 = {
	heir = {
		name = "Mahmûd Shâh"
		monarch_name = "Mahmûd Shâh"
		dynasty = "Melaka"
		birth_date = 1614.1.1
		death_Date = 1630.1.1
		claim = 95
		adm = 2
		dip = 1
		mil = 1
	}
}

1627.1.1 = {
	monarch = {
		name = "Mahmûd Shâh"
		dynasty = "Melaka"
		adm = 2
		dip = 1
		mil = 1
	}
}

1627.1.1 = {
	heir = {
		name = "Sallehuddin Shâh"
		monarch_name = "Sallehuddin Shâh"
		dynasty = "Melaka"
		birth_date = 1620.1.1
		death_Date = 1635.1.1
		claim = 95
		adm = 1
		dip = 1
		mil = 0
	}
}

1630.1.1 = {
	monarch = {
		name = "Sallehuddin Shâh"
		dynasty = "Melaka"
		adm = 1
		dip = 1
		mil = 0
	}
}

# Siak Dynasty

1635.1.1 = {
	monarch = {
		name = "Muzaffar Shâh II"
		dynasty = "Siak"
		adm = 3
		dip = 3
		mil = 4
	}
}

1650.1.1 = {
	heir = {
		name = "Mahmûd Iskandar Shâh"
		monarch_name = "Mahmûd Iskandar Shâh"
		dynasty = "Siak"
		birth_date = 1650.1.1
		death_Date = 1720.1.1
		claim = 95
		adm = 3
		dip = 3
		mil = 3
	}
}

1654.1.1 = {
	monarch = {
		name = "Mahmûd Iskandar Shâh"
		dynasty = "Siak"
		adm = 3
		dip = 3
		mil = 3
	}
}

1670.1.1 = {
	heir = {
		name = "Alauddin Mughayat Shâh"
		monarch_name = "Alauddin Mughayat Shâh"
		dynasty = "Siak"
		birth_date = 1670.1.1
		death_Date = 1728.1.1
		claim = 95
		adm = 3
		dip = 3
		mil = 2
	}
}

1720.1.1 = {
	monarch = {
		name = "Alauddin Mughayat Shâh"
		dynasty = "Siak"
		adm = 3
		dip = 3
		mil = 2
	}
}

1720.1.1 = {
	heir = {
		name = "Muzaffar Shâh"
		monarch_name = "Muzaffar Shâh III"
		dynasty = "Siak"
		birth_date = 1690.1.1
		death_Date = 1754.1.1
		claim = 95
		adm = 3
		dip = 2
		mil = 3
	}
}

1728.1.1 = {
	monarch = {
		name = "Muzaffar Shâh III"
		dynasty = "Siak"
		adm = 3
		dip = 2
		mil = 3
	}
}

1728.1.1 = {
	heir = {
		name = "Iskandar Zulkarnain Shâh"
		monarch_name = "Iskandar Zulkarnain Shâh"
		dynasty = "Siak"
		birth_date = 1720.1.1
		death_Date = 1765.1.1
		claim = 95
		adm = 3
		dip = 2
		mil = 2
	}
}

1754.1.1 = {
	monarch = {
		name = "Iskandar Zulkarnain Shâh"
		dynasty = "Siak"
		adm = 3
		dip = 2
		mil = 2
	}
}

1754.1.1 = {
	heir = {
		name = "Mahmûd Shâh"
		monarch_name = "Mahmûd Shâh II"
		dynasty = "Siak"
		birth_date = 1740.1.1
		death_Date = 1786.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 2
	}
}

1765.1.1 = {
	monarch = {
		name = "Mahmûd Shâh II"
		dynasty = "Siak"
		adm = 2
		dip = 2
		mil = 2
	}
}

1765.1.1 = {
	heir = {
		name = "Alauddin Mansûr Shâh"
		monarch_name = "Alauddin Mansûr Shâh"
		dynasty = "Siak"
		birth_date = 1745.1.1
		death_Date = 1786.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 2
	}
}

1773.1.1 = {
	monarch = {
		name = "Alauddin Mansûr Shâh"
		dynasty = "Siak"
		adm = 2
		dip = 2
		mil = 2
	}
}

1773.1.1 = {
	heir = {
		name = "Ahmaddin Shâh"
		monarch_name = "Ahmaddin Shâh"
		dynasty = "Siak"
		birth_date = 1765.1.1
		death_Date = 1806.1.1
		claim = 95
		adm = 2
		dip = 2
		mil = 1
	}
}

1786.1.1 = {
	monarch = {
		name = "Ahmaddin Shâh"
		dynasty = "Siak"
		adm = 2
		dip = 2
		mil = 1
	}
}

1786.1.1 = {
	heir = {
		name = "Abdul Malik Mansur Shâh"
		monarch_name = "Abdul Malik Mansur Shâh"
		dynasty = "Siak"
		birth_date = 1780.1.1
		death_Date = 1825.1.1
		claim = 95
		adm = 1
		dip = 2
		mil = 2
	}
}

1806.1.1 = {
	monarch = {
		name = "Abdul Malik Mansûr Shâh"
		dynasty = "Siak"
		adm = 1
		dip = 2
		mil = 2
	}
}

1806.1.1 = {
	heir = {
		name = "Abdullah Muazzam Shâh"
		monarch_name = "Abdullah Muazzam Shâh"
		dynasty = "Siak"
		birth_date = 1800.1.1
		death_Date = 1830.1.1
		claim = 95
		adm = 1
		dip = 1
		mil = 1
	}
}