The Forging of the Spanish Identity - reworked sequence
Dormant monarch in monarchs.spa:
Code:
#if Castile becomes Spain without Aragon
historicalmonarch = {
id = { type = 6 id = 0127524 }
startdate = {
day = 11
month = december
year = 1474
}
deathdate = {
day = 25
month = november
year = 1504
}
name = "Isabel I"
DIP = 9
MIL = 5
ADM = 8
dormant = yes
}
historicalmonarch = {
id = { type = 6 id = 0127525 }
startdate = {
day = 25
month = november
year = 1504
}
deathdate = {
day = 23
month = january
year = 1516
}
name = "Juana I"
DIP = 3
MIL = 2
ADM = 3
dormant = no
remark = "'la Loca'"
}
#if Aragon becomes Spain without Castile
historicalmonarch = {
id = { type = 6 id = 0127526 }
startdate = {
year = 1479
}
deathdate = {
day = 23
month = january
year = 1516
}
name = "Fernando I"
DIP = 8
MIL = 8
ADM = 6
dormant = yes
remark = "El Rey Católico."
}
Tweak for wrong date in monarchs.cas (day range is 0-29):
Code:
historicalmonarch = {
id = { type = 6 id = 029504 }
startdate = {
day = [COLOR=Yellow]25[/COLOR]
month = november
year = 1504
}
deathdate = {
day = 25
month = september
year = 1506
}
name = "Felipe I"
DIP = 3
MIL = 2
ADM = 3
dormant = no
remark = "'el Hermoso', and Juana 'la Loca'"
}
Reworked events:
Code:
#(1479-1491) Orphan kingdom of Castile
#by Twoflower and Fodoron
event = {
id = 142016
trigger = {
OR = {
NOT = { #ARG missing but not by inheritance
exists = ARG
event = 142013
}
NOT = { event = 142010 } #CAS: Isabel's choice of husband (ARG refused union)
}
NOT = { exists = SPA }
}
random = no
country = CAS
name = "EVENTNAME[COLOR=Yellow]111026[/COLOR]" #The Forging of the Spanish Identity
desc = "EVENTHIST142016"
#-#
date = { day = [COLOR=Yellow]20[/COLOR] month = january year = 1479 } [COLOR=Yellow]#was 16[/COLOR]
offset = 100
deathdate = { day = 29 month = december year = 1491 }
action_a = {
name = "ACTIONNAME142016A" #Yes, Castile shall become Spain
command = { type = addcore which = 427 } #Gerona
command = { type = addcore which = 429 } #Catalonia
command = { type = addcore which = 430 } #Aragon
command = { type = addcore which = 437 } #Valencia
command = { type = addcore which = 821 } #The Baleares
command = { type = addcore which = 428 } #Navarra
command = { type = add_countryculture which = amazonian } #Catalan
command = { type = flagname which = "" }
command = { type = country which = SPA }
command = { type = domestic which = centralization value = 1 }
[COLOR=Red]command = { type = sleepleader which = 0127802 } #Prospero Colonna (SPA)[/COLOR]
[COLOR=Yellow]command = { type = trigger which = 285278 } #SPA: The Forging of the Spanish Identity[/COLOR]
#command = { type = AI which = Spa_time1479.ai } #War of granada
#command = { type = sleepevent which = 990100 } #Spanish bpai up to Dec. 1479 #SPA_AI_EVENT
#command = { type = sleepevent which = 990101 } #Spanish bpai 1480-1490 #SPA_AI_EVENT
}
action_b = {
name = "ACTIONNAME142016B" #No, Castile is good enough
command = { type = stability value = 1 }
}
}
#-#For centuries the Christians in the Iberian peninsula have dreamed of restoring the Visigothic kingdom that was destroyed by the Muslim invasion. Many kings have tried to achieve this union of Christians by force of arms, and have carried the title of Hispaniorum Imperator. Between them Sancho III of Navarre and Alfonso VII of Castile were close to achieve unity. But it was not by force that unity could be imposed, as a strong sense of freedom have been developed by the
Iberians in their long struggle against Islam, manifested in an equally long struggle against their Christian neighbors. As the kingdom of Aragon cannot claim the title of Hispaniorum Imperator
, Castile has no big opponent to resu
scitate the kingdom of Spain.
Code:
#(1479-1491) Orphan kingdom of Aragon
#by Twoflower and Fodoron
event = {
id = 111026
trigger = {
OR = {
NOT = { #CAS missing but not by inheritance
exists = CAS
event = 111024
}
NOT = { event = 142012 } #CAS: Isabel and Fernando kings of Castile (CAS rejected union)
}
NOT = { exists = SPA }
[COLOR=Yellow]OR = {
owned = { province = 431 data = -1 } #Cantabria
owned = { province = 433 data = -1 } #Galicia
owned = { province = 443 data = -1 } #Andalusia
}
OR = {
owned = { province = 435 data = -1 } #Leon
owned = { province = 436 data = -1 } #Castilla
owned = { province = 440 data = -1 } #Estramadura
}[/COLOR]
}
random = no
country = ARG
name = "EVENTNAME111026" #The Forging of the Spanish Identity
desc = "EVENTHIST111026"
#-#
date = { day = [COLOR=Yellow]20[/COLOR] month = january year = 1479 } [COLOR=Yellow]#was 16[/COLOR]
offset = 100
deathdate = { day = 29 month = december year = 1491 }
action_a = {
name = "ACTIONNAME111026A" #Yes, Aragon shall become Spain
command = { type = addcore which = 431 } #Cantabria
command = { type = addcore which = 432 } #Asturias
command = { type = addcore which = 433 } #Galicia
command = { type = addcore which = 435 } #Leon
command = { type = addcore which = 436 } #Castilla
command = { type = addcore which = 438 } #Murcia
command = { type = addcore which = 439 } #Toledo
command = { type = addcore which = 440 } #Extremadura
command = { type = addcore which = 443 } #Andalucia
command = { type = addcore which = 444 } #Gibraltar
command = { type = addcore which = 445 } #Granada
command = { type = addcore which = 817 } #The Canary Islands
command = { type = add_countryculture which = iberian } #Castilian
command = { type = flagname which = "" }
command = { type = country which = SPA }
command = { type = domestic which = centralization value = 1 }
command = { type = sleepleader which = 010812 } #Prospero Colonna (ARG)
[COLOR=Yellow]command = { type = trigger which = 285279 } #SPA: The Forging of the Spanish Identity[/COLOR]
#command = { type = AI which = Spa_time1479.ai } #ar of granada
#command = { type = sleepevent which = 990100 } #Spanish bpai up to Dec. 1479 #SPA: AI_EVENT
#command = { type = sleepevent which = 990101 } #Spanish bpai 1480-1490 #SPA: AI_EVENT
#command = { type = wakeleader which = XXXXX } #Fernando of Aragon - removed in 1.40 => no such leader for Aragon
}
action_b = {
name = "ACTIONNAME111026B" #No, Aragon is good enough
command = { type = stability value = 1 }
}
}
For centuries the Christians in the Iberian peninsula have dreamed of restoring the Visigothic kingdom that was destroyed by the Muslim invasion. Many kings have tried to achieve this union of Christians by force of arms, and have carried the title of Hispaniorum Imperator. Between them Sancho III of Navarre and Alfonso VII of Castile were close to achieve unity. But it was not by force that unity could be imposed, as a strong sense of freedom have been developed by the
Iberians in their long struggle against Islam, manifested in an equally long struggle against their Christian neighbors. As the kingdom of Castile cannot claim the title of Hispaniorum Imperator
, Aragon has no big opponent to resu
scitate the kingdom of Spain.
New events:
Code:
#(1479-1491) The Forging of the Spanish Identity - Ahistorical
event = {
id = 285278 #triggered by CAS_142016 A
random = no
country = SPA
name = "EVENTNAME111026" #The Forging of the Spanish Identity
desc = "EVENTHIST285278"
#-#
action_a = {
name = "VIVAT"
command = { type = sleepmonarch which = 0127500 } #Isabel y Fernando
command = { type = wakemonarch which = 0127524 } #Isabel I
command = { type = wakemonarch which = 0127525 } #Juana I
command = { type = sleepleader which = 0127802 } #Prospero Colonna (SPA)
}
}
EVENTHIST285278;Isabel I of Castile becomes the queen of Spain as Isabel I.;;;;;;;;;;
Code:
#(1479-1491) The Forging of the Spanish Identity - Ahistorical
event = {
id = 285279 #triggered by ARG_111026 A
random = no
country = SPA
name = "EVENTNAME111026" #The Forging of the Spanish Identity
desc = "EVENTHIST285279"
#-#
action_a = {
name = "VIVAT"
command = { type = sleepmonarch which = 0127500 } #Isabel y Fernando
command = { type = wakemonarch which = 0127526 } #Fernando I
}
}
EVENTHIST285279;Ferrán II of Aragon becomes the king of Spain as Fernando I.;;;;;;;;;;
I'm not sure but it seems to be a big bugfix to me rather than a modification.
With this, Castile has more chance to become Spain because of added conditions in trigger of ARG event and we still have a door open for unification before 1515 and possible struggle between Felipe and Fernando because of Juana.