government = feudal_monarchy
#aristocracy_plutocracy = -2
#centralization_decentralization = 0
#innovative_narrowminded = 2
#mercantilism_freetrade = -1
mercantilism = 0.1
#offensive_defensive = 2
#land_naval = 0
#quality_quantity = -1
#serfdom_freesubjects = 1
primary_culture = castillian
add_accepted_culture = andalucian
religion = catholic
technology_group = western
historical_friend = POR
capital = 219	# Toledo

national_focus = MIL

487.1.1 = { government = salic_monarchy }

931.1.1 = {
	monarch = {
		name = "Fernán González"
		dynasty = "Beni Mamaduna"
		adm = 3
		dip = 1
		mil = 4
	}
}

938.1.1 = {
	heir = {
		name = "García Fernández"
		monarch_name = "García Fernández"
		dynasty = "Beni Mamaduna"
		birth_date = 938.1.1
		death_date = 995.1.1
		claim = 95
		adm = 1
		dip = 5
		mil = 4
	}
}

962.1.1 = { government = feudal_monarchy }

970.1.1 = {
	monarch = {
		name = "García Fernández"
		dynasty = "Beni Mamaduna"
		adm = 1
		dip = 5
		mil = 4
	}
}

970.1.1 = {
	heir = {
		name = "Sancho García"
		monarch_name = "Sancho García"
		dynasty = "Beni Mamaduna"
		birth_date = 960.1.1
		death_date = 1017.1.1
		claim = 95
		adm = 1
		dip = 2
		mil = 5
	}
}

995.1.1 = {
	monarch = {
		name = "Sancho García"
		dynasty = "Beni Mamaduna"
		adm = 1
		dip = 2
		mil = 5
	}
}

995.1.1 = {
	heir = {
		name = "García Sánchez"
		monarch_name = "García Sánchez"
		dynasty = "Beni Mamaduna"
		birth_date = 980.1.1
		death_date = 1029.1.1
		claim = 95
		adm = 3
		dip = 1
		mil = 5
	}
}

1017.1.1 = {
	monarch = {
		name = "García Sánchez"
		dynasty = "Beni Mamaduna"
		adm = 3
		dip = 1
		mil = 5
	}
}

1029.1.1 = {
	monarch = {
		name = "Ferdinand I"
		dynasty = "Jiménez"
		adm = 6
		dip = 4
		mil = 6
	}
}

1036.1.1 = {
	heir = {
		name = "Sancho"
		monarch_name = "Sancho II"
		dynasty = "Jiménez"
		birth_date = 1036.1.1
		death_date = 1072.10.7
		claim = 95
		adm = 4
		dip = 3
		mil = 3
	}
}

1065.12.24 = {
	monarch = {
		name = "Sancho II"
		dynasty = "Jiménez"
		adm = 4
		dip = 3
		mil = 3
	}
}

1157.8.21 = {
	monarch = {
		name = "Sancho III"
		dynasty = "d'Ivrea"
		adm = 2
		dip = 2
		mil = 4
	}
}

1157.8.21 = {
	heir = {
		name = "Alfonso"
		monarch_name = "Alfonso VIII"
		dynasty = "d'Ivrea"
		birth_date = 1155.11.11
		death_date = 1214.10.5
		claim = 95
		adm = 3
		dip = 1
		mil = 4
	}
}

1158.8.31 = {
	monarch = {
		name = "Alfonso VIII"
		dynasty = "d'Ivrea"
		adm = 3
		dip = 1
		mil = 4
	}
}

1204.4.14 = {
	heir = {
		name = "Enrique"
		monarch_name = "Enrique I"
		dynasty = "d'Ivrea"
		birth_date = 1204.4.14
		death_date = 1217.6.6
		claim = 95
		adm = 5
		dip = 2
		mil = 4
	}
}

1214.10.5 = {
	monarch = {
		name = "Enrique I"
		dynasty = "d'Ivrea"
		adm = 5
		dip = 2
		mil = 4
	}
}

1214.10.5 = {
	heir = {
		name = "Ferdinand"
		monarch_name = "Ferdinand III"
		dynasty = "d'Ivrea"
		birth_date = 1199.8.5
		death_date = 1252.5.30
		claim = 95
		adm = 5
		dip = 4
		mil = 3
	}
}

1217.6.6 = {
	monarch = {
		name = "Ferdinand III"
		dynasty = "d'Ivrea"
		adm = 5
		dip = 4
		mil = 3
	}
}

1221.11.23 = {
	heir = {
		name = "Alfonso"
		monarch_name = "Alfonso X"
		dynasty = "d'Ivrea"
		birth_date = 1221.11.23
		death_date = 1284.4.4
		claim = 95
		adm = 4
		dip = 2
		mil = 5
	}
}

1252.5.30 = {
	monarch = {
		name = "Alfonso X"
		dynasty = "d'Ivrea"
		adm = 4
		dip = 2
		mil = 5
	}
}

1258.5.12 = {
	heir = {
		name = "Sancho"
		monarch_name = "Sancho IV"
		dynasty = "d'Ivrea"
		birth_date = 1258.5.12
		death_date = 1295.4.25
		claim = 95
		adm = 4
		dip = 5
		mil = 2
	}
}

1284.4.4 = {
	monarch = {
		name = "Sancho IV"
		dynasty = "d'Ivrea"
		adm = 4
		dip = 5
		mil = 2
	}
}

1285.12.6 = {
	heir = {
		name = "Ferdinand"
		monarch_name = "Ferdinand IV"
		dynasty = "d'Ivrea"
		birth_date = 1285.12.6
		death_date = 1312.9.7
		claim = 95
		adm = 3
		dip = 1
		mil = 3
	}
}

1295.4.25 = {
	monarch = {
		name = "Ferdinand IV"
		dynasty = "d'Ivrea"
		adm = 3
		dip = 1
		mil = 3
	}
}

1311.8.13 = {
	heir = {
		name = "Alfonso"
		monarch_name = "Alfonso XI"
		dynasty = "d'Ivrea"
		birth_date = 1311.8.13
		death_date = 1350.3.26
		claim = 95
		adm = 1
		dip = 2
		mil = 2
	}
}

1312.9.7 = {
	monarch = {
		name = "Alfonso XI"
		dynasty = "d'Ivrea"
		adm = 1
		dip = 2
		mil = 2
	}
}

1334.8.30 = {
	heir = {
		name = "Pedro"
		monarch_name = "Pedro I"
		dynasty = "d'Ivrea"
		birth_date = 1334.8.30
		death_date = 1369.3.23
		claim = 95
		adm = 3
		dip = 4
		mil = 4
	}
}

1350.3.26 = {
	monarch = {
		name = "Pedro I"
		dynasty = "d'Ivrea"
		adm = 3
		dip = 4
		mil = 4
	}
}

1366.3.29 = {
	monarch = {
		name = "Enrique II"
		dynasty = "de Trastámara"
		adm = 2
		dip = 5
		mil = 5
	}
}

1367.1.1 = {
	monarch = {
		name = "Pedro I"
		dynasty = "d'Ivrea"
		adm = 3
		dip = 4
		mil = 4
	}
}

1369.3.23 = {
	monarch = {
		name = "Enrique II"
		dynasty = "de Trastámara"
		adm = 2
		dip = 5
		mil = 5
	}
}

1369.3.23 = {
	heir = {
		name = "Juan"
		monarch_name = "Juan I"
		dynasty = "de Trastámara"
		birth_date = 1358.8.24
		death_date = 1390.10.9
		claim = 95
		adm = 2
		dip = 1
		mil = 5
	}
}

1379.5.29 = {
	monarch = {
		name = "Juan I"
		dynasty = "de Trastámara"
		adm = 2
		dip = 1
		mil = 5
	}
}

1379.10.4 = {
	heir = {
		name = "Enrique"
		monarch_name = "Enrique III"
		dynasty = "de Trastámara"
		birth_date = 1379.10.4
		death_date = 1406.12.25
		claim = 95
		adm = 4
		dip = 3
		mil = 3
	}
}

1390.10.9 = {
	monarch = {
		name = "Enrique III"
		dynasty = "de Trastámara"
		adm = 3
		dip = 2
		mil = 2
	}
}

1405.3.6 = {
	heir = {
		name = "Juan"
		monarch_name = "Juan II"
		dynasty = "de Trastámara"
		birth_date = 1405.3.6
		death_date = 1454.7.20
		claim = 95
		adm = 1
		dip = 1
		mil = 2
	}
}

1406.12.26 = {
	monarch = {
		name = "(Regency)"
		adm = 2
		dip = 2
		mil = 2
	}
}

1418.6.2 = {
	monarch = {
		name = "Juan II"
		dynasty = "de Trastámara"
		birth_date = 1405.3.6
		adm = 1
		dip = 1
		mil = 2
	}
	queen = {
		country_of_origin = ARA
		name = "Maria"
		dynasty = "de Trastámara"
		birth_date = 1396.1.1
		death_date = 1445.2.18
		female = yes
		adm = 2
		dip = 2
		mil = 2
	}
}

1422.1.1 = { leader = {	name = "Álvaro de Luna"	type = general	rank = 1	fire = 2	shock = 2	manuever = 3	siege = 0	death_date = 1453.6.2 } }


1425.1.5 = {
	heir = {
		name = "Enrique"
		monarch_name = "Enrique IV"
		dynasty = "de Trastámara"
		birth_date = 1425.1.5
		death_date = 1474.12.11
		claim = 95
		adm = 0
		dip = 0
		mil = 0
	}
	clear_scripted_personalities = yes
	add_heir_personality = infertile_personality
	add_ruler_personality = naive_personality
	add_ruler_personality = zealot_personality
	add_ruler_personality = well_advised_personality
}

1447.8.17 = {
	queen = {
		country_of_origin = POR
		name = "Isabella"
		dynasty = "de Avis"
		birth_date = 1396.1.1
		death_date = 1445.2.18
		female = yes
		adm = 1
		dip = 1
		mil = 1
	}
}

1450.1.1 = { decision = act_of_uniformity decision = blasphemy_act }

1454.7.20 = {
	monarch = {
		name = "Enrique IV"
		dynasty = "de Trastámara"
		birth_date = 1425.1.5
		adm = 0
		dip = 0
		mil = 0
	}
	queen = {
		country_of_origin = POR
		name = "Joana"
		dynasty = "de Avis"
		birth_date = 1439.3.20
		death_date = 1475.12.12
		female = yes
		adm = 1
		dip = 1
		mil = 1
	}
	clear_scripted_personalities = yes
	add_ruler_personality = infertile_personality
}

1454.7.20 = {
	heir = {
		name = "Isabel"
		monarch_name = "Isabel I"
		dynasty = "de Trastámara"
		birth_date = 1451.4.22
		death_date = 1504.11.26
		claim = 95
		adm = 5
		dip = 6
		mil = 3
		female = yes
	}
}

1474.12.11 = { capital = 215 } # Castilla La Vieja

1474.12.11 = {
	monarch = {
		name = "Isabel I"
		dynasty = "de Trastámara"
		birth_date = 1451.4.22
		adm = 5
		dip = 6
		mil = 3
		female = yes
	}
	queen = {
		country_of_origin = ARA
		name = "Ferran"
		dynasty = "de Trastámara"
		birth_date = 1439.3.20
		death_date = 1516.1.23
		female = no
		adm = 4
		dip = 6
		mil = 5
	}
	clear_scripted_personalities = yes
	add_ruler_personality = zealot_personality
	add_ruler_personality = lawgiver_personality
	add_ruler_personality = well_advised_personality
}

1479.11.6 = {
	heir = {
		name = "Juana"
		monarch_name = "Juana I"
		dynasty = "de Trastámara"
		birth_date = 1479.11.6
		death_date = 1555.4.12
		claim = 95
		adm = 0
		dip = 0
		mil = 0
		female = yes
	}
}

1491.1.1 = { leader = {	name = "Fadrique Álv. de Toledo"	type = general	rank = 1	fire = 3	shock = 3	manuever = 4	siege = 0	death_date = 1516.1.23 } }

1492.1.1 = {
	leader = {	name = "Cristóbal Colón"       	type = explorer	rank = 7	fire = 2	shock = 2	manuever = 6	siege = 0	death_date = 1506.5.20 }
	set_global_flag = columbus_happened
}

1492.10.12 = {
	set_global_flag = new_world_discovered
}

#1493.1.1 = { decision = colonial_expansion }

1495.1.1 = { leader = {	name = "El Gran Capitán"       	type = general	rank = 1	fire = 6	shock = 5	manuever = 5	siege = 0	death_date = 1515.12.2 } }

#1499.1.1 = { leader = {	name = "Vicente Yáñez Pinzón"	type = explorer	rank = 8	fire = 2	shock = 3	manuever = 6	siege = 0	death_date = 1516.1.23 } } # Removed /SWÖ

1499.1.1 = { leader = {	name = "Alonso de Ojeda"       	type = conquistador	rank = 7	fire = 2	shock = 3	manuever = 3	siege = 0	death_date = 1515.1.1 } }

1499.1.1 = { leader = {	name = "Amerigo Vespucci"      	type = explorer	rank = 11	fire = 2	shock = 2	manuever = 4	siege = 0	death_date = 1500.12.30 } }

#1499.1.1 = { leader = {	name = "Juan de la Cosa"       	type = explorer	rank = 9	fire = 1	shock = 2	manuever = 4	siege = 0	death_date = 1510.2.28 } } # Removed /SWÖ

#1503.1.1 = { decision = house_of_trade }

1504.11.26 = {
	monarch = {
		name = "Juana I"
		dynasty = "de Trastámara"
		birth_date = 1479.11.6
		adm = 0
		dip = 0
		mil = 0
		female = yes
	}
	queen = {
		country_of_origin = HAB
		name = "Felipe I"
		dynasty = "de Trastámara"
		birth_date = 1478.7.22
		death_date = 1506.9.25
		female = no
		adm = 0
		dip = 0
		mil = 0
	}
	clear_scripted_personalities = yes
	add_ruler_personality = babbling_buffoon_personality
}

1504.12.1 = {
	monarch = {
		name = "Felipe I"
		dynasty = "von Habsburg"
		birth_date = 1478.7.22
		adm = 0
		dip = 0
		mil = 0
	}
	queen = {
		country_of_origin = CAS
		name = "Juana I"
		dynasty = "de Trastámara"
		birth_date = 1479.11.6
		death_date = 1555.4.12
		female = yes
		adm = 0
		dip = 0
		mil = 0
	}
	clear_scripted_personalities = yes
	add_ruler_personality = loose_lips_personality
}

#1506.1.1 = { leader = {	name = "Juan Díaz de Solís"    	type = explorer		rank = 9	fire = 3	shock = 2	manuever = 5	siege = 0	death_date = 1516.1.23 } } # Removed /SWÖ

1506.9.25 = { capital = 219 } # Toledo

1506.9.25 = {
	monarch = {
		name = "Fernando V"
		dynasty = "de Trastámara"
		birth_date = 1452.3.10
		adm = 4
		dip = 6
		mil = 5
	}
	clear_scripted_personalities = yes
	add_ruler_personality = zealot_personality
	add_ruler_personality = lawgiver_personality
	add_ruler_personality = martial_educator_personality
}

1509.1.1 = { leader = {	name = "Pánfilo de Narváez"    	type = conquistador	rank = 6	fire = 2	shock = 2	manuever = 3	siege = 0	death_date = 1516.1.23 } }

1510.1.1 = { leader = {	name = "Vasco Núñez de Balboa"	type = conquistador	rank = 7	fire = 3	shock = 3	manuever = 4	siege = 0	death_date = 1516.1.23 } }

1512.3.4 = { leader = {	name = "Juan Ponce de León"	type = conquistador	rank = 11	fire = 2	shock = 2	manuever = 3	siege = 0	death_date = 1516.1.23 } }

1516.1.23 = { government = despotic_monarchy }

1724.1.20 = { government = administrative_monarchy }

1759.8.12 = { government = despotic_monarchy }
