government = despotic_monarchy
mercantilism = 0.1
primary_culture = moluccan
religion = animism
technology_group = early_chinese
historical_rival = TID
capital = 649	# Ternate

750.1.1 = { technology_group = chinese }

1257.1.1 = {
	monarch = {
		name = "Baab Mashur Malamo"
		dynasty = "Gapi"
		birth_date = 1227.1.1
		adm = 1
		dip = 4
		mil = 0
	}
}

1257.1.1 = {
	heir = {
		name = "Poit"
		monarch_name = "Poit"
		dynasty = "Gapi"
		birth_date = 1247.1.1
		death_date = 1284.1.1
		claim = 95
		adm = 3
		dip = 0
		mil = 3
	}
}

1277.1.1 = {
	monarch = {
		name = "Poit"
		dynasty = "Gapi"
		birth_date = 1247.1.1
		adm = 3
		dip = 0
		mil = 3
	}
}

1277.1.1 = {
	heir = {
		name = "Komala"
		monarch_name = "Komala"
		dynasty = "Gapi"
		birth_date = 1254.1.1
		death_date = 1298.1.1
		claim = 95
		adm = 3
		dip = 4
		mil = 5
	}
}

1284.1.1 = {
	monarch = {
		name = "Komala"
		dynasty = "Gapi"
		birth_date = 1254.1.1
		adm = 3
		dip = 4
		mil = 5
	}
}

1284.1.1 = {
	heir = {
		name = "Bakuku"
		monarch_name = "Bakuku"
		dynasty = "Gapi"
		birth_date = 1268.1.1
		death_date = 1304.1.1
		claim = 95
		adm = 1
		dip = 0
		mil = 0
	}
}

1298.1.1 = {
	monarch = {
		name = "Bakuku"
		dynasty = "Gapi"
		birth_date = 1268.1.1
		adm = 1
		dip = 0
		mil = 0
	}
}

1298.1.1 = {
	heir = {
		name = "Ngara Malamo"
		monarch_name = "Ngara Malamo"
		dynasty = "Gapi"
		birth_date = 1274.1.1
		death_date = 1317.1.1
		claim = 95
		adm = 3
		dip = 2
		mil = 3
	}
}

1304.1.1 = {
	monarch = {
		name = "Ngara Malamo"
		dynasty = "Gapi"
		birth_date = 1274.1.1
		adm = 3
		dip = 2
		mil = 3
	}
}

1304.1.1 = {
	heir = {
		name = "Patsaranga Malamo"
		monarch_name = "Patsaranga Malamo"
		dynasty = "Gapi"
		birth_date = 1287.1.1
		death_date = 1322.1.1
		claim = 95
		adm = 4
		dip = 3
		mil = 0
	}
}

1317.1.1 = {
	monarch = {
		name = "Patsaranga Malamo"
		dynasty = "Gapi"
		birth_date = 1287.1.1
		adm = 4
		dip = 3
		mil = 0
	}
}

1317.1.1 = {
	heir = {
		name = "Cili Aiya"
		monarch_name = "Cili Aiya"
		dynasty = "Gapi"
		birth_date = 1292.1.1
		death_date = 1331.1.1
		claim = 95
		adm = 3
		dip = 1
		mil = 2
	}
}

1322.1.1 = {
	monarch = {
		name = "Cili Aiya"
		dynasty = "Gapi"
		birth_date = 1292.1.1
		adm = 3
		dip = 1
		mil = 2
	}
}

1322.1.1 = {
	heir = {
		name = "Panji Malamo"
		monarch_name = "Panji Malamo"
		dynasty = "Gapi"
		birth_date = 1301.1.1
		death_date = 1332.1.1
		claim = 95
		adm = 4
		dip = 0
		mil = 1
	}
}

1331.1.1 = {
	monarch = {
		name = "Panji Malamo"
		dynasty = "Gapi"
		birth_date = 1301.1.1
		adm = 4
		dip = 0
		mil = 1
	}
}

1331.1.1 = {
	heir = {
		name = "Shah Alam"
		monarch_name = "Shah Alam"
		dynasty = "Gapi"
		birth_date = 1302.1.1
		death_date = 1343.1.1
		claim = 95
		adm = 5
		dip = 5
		mil = 2
	}
}

1332.1.1 = {
	monarch = {
		name = "Shah Alam"
		dynasty = "Gapi"
		birth_date = 1302.1.1
		adm = 5
		dip = 5
		mil = 2
	}
}

1332.1.1 = {
	heir = {
		name = "Tulu Malamo"
		monarch_name = "Tulu Malamo"
		dynasty = "Gapi"
		birth_date = 1313.1.1
		death_date = 1347.1.1
		claim = 95
		adm = 5
		dip = 3
		mil = 3
	}
}

1343.1.1 = {
	monarch = {
		name = "Tulu Malamo"
		dynasty = "Gapi"
		birth_date = 1313.1.1
		adm = 5
		dip = 3
		mil = 3
	}
}

1343.1.1 = {
	heir = {
		name = "Kie Mabiji"
		monarch_name = "Kie Mabiji"
		dynasty = "Gapi"
		birth_date = 1317.1.1
		death_date = 1350.1.1
		claim = 95
		adm = 1
		dip = 3
		mil = 2
	}
}

1347.1.1 = {
	monarch = {
		name = "Kie Mabiji"
		dynasty = "Gapi"
		birth_date = 1317.1.1
		adm = 1
		dip = 3
		mil = 2
	}
}

1347.1.1 = {
	heir = {
		name = "Ngolo-ma-Kaya"
		monarch_name = "Ngolo-ma-Kaya"
		dynasty = "Gapi"
		birth_date = 1320.1.1
		death_date = 1359.1.1
		claim = 95
		adm = 1
		dip = 2
		mil = 5
	}
}

1350.1.1 = {
	monarch = {
		name = "Ngolo-ma-Kaya"
		dynasty = "Gapi"
		birth_date = 1320.1.1
		adm = 1
		dip = 2
		mil = 5
	}
}

1350.1.1 = {
	heir = {
		name = "Gapi Malamo"
		monarch_name = "Gapi Malamo"
		dynasty = "Gapi"
		birth_date = 1329.1.1
		death_date = 1372.1.1
		claim = 95
		adm = 2
		dip = 1
		mil = 0
	}
}

1359.1.1 = {
	monarch = {
		name = "Gapi Malamo"
		dynasty = "Gapi"
		birth_date = 1329.1.1
		adm = 2
		dip = 1
		mil = 0
	}
}

1359.1.1 = {
	heir = {
		name = "Gapi Baguna"
		monarch_name = "Gapi Baguna"
		dynasty = "Gapi"
		birth_date = 1342.1.1
		death_date = 1377.1.1
		claim = 95
		adm = 4
		dip = 3
		mil = 4
	}
}

1372.1.1 = {
	monarch = {
		name = "Gapi Baguna"
		dynasty = "Gapi"
		birth_date = 1342.1.1
		adm = 4
		dip = 3
		mil = 4
	}
}

1372.1.1 = {
	heir = {
		name = "Komala Pulu"
		monarch_name = "Komala Pulu"
		dynasty = "Gapi"
		birth_date = 1347.1.1
		death_date = 1432.1.1
		claim = 95
		adm = 5
		dip = 4
		mil = 1
	}
}

1377.1.1 = {
	monarch = {
		name = "Komala Pulu"
		dynasty = "Gapi"
		birth_date = 1347.1.1
		adm = 5
		dip = 4
		mil = 1
	}
}

1402.1.1 = {
	heir = {
		name = "Marhum"
		monarch_name = "Marhum"
		dynasty = "Gapi"
		birth_date = 1402.1.1
		death_date = 1486.1.1
		claim = 95
		adm = 5
		dip = 3
		mil = 3
	}
}

1432.1.1 = {
	monarch = {
		name = "Marhum"
		dynasty = "Gapi"
		birth_date = 1402.1.1
		adm = 5
		dip = 3
		mil = 3
	}
}

1456.1.1 = {
	heir = {
		name = "Zainal Abidin"
		monarch_name = "Zainal Abidin"
		dynasty = "Gapi"
		birth_date = 1456.1.1
		death_date = 1500.1.1
		claim = 95
		adm = 0
		dip = 5
		mil = 3
	}
}

1470.1.1 = { religion = sunni }

1486.1.1 = {
	monarch = {
		name = "Zainal Abidin"
		dynasty = "Gapi"
		birth_date = 1456.1.1
		adm = 0
		dip = 5
		mil = 3
	}
}

1486.1.1 = {
	heir = {
		name = "Bayanullah"
		monarch_name = "Bayanullah"
		dynasty = "Gapi"
		birth_date = 1470.1.1
		death_date = 1522.1.1
		claim = 95
		adm = 5
		dip = 4
		mil = 4
	}
}

1500.1.1 = {
	monarch = {
		name = "Bayanullah"
		dynasty = "Gapi"
		birth_date = 1470.1.1
		adm = 5
		dip = 4
		mil = 4
	}
}

1500.1.1 = {
	heir = {
		name = "Hidayatullah"
		monarch_name = "Hidayatullah"
		dynasty = "Gapi"
		birth_date = 1492.1.1
		death_date = 1529.1.1
		claim = 95
		adm = 0
		dip = 4
		mil = 0
	}
}

1522.1.1 = {
	monarch = {
		name = "Hidayatullah"
		dynasty = "Gapi"
		birth_date = 1492.1.1
		adm = 0
		dip = 4
		mil = 0
	}
}

1522.1.1 = {
	heir = {
		name = "Abu Hayat"
		monarch_name = "Abu Hayat"
		dynasty = "Gapi"
		birth_date = 1499.1.1
		death_date = 1533.1.1
		claim = 95
		adm = 4
		dip = 0
		mil = 1
	}
}

1529.1.1 = {
	monarch = {
		name = "Abu Hayat"
		dynasty = "Gapi"
		birth_date = 1499.1.1
		adm = 4
		dip = 0
		mil = 1
	}
}

1529.1.1 = {
	heir = {
		name = "Tabariji"
		monarch_name = "Tabariji"
		dynasty = "Gapi"
		birth_date = 1503.1.1
		death_date = 1535.1.1
		claim = 95
		adm = 3
		dip = 4
		mil = 0
	}
}

1533.1.1 = {
	monarch = {
		name = "Tabariji"
		dynasty = "Gapi"
		birth_date = 1503.1.1
		adm = 3
		dip = 4
		mil = 0
	}
}

1533.1.1 = {
	heir = {
		name = "Khairun Jamil"
		monarch_name = "Khairun Jamil"
		dynasty = "Gapi"
		birth_date = 1505.1.1
		death_date = 1570.1.1
		claim = 95
		adm = 1
		dip = 5
		mil = 4
	}
}

1535.1.1 = {
	monarch = {
		name = "Khairun Jamil"
		dynasty = "Gapi"
		birth_date = 1505.1.1
		adm = 1
		dip = 5
		mil = 4
	}
}

1540.1.1 = {
	heir = {
		name = "Babullah Datu Shah"
		monarch_name = "Babullah Datu Shah"
		dynasty = "Gapi"
		birth_date = 1540.1.1
		death_date = 1583.1.1
		claim = 95
		adm = 3
		dip = 4
		mil = 2
	}
}

1570.1.1 = {
	monarch = {
		name = "Babullah Datu Shah"
		dynasty = "Gapi"
		birth_date = 1540.1.1
		adm = 3
		dip = 4
		mil = 2
	}
}

1570.1.1 = {
	heir = {
		name = "Said Barakat Shah"
		monarch_name = "Said Barakat Shah"
		dynasty = "Gapi"
		birth_date = 1553.1.1
		death_date = 1606.1.1
		claim = 95
		adm = 5
		dip = 1
		mil = 4
	}
}

1583.1.1 = {
	monarch = {
		name = "Said Barakat Shah"
		dynasty = "Gapi"
		birth_date = 1553.1.1
		adm = 5
		dip = 1
		mil = 4
	}
}

1607.1.1 = {
	monarch = {
		name = "Muzaffar Shah"
		dynasty = "Gapi"
		adm = 3
		dip = 3
		mil = 3
	}
}

1627.1.1 = {
	monarch = {
		name = "Hamzah"
		dynasty = "Gapi"
		adm = 2
		dip = 3
		mil = 2
	}
}

1648.1.1 = {
	monarch = {
		name = "Mandar Shah"
		dynasty = "Gapi"
		adm = 1
		dip = 1
		mil = 1
	}
}

1650.1.1 = {
	monarch = {
		name = "Manilha"
		dynasty = "Gapi"
		adm = 1
		dip = 1
		mil = 2
	}
}

1655.1.1 = {
	monarch = {
		name = "Mandar Shah"
		dynasty = "Gapi"
		adm = 2
		dip = 1
		mil = 2
	}
}

1675.1.1 = {
	monarch = {
		name = "Sibori"
		dynasty = "Gapi"
		adm = 1
		dip = 1
		mil = 2
	}
}

1689.1.1 = {
	monarch = {
		name = "Said Fathullah"
		dynasty = "Gapi"
		adm = 2
		dip = 2
		mil = 2
	}
}

1714.1.1 = {
	monarch = {
		name = "Amir Iskandar Zulkarnain Saifuddin"
		dynasty = "Gapi"
		adm = 3
		dip = 3
		mil = 2
	}
}

1751.1.1 = {
	monarch = {
		name = "Ayan Shah"
		dynasty = "Gapi"
		adm = 2
		dip = 1
		mil = 2
	}
}

1754.1.1 = {
	monarch = {
		name = "Syah Mardan"
		dynasty = "Gapi"
		adm = 2
		dip = 2
		mil = 2
	}
}

1763.1.1 = {
	monarch = {
		name = "Jalaluddin"
		dynasty = "Gapi"
		adm = 2
		dip = 2
		mil = 3
	}
}

1774.1.1 = {
	monarch = {
		name = "Harun Shah"
		dynasty = "Gapi"
		adm = 3
		dip = 2
		mil = 3
	}
}

1781.1.1 = {
	monarch = {
		name = "Achral"
		dynasty = "Gapi"
		adm = 2
		dip = 2
		mil = 2
	}
}

1796.1.1 = {
	monarch = {
		name = "Muhammad Yasin"
		dynasty = "Gapi"
		adm = 2
		dip = 3
		mil = 2
	}
}

1801.1.1 = {
	monarch = {
		name = "Muhammad Ali"
		dynasty = "Gapi"
		adm = 2
		dip = 2
		mil = 1
	}
}