﻿###NOTE, SOME THINGS CAN BE MADE UP OR CHANGED ITS BEEN 555 YEARS SINCE THE EVENT.

### FFRANCE_HISTORICAL ###
historical_france0001 = {
    name="Clovis" 
    dynasty = merovingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	trait = education_martial_4
	trait = ambitious
	trait = diligent
	trait = zealous
    466.1.1={
        birth=yes
    }
    511.11.27={
        death=yes
    }
}
historical_france0002 = {
    name="Martel" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	trait = education_martial_4
	trait = holy_warrior
	trait = administrator
	trait = brave
	trait = ambitious
	trait = zealous
    688.1.1={
        birth=yes
    }
    741.8.22={
        death=yes
    }
}
historical_france0003 = { #the short
    name="Pépin" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	give_nickname=nick_the_short
	father = historical_france0002
	trait = education_learning_4
	trait = just
	trait = ambitious
	trait = zealous
    714.9.24={
        birth=yes
    }
    768.9.24={
        death=yes
    }
}
historical_france0004 = {
    name="Charlemagne" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	father = historical_france0003
	trait = education_martial_5
	trait = brave
	trait = ambitious
	trait = diligent
	trait = holy_warrior
	trait = organizer
	trait = august
	trait = gallant
    768.10.9={
        birth=yes
    }
    814.1.14={
        death=yes
    }
}

historical_france0005 = { # the pious
    name="Louis" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	give_nickname=nick_the_pious
	father = historical_france0004
	trait = education_martial_3
	trait = unyielding_defender
	trait = zealous
	trait = stubborn
	trait = impatient
    778.1.1={
        birth=yes
    }
    840.6.20={
        death=yes
    }
}

historical_france0006 = { # the bald
    name="Charles" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	give_nickname=nick_the_bald
	father = historical_france0005
	trait = education_martial_3
    823.6.13={
        birth=yes
    }
    877.6.8={
        death=yes
    }
}

historical_france0007 = { # the stammerer
    name="Louis" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	give_nickname=nick_the_stammerer
	father = historical_france0006
	trait = physique_bad_3
	trait = stuttering
    846.11.1={
        birth=yes
    }
    879.4.10={
        death=yes
    }
}

historical_france0008 = {
    name="Louis" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	father = historical_france0007
    863.1.1={
        birth=yes
    }
    882.8.5={
        death=yes
    }
}

historical_france0009 = {
    name="Charlemagne" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	father = historical_france0007
    866.1.1={
        birth=yes
    }
    884.12.6={
        death=yes
    }
}

historical_france0010 = { #the fat
    name="Charles" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= letzebuerge
	give_nickname=nick_the_fat
	father = historical_france0005
    839.1.1={
        birth=yes
    }
    888.1.13={
        death=yes
    }
}

historical_france0011 = { #Odo
    name="Eudes" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
    858.1.1={
        birth=yes
    }
    898.1.3={
        death=yes
    }
}

historical_france0012 = { #the simple
    name="Charles" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	give_nickname=nick_the_simple
	father = historical_france0007
    879.9.17={
        birth=yes
    }
    929.6.29={
        death=yes
    }
}

historical_france0013 = { #post-event they think his the son of Odo
    name="Robert" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0007
    865.1.1={
        birth=yes
    }
    923.6.15={
        death=yes
    }
}

historical_france0014 = {
    name="Rodolphe" 
    dynasty = bosonid_dynasty
    religion = "roman_catholic"
    culture= bourguignon
    890.1.1={
        birth=yes
    }
    936.1.14={
        death=yes
    }
}

historical_france0015 = { #the outremer
    name="Louis" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0012
    921.1.1={
        birth=yes
    }
    954.1.10={
        death=yes
    }
}

historical_france0016 = {
    name="Lothaire" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0015
    941.1.1={
        birth=yes
    }
    986.3.2={
        death=yes
    }
}

historical_france0017 = {
    name="Louis" 
    dynasty = carolingien_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0016
    967.1.1={
        birth=yes
    }
    987.5.22={
        death=yes
    }
}

historical_france0018 = { #post-event confusion here
    name="Hugues" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0013
	trait = greedy
    923.6.16={
        birth=yes
    }
    996.10.24={
        death=yes
    }
}

historical_france0019 = { #the pious
    name="Robert" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0018
	give_nickname = nick_the_pious
	trait = education_learning_3
    970.1.1={
        birth=yes
    }
    1031.7.20={
        death=yes
    }
}

historical_france0020 = {
    name="Henri" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0019
	give_nickname = nick_the_pious
	trait = education_stewardship_2
    1008.5.4={
        birth=yes
    }
    1060.8.4={
        death=yes
    }
}

historical_france0021 = {
    name="Philippe" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0020
	trait = education_stewardship_3
    1052.1.1={
        birth=yes
    }
    1108.7.29={
        death=yes
    }
}

historical_france0022 = { #the fat
    name="Louis" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0021
	give_nickname=nick_the_fat
	trait = education_martial_3
	trait = gluttonous
    1081.12.1={
        birth=yes
    }
    1137.8.1={
        death=yes
    }
}

historical_france0023 = { #the young
    name="Louis" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0022
	give_nickname=nick_the_young
	trait = education_martial_4
	trait = faith_warrior
    1120.1.1={
        birth=yes
    }
    1180.9.18={
        death=yes
    }
}

historical_france0024 = { #augustus
    name="Philippe" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0023
	give_nickname=nick_the_great
	trait = education_martial_4
	trait = august
	trait = faith_warrior
    1165.8.21={
        birth=yes
    }
    1223.7.14={
        death=yes
    }
}

historical_france0025 = { #the lion
    name="Louis" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0024
	give_nickname=nick_the_lion
	trait = education_martial_2
    1187.9.5={
        birth=yes
    }
    1226.11.8={
        death=yes
    }
}

historical_france0026 = { #the saint
    name="Louis" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0025
	give_nickname=nick_the_saint
	trait = education_martial_3
	trait = faith_warrior
	trait = zealous
    1214.4.25={
        birth=yes
    }
    1270.8.25={
        death=yes
    }
}

historical_france0027 = { #the bold
    name="Philippe" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0026
	give_nickname=nick_the_bold
	trait = education_intrigue_2
    1245.1.31={
        birth=yes
    }
    1285.10.5={
        death=yes
    }
}

historical_france0028 = { #the fair
    name="Philippe" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0027
	give_nickname=nick_the_fair
	trait = education_intrigue_4
	trait = cynical
	trait = ambitious
	trait = gregarious
	trait = beauty_good_2
	trait = administrator
	trait = aggressive_attacker
    1268.6.1={
        birth=yes
    }
    1314.11.29={
        death=yes
    }
}
historical_france0029 = { #the quarreller
    name="Louis" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0028
	give_nickname=nick_the_quarreller
	trait = education_martial_1
    1289.10.4={
        birth=yes
    }
    1316.6.5={
        death=yes
    }
}

historical_france0030 = {
    name="Jean" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0029
    1316.6.5={
        birth=yes
    }
    1316.11.19={
        death=yes
    }
}

historical_france0031 = {
    name="Philippe" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0028
	trait = education_stewardship_3
	trait = giant
    1292.1.2={
        birth=yes
    }
    1322.1.3={
        death=yes
    }
}

historical_france0032 = { #the fair
    name="Charles" 
    dynasty = capet_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0028
	give_nickname=nick_the_fair
	trait = education_martial_1
    1294.1.1={
        birth=yes
    }
    1328.2.1={
        death=yes
    }
}

historical_france0033 = { #the fortunate, post-event confusion here
    name="Philippe" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0028
	give_nickname=nick_the_fortunate
	trait = education_martial_1
	trait = bastard_founder
	trait = aggressive_attacker
    1293.1.1={
        birth=yes
    }
    1350.8.22={
        death=yes
    }
}

historical_france0034 = { #the good
    name="Jean" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0033
	give_nickname=nick_the_good
	trait = education_martial_1
	trait = brave
    1319.4.26={
        birth=yes
    }
    1364.4.8={
        death=yes
    }
}

historical_france0035 = { #the wise
    name="Charles" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0034
	give_nickname=nick_the_wise
	trait = education_stewardship_3
	trait = shrewd
	trait = arbitrary
	trait = unyielding_defender
    1338.1.21={
        birth=yes
    }
    1380.9.16={
        death=yes
    }
}

historical_france0036 = { #the mad
    name="Charles" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0035
	give_nickname=nick_the_mad
	trait = education_diplomacy_1
	trait = craven
	trait = paranoid
	trait = shy
	trait = possessed_genetic
	trait = possessed_1
	trait = reclusive
    1368.12.3={
        birth=yes
    }
    1422.10.21={
        death=yes
    }
}

historical_france0037 = { #the victorious
    name="Charles" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0036
	give_nickname=nick_the_victorious
	trait = education_diplomacy_4
	trait = ambitious
	trait = lustful
	trait = diligent
	trait = disputed_heritage
	trait = inappetetic
	trait = adulterer
    1403.2.22={
        birth=yes
    }
    1461.7.22={
        death=yes
    }
}

historical_france0038 = {
    name="Louis" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0037
	trait = education_intrigue_4
	trait = ambitious
    1423.7.3={
        birth=yes
    }
    1483.8.30={
        death=yes
    }
}

historical_france0039 = { #the affable
    name="Charles" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0038
	give_nickname=nick_the_affable
	trait = education_martial_1
	trait = ambitious
	trait = intellect_bad_2
    1470.6.30={
        birth=yes
    }
    1498.4.7={
        death=yes
    }
}

historical_france0040 = { #post-event confusion here, incorrectly son
    name="Louis" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0038
	trait = education_martial_3
	trait = ambitious
	trait = administrator
    1471.6.27={
        birth=yes
    }
    1515.1.1={
        death=yes
    }
}

historical_france0041 = { #post-event confusion here, incorrectly son
    name="François" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0040
	trait = education_stewardship_3
	trait = ambitious
	trait = generous
	trait = vengeful
	trait = administrator
	trait = lifestyle_poet
	trait = architect
    1494.9.12={
        birth=yes
    }
    1547.3.31={
        death=yes
    }
}
historical_france0042 = { 
    name="Henri" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0041
	trait = education_learning_3
	trait = zealous
	trait = wrathful
	trait = lustful
	trait = one_eyed
	trait = gallant
	trait = education_martial_prowess_2
    1519.3.31={
        birth=yes
    }
    1559.7.10={
        death=yes
    }
}

historical_france0043 = { 
    name="François" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0042
	trait = education_learning_2
	trait = physique_bad_3
    1544.1.19={
        birth=yes
    }
    1560.12.5={
        death=yes
    }
}

historical_france0044 = { 
    name="Charles" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0042
	trait = education_learning_2
	trait = wrathful
	trait = zealous
	trait = impatient
	trait = possessed_1
    1550.6.27={
        birth=yes
    }
    1574.5.30={
        death=yes
    }
}

historical_france0045 = { 
    name="Henri" 
    dynasty = valois_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0042
	trait = education_diplomacy_3
	trait = gregarious
	trait = trusting
	trait = eccentric
	trait = seducer
    1551.9.19={
        birth=yes
    }
    1589.8.2={
        death=yes
    }
}

historical_france0046 = { 
    name="Henri" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= gascon
	give_nickname = nick_the_good
	trait = education_diplomacy_4
	trait = lustful
	trait = ambitious
	trait = just
	trait = lifestyle_reveler
	trait = architect
    1553.12.13={
        birth=yes
    }
    1610.5.14={
        death=yes
    }
}

historical_france0047 = { 
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0046
	give_nickname = nick_the_just
	trait = education_diplomacy_3
	trait = content
	trait = chaste
	trait = eccentric
	sexuality = homosexual
    1601.9.27={
        birth=yes
    }
    1643.5.14={
        death=yes
    }
}

historical_france0048 = { 
    name="Louis" #readd Soleil as nicknamebeforename
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0047
	trait = education_diplomacy_5
	trait = gregarious
	trait = ambitious
	trait = diligent
	trait = family_first
	trait = august
	give_nickname = nick_NEOW_the_sun 
    1638.9.5={
        birth=yes
    }
    1715.9.1={
        death=yes
    }
}

historical_france0049 = { #post-event confusion, incorrectly son
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0048
	trait = education_diplomacy_2
	trait = lustful
	trait = lazy
	trait = ambitious
	trait = avaricious
	trait = adulterer
    1710.2.15={
        birth=yes
    }
    1774.5.10={
        death=yes
    }
}
historical_france0050 = { #post-event confusion, incorrectly son
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0049
	trait = education_diplomacy_3
	trait = shy
	trait = diligent
	trait = ambitious
	trait = avaricious
	trait = adulterer
    1754.8.23={
        birth=yes
    }
    1793.1.21={
        death=yes
    }
}

historical_france0051 = { #in the numbering
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0050
    1785.3.27={
        birth=yes
    }
    1795.6.8={
        death=yes
    }
}

historical_france0052 = { #post-event confusion, incorrectly son
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0049
	trait = education_diplomacy_1
	trait = arrogant
	trait = lazy
	trait = gluttonous
	trait = avaricious
    1755.11.17={
        birth=yes
    }
    1824.9.16={
        death=yes
    }
}

historical_france0053 = { #post-event confusion, incorrectly son and killed in revolution
    name="Louis" 
    dynasty = borbon_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0052
	trait = education_diplomacy_1
	trait = arrogant
	trait = diligent
	trait = gluttonous
	trait = avaricious
    1771.10.9={
        birth=yes
    }
    1830.7.26={
        death=yes
    }
}

historical_france0054 = { #the citizen king, incorrectly son
    name="Louis Philippe" 
    dynasty_house = house_bourbon_orleans
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0049
	trait = education_stewardship_3
	trait = gregarious
	trait = diligent
	trait = just
    1771.10.9={
        birth=yes
    }
    1848.2.24={
        death=yes
    }
}

historical_france0054_2 = { #post-event succession claim
    name="Louis Philippe" 
    dynasty_house = house_bourbon_orleans
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0054
	trait = education_martial_3
    1838.8.24={
        birth=yes
    }
    1894.9.8={
        death=yes
    }
}

historical_france0055 = { #post-event confusion, overthrown by Napoleon
    name="Maximilien" 
    dynasty = robespierre_dynasty
    religion = "jacobin"
    culture= metropolitain
	trait = education_learning_3
	trait = callous
	trait = paranoid
	trait = sadistic
	trait = torturer
    1758.5.6={
        birth=yes
    }
    1794.7.28={
        death=yes
    }
}

historical_france_bonaparte0001 = { #dies historically earlier only for gameplay reasons, canonically lives longer
    name="Napol_e_act_on" 
    dynasty = bonaparte_dynasty
    religion = "roman_catholic"
    culture= corsican
	father = historical_france_bonaparte0004
	trait = education_martial_5
	trait = calm
	trait = diligent
	trait = ambitious
	trait = administrator
	trait = august
	trait = strategist
	trait = shrewd
	trait = organizer
	trait = flexible_leader
	trait = conqueror
    1769.8.15={
        birth=yes
    }
	35.1.2={
	name="Napoléon" # evil nepoleon magic to get them to use the name and not a space
	}
    1815.6.22={
        death=death_taken_by_god
    }
}

historical_france_bonaparte0002 = { #numbering
    name="Napoléon" 
    dynasty = bonaparte_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france_bonaparte0001
	trait = education_martial_4
	trait = calm
	trait = diligent
	trait = content
    1811.3.20={
        birth=yes
    }
	35.1.2={
	name="Napoléon" 
	}
    1832.7.22={
        death=yes
    }
}

historical_france_bonaparte0003 = {
    name="Napoléon" 
    dynasty = bonaparte_dynasty
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france_bonaparte0001 #temporary
	trait = education_stewardship_4
	trait = ambitious
	trait = diligent
	trait = gregarious
	trait = reckless
	trait = diplomat
	trait = architect
    1808.4.20={
        birth=yes
    }
	35.1.2={
	name="Napoléon" 
	}
    1873.1.9={
        death=yes
    }
}

historical_france_bonaparte0004 = {
    name="Carlo" 
    dynasty = bonaparte_dynasty
    religion = "roman_catholic"
    culture= corsican
    1746.3.27={
        birth=yes
    }
    1785.2.24={
        death=yes
    }
}

historical_france_bonaparte0005 = {
    name="Giuseppe" 
    dynasty = bonaparte_dynasty
    religion = "roman_catholic"
    culture= corsican
	father = historical_france_bonaparte0004
    1768.1.7={
        birth=yes
    }
    1844.7.28={
        death=yes
    }
}

###_PORTUGAL_###

historical_portugal0001 = {
    name="Afonso"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
    1109.7.25={
        birth=yes
    }
    1185.12.6={
        death=yes
    }
}

historical_portugal0002 = {
    name="Sancho"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0001
    1154.11.11={
        birth=yes
    }
    1211.3.26={
        death=yes
    }
}

historical_portugal0003 = {
    name="Afonso"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0002
    1185.4.23={
        birth=yes
    }
    1223.3.25={
        death=yes
    }
}

historical_portugal0004 = {
    name="Sancho"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0003
    1207.9.8={
        birth=yes
    }
    1248.1.4={
        death=yes
    }
}

historical_portugal0005 = {
    name="Afonso"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0003
    1210.5.5={
        birth=yes
    }
    1279.4.18={
        death=yes
    }
}

historical_portugal0006 = {
    name="Dinis"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0005
    1261.10.9={
        birth=yes
    }
    1325.1.7={
        death=yes
    }
}

historical_portugal0007 = {
    name="Afonso"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0006
    1291.2.8={
        birth=yes
    }
    1357.5.29={
        death=yes
    }
}

historical_portugal0008 = {
    name="Pedro"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0007
    1320.4.18={
        birth=yes
    }
    1367.1.18={
        death=yes
    }
}

historical_portugal0009 = {
    name="Fernando"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0008
    1345.10.31={
        birth=yes
    }
    1383.10.22={
        death=yes
    }
}

historical_portugal0010 = {
    name="Beatriz"
    dynasty = borgonha_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0009
	female = yes
    1373.2.7={
        birth=yes
    }
    1420.1.1={
        death=yes
    }
}

historical_portugal0011 = {
    name="João"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0008
	trait = bastard_founder
    1357.4.11={
        birth=yes
    }
    1433.8.1={
        death=yes
    }
}

historical_portugal0012 = {
    name="Duarte"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0011
    1391.10.31={
        birth=yes
    }
    1438.9.9={
        death=yes
    }
}

historical_portugal0013 = {
    name="Afonso"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0012
	trait = holy_warrior
    1432.1.15={
        birth=yes
    }
    1481.8.28={
        death=yes
    }
}

historical_portugal0014 = {
    name="João"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0013
    1455.3.3={
        birth=yes
    }
    1495.10.25={
        death=yes
    }
}

historical_portugal0015 = { #post-event confusion, not son
    name="Manuel"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0014
    1469.5.31={
        birth=yes
    }
    1521.12.13={
        death=yes
    }
}

historical_portugal0016 = {
    name="João"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0015
    1502.6.7={
        birth=yes
    }
    1557.6.11={
        death=yes
    }
}

historical_portugal0017 = { #post-event confusion, not son
    name="Sebastião"
    dynasty = avis_dynasty
    religion = "sebastianist"
    culture= portuguese
	father = historical_portugal0016
    1554.1.20={
        birth=yes
    }
    1578.8.4={
        death=yes
    }
}

historical_portugal0018 = {
    name="Henrique"
    dynasty = avis_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0015
	trait = celibate
    1512.1.31={
        birth=yes
    }
    1580.1.31={
        death=yes
    }
}

historical_portugal0019 = {
    name="João"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
    1604.3.19={
        birth=yes
    }
    1656.11.6={
        death=yes
    }
}

historical_portugal0020 = {
    name="Afonso"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0019
    1643.8.21={
        birth=yes
    }
    1683.9.12={
        death=yes
    }
}

historical_portugal0021 = {
    name="Pedro"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0020
    1648.4.26={
        birth=yes
    }
    1706.12.9={
        death=yes
    }
}

historical_portugal0022 = {
    name="João"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0021
    1689.10.22={
        birth=yes
    }
    1750.7.31={
        death=yes
    }
}

historical_portugal0023 = {
    name="José"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0022
    1714.6.6={
        birth=yes
    }
    1777.2.24={
        death=yes
    }
}

historical_portugal0024 = {
    name="Maria"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0023
	trait = possessed_1
	female = yes
    1734.12.17={
        birth=yes
    }
    1816.3.20={
        death=yes
    }
}

historical_portugal0024_2 = {
    name="Pedro"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0022
    1717.7.5={
        birth=yes
    }
    1786.3.25={
        death=yes
    }
}

historical_portugal0025 = {
    name="João"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	mother = historical_portugal0024
    1767.3.13={
        birth=yes
    }
    1826.3.10={
        death=yes
    }
}

historical_portugal0026 = { #Considered Brazilian, mythologized rule
    name="Pedro"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= brazilian
	father = historical_portugal0025
	trait = education_martial_4
    1798.10.12={
        birth=yes
    }
    1834.9.24={
        death=yes
    }
}

historical_portugal0027 = {
    name="Maria"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= brazilian
	father = historical_portugal0026
	female = yes
    1819.4.4={
        birth=yes
    }
    1853.11.15={
        death=yes
    }
}

historical_portugal0028 = {
    name="Pedro"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	mother = historical_portugal0027
    1837.9.16={
        birth=yes
    }
    1861.11.11={
        death=yes
    }
}

historical_portugal0029 = {
    name="Luís"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	mother = historical_portugal0027
    1838.10.31={
        birth=yes
    }
    1889.10.19={
        death=yes
    }
}

historical_portugal0030 = {
    name="Carlos"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0029
    1863.9.28={
        birth=yes
    }
    1908.2.1={
        death=yes
    }
}

historical_portugal0031 = {
    name="Carlos"
    dynasty = braganza_dynasty
    religion = "roman_catholic"
    culture= portuguese
	father = historical_portugal0030
    1889.11.15={
        birth=yes
    }
    1932.6.2={
        death=yes
    }
}

###_SPANISH_###

historical_spain0001 = {
    name="Felipe"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0053
	trait = education_stewardship_4
	trait = diligent
	trait = zealous
	trait = calm
	trait = overseer
	trait = lifestyle_gardener
    1527.5.21={
        birth=yes
    }
    1598.9.13={
        death=yes
    }
}

historical_spain0002 = {
    name="Felipe"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0001
	trait = education_diplomacy_3
	trait = trusting
	trait = content
	trait = calm
    1578.4.14={
        birth=yes
    }
    1621.5.31={
        death=yes
    }
}

historical_spain0003 = {
    name="Felipe"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0002
	trait = education_diplomacy_3
	trait = trusting
	trait = lifestyle_hunter
	trait = calm
	trait = generous
    1605.4.8={
        birth=yes
    }
    1665.9.17={
        death=yes
    }
}

historical_spain0052 = { #add father
    name="Philippe"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= bourguignon
    1478.6.22={
        birth=yes
    }
	1496.1.1 = {
		add_spouse = historical_spain0024
	}
    1506.9.25={
        death=yes
    }
}

historical_spain0053 = {
    name="Carlos"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0052
	mother = historical_spain0024
	trait = education_diplomacy_5
	trait = chaste
	trait = diligent
	trait = humble
	trait = august
	trait = lifestyle_wayfarer
	trait = gout_ridden
    1500.2.24={
        birth=yes
    }
    1558.9.21={
        death=yes
    }
}

historical_spain0054 = {
    name="Carlos"
    dynasty = habsburg_espana_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0003
	trait = education_diplomacy_3
	trait = chaste
	trait = content
	trait = humble
	trait = physique_bad_3
    1661.11.6={
        birth=yes
    }
    1700.11.1={
        death=yes
    }
}

historical_spain0055 = { #post-event confusion
    name="Philippe"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= metropolitain
	father = historical_france0048
    1683.12.19={
        birth=yes
    }
    1746.7.9={
        death=yes
    }
}

historical_spain0056 = {
    name="Luis"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0055
    1707.10.25={
        birth=yes
    }
    1724.10.31={
        death=yes
    }
}

historical_spain0057 = {
    name="Fernando"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0055
    1713.9.23={
        birth=yes
    }
    1759.10.10={
        death=yes
    }
}

historical_spain0058 = {
    name="Carlos"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0055
    1716.1.20={
        birth=yes
    }
    1788.12.14={
        death=yes
    }
}

historical_spain0059 = {
    name="Carlos"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0058
    1748.11.11={
        birth=yes
    }
    1819.1.20={
        death=yes
    }
}

historical_spain0060 = {
    name="Fernando"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0059
    1784.10.14={
        birth=yes
    }
    1833.9.29={
        death=yes
    }
}

historical_spain0061 = {
    name="Isabel"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0060
	female = yes
    1830.10.10={
        birth=yes
    }
    1904.4.9={
        death=yes
    }
}

historical_spain0062 = { #add father
    name="Amadeo"
    dynasty = savoia_dynasty 
    religion = "roman_catholic"
    culture= piedmontese
    1845.5.30={
        birth=yes
    }
    1890.1.18={
        death=yes
    }
}

historical_spain0063 = {
    name="Alfonso"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	mother = historical_spain0061
    1857.11.28={
        birth=yes
    }
    1885.11.25={
        death=yes
    }
}

historical_spain0064 = {
    name="Alfonso"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0063
    1886.5.17={
        birth=yes
    }
    1941.2.28={
        death=yes
    }
}

historical_spain0065 = { #post-event confusion
    name="Juan Carlos"
    dynasty_house = house_bourbon_anjou
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0064
    1938.1.5={
        birth=yes
    }
    2000.1.1={
        death=yes
    }
}

#CATALONIA

historical_spain0004 = { #post-event confusion, incorrectly son
    name="Ramiro"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0030
    1007.1.1={
        birth=yes
    }
    1063.5.8={
        death=yes
    }
}

historical_spain0005 = {
    name="Sancho"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0004
    1042.1.1={
        birth=yes
    }
    1094.6.4={
        death=yes
    }
}

historical_spain0006 = {
    name="Pero"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0005
    1068.1.1={
        birth=yes
    }
    1104.9.28={
        death=yes
    }
}

historical_spain0007 = {
    name="Alifonso"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0005
    1073.1.1={
        birth=yes
    }
    1134.9.8={
        death=yes
    }
}

historical_spain0008 = { #dies earlier
    name="Ramiro"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0005
    1086.4.24={
        birth=yes
    }
    1137.11.13={
        death=yes
    }
}

historical_spain0009 = { #dies earlier
    name="Peyronela"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= aragonese
	father = historical_spain0008
	female = yes
    1136.7.29={
        birth=yes
    }
    1164.7.18={
        death=yes
    }
}

historical_spain0010 = {
    name="Alfons"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	mother = historical_spain0009
    1157.1.1={
        birth=yes
    }
    1196.4.25={
        death=yes
    }
}

historical_spain0011 = {
    name="Pere"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0010
    1178.1.1={
        birth=yes
    }
    1213.9.13={
        death=yes
    }
}

historical_spain0012 = {
    name="Jaume"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0011
    1208.2.2={
        birth=yes
    }
    1276.7.27={
        death=yes
    }
}

historical_spain0013 = {
    name="Pere"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0012
    1240.1.1={
        birth=yes
    }
    1285.11.5={
        death=yes
    }
}

historical_spain0014 = {
    name="Alfons"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0013
    1265.1.1={
        birth=yes
    }
    1291.6.18={
        death=yes
    }
}

historical_spain0015 = { #sardinia
    name="Jaume"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0013
    1267.8.10={
        birth=yes
    }
    1327.11.2={
        death=yes
    }
}

historical_spain0016 = {
    name="Alfons"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0015
    1299.1.1={
        birth=yes
    }
    1336.1.24={
        death=yes
    }
}

historical_spain0017 = {
    name="Pere"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0016
    1319.10.5={
        birth=yes
    }
    1387.1.5={
        death=yes
    }
}

historical_spain0018 = {
    name="Joan"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0017
    1350.12.27={
        birth=yes
    }
    1396.5.19={
        death=yes
    }
}

historical_spain0019 = {
    name="Martí"
    dynasty = barcelona_dynasty
    religion = "roman_catholic"
    culture= catalan
	father = historical_spain0018
    1356.1.1={
        birth=yes
    }
    1410.5.31={
        death=yes
    }
}

historical_spain0020 = { #give father
    name="Fernando"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0047
    1380.11.27={
        birth=yes
    }
    1416.4.2={
        death=yes
    }
}

historical_spain0021 = {
    name="Alfonso"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0020
    1396.1.1={
        birth=yes
    }
    1458.6.27={
        death=yes
    }
}

historical_spain0022 = {
    name="Juan"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0020
    1398.6.29={
        birth=yes
    }
    1479.1.19={
        death=yes
    }
}

historical_spain0023 = {
    name="Fernando"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0022
    1452.4.10={
        birth=yes
    }
	1469.1.1 = {
		add_spouse = historical_spain0051
	}
    1516.1.23={
        death=yes
    }
}

historical_spain0024 = { #add mother
    name="Juana"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0023
	mother = historical_spain0051
	female = yes
	trait = possessed_1
    1479.11.6={
        birth=yes
    }
	1496.1.1 = {
		add_spouse = historical_spain0052
	}
    1555.4.12={
        death=yes
    }
}

###CASTILE

historical_spain0025 = { #mythologized
    name="Alfonso"
    dynasty = asturllionesa_dynasty
    religion = "roman_catholic"
    culture= asturleonese
    639.1.1={
        birth=yes
    }
    791.1.1={
        death=yes
    }
}

historical_spain0026 = { #mythologized
    name="Alfonso"
    dynasty = asturllionesa_dynasty
    religion = "roman_catholic"
    culture= asturleonese
	father = historical_spain0025
    760.1.1={
        birth=yes
    }
    866.1.1={
        death=yes
    }
}

historical_spain0027 = { #mythologized
    name="Alfonso"
    dynasty = asturllionesa_dynasty
    religion = "roman_catholic"
    culture= asturleonese
	father = historical_spain0026
    852.1.1={
        birth=yes
    }
    910.1.1={
        death=yes
    }
}

historical_spain0028 = { #mythologized
    name="Alfonso"
    dynasty = asturllionesa_dynasty
    religion = "roman_catholic"
    culture= asturleonese
	father = historical_spain0027
    890.1.1={
        birth=yes
    }
    956.1.1={
        death=yes
    }
}

historical_spain0029 = { #mythologized
    name="Sancho"
    dynasty = asturllionesa_dynasty
    religion = "roman_catholic"
    culture= asturleonese
	father = historical_spain0028
    932.1.1={
        birth=yes
    }
    999.1.1={
        death=yes
    }
}

historical_spain0030 = { #mythologized
    name="Alfonso"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= asturleonese
	father = historical_spain0029
    994.1.1={
        birth=yes
    }
    1037.9.4={
        death=yes
    }
}

historical_spain0031 = {
    name="Fernando"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0030
    1017.1.1={
        birth=yes
    }
    1065.12.24={
        death=yes
    }
}

historical_spain0032 = {
    name="Alfonso"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0031
    1040.1.1={
        birth=yes
    }
    1109.6.30={
        death=yes
    }
}

historical_spain0033 = {
    name="Sancho"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0031
    1036.1.1={
        birth=yes
    }
    1072.10.6={
        death=yes
    }
}

historical_spain0034 = {
    name="Urraca"
    dynasty = jimenez_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0032
	female = yes
    1082.1.1={
        birth=yes
    }
    1126.3.8={
        death=yes
    }
}

historical_spain0035 = {
    name="Alfonso"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0034
    1105.3.1={
        birth=yes
    }
    1157.8.21={
        death=yes
    }
}

historical_spain0036 = {
    name="Sancho"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0035
    1134.1.1={
        birth=yes
    }
    1158.8.31={
        death=yes
    }
}

historical_spain0037 = {
    name="Alfonso"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0036
    1155.11.11={
        birth=yes
    }
    1214.10.6={
        death=yes
    }
}

historical_spain0038 = {
    name="Enrique"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0037
    1204.4.14={
        birth=yes
    }
    1217.6.6={
        death=yes
    }
}

historical_spain0039 = {
    name="Berenguela"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0037
	female = yes
    1180.1.1={
        birth=yes
    }
    1246.11.8={
        death=yes
    }
}

historical_spain0040 = {
    name="Berenguela"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0039
    1200.1.1={
        birth=yes
    }
    1252.5.30={
        death=yes
    }
}

historical_spain0041 = {
    name="Alfonso"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0040
    1221.11.23={
        birth=yes
    }
    1282.4.4={
        death=yes
    }
}

historical_spain0042 = {
    name="Sancho"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0041
    1258.5.12={
        birth=yes
    }
    1295.4.25={
        death=yes
    }
}

historical_spain0043 = {
    name="Fernando"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0042
    1285.12.6={
        birth=yes
    }
    1312.9.7={
        death=yes
    }
}

historical_spain0044 = {
    name="Alfonso"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0043
    1311.8.11={
        birth=yes
    }
    1350.3.26={
        death=yes
    }
}

historical_spain0045 = {
    name="Pedro"
    dynasty = ivrea_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0044
    1334.8.30={
        birth=yes
    }
    1369.3.23={
        death=yes
    }
}

historical_spain0046 = {
    name="Enrique"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0044
	trait = bastard_founder
    1334.1.13={
        birth=yes
    }
    1379.5.29={
        death=yes
    }
}

historical_spain0047 = {
    name="Juan"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0046
    1358.8.24={
        birth=yes
    }
    1390.10.9={
        death=yes
    }
}

historical_spain0048 = {
    name="Enrique"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0047
    1379.10.4={
        birth=yes
    }
    1406.12.25={
        death=yes
    }
}

historical_spain0049 = {
    name="Juan"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0048
    1405.3.6={
        birth=yes
    }
    1454.7.20={
        death=yes
    }
}

historical_spain0050 = {
    name="Enrique"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0049
    1425.1.5={
        birth=yes
    }
    1474.12.11={
        death=yes
    }
}

historical_spain0051 = { #post-event confusion
    name="Isabel"
    dynasty = trastamara_dynasty
    religion = "roman_catholic"
    culture= castilian
	father = historical_spain0050
	female = yes
    1441.4.22={
        birth=yes
    }
	1469.1.1 = {
		add_spouse = historical_spain0023
	}
    1504.11.26={
        death=yes
    }
}