Pour que le Traité de Leon, se produise plus souvent :
Code:
#(1450-1650) Treaty of Léon -I-
event = {
id = 3000015
trigger = {
atwar = no
event = 3000013 #CAS: Our capital is surrounded by Granada
OR = {
neighbour = FRA
owned = { province = 423 data = FRA } #Guyenne
owned = { province = 424 data = FRA } #Gascogne
owned = { province = 425 data = FRA } #Béarn
owned = { province = 426 data = FRA } #Roussillon
[COLOR=Yellow]AND = {
neighbour = BEA
OR = {
alliance = { country = FRA country = BEA }
vassal = { country = FRA country = BEA }
}
}[/COLOR]
}
neighbour = GRA
NOT = { alliance = { country = CAS country = FRA } }
NOT = { vassal = { country = CAS country = GRA } }
NOT = { vassal = { country = CAS country = FRA } }
NOT = { vassal = { country = FRA country = CAS } }
NOT = { countrysize = 10 }
NOT = { provincereligion = { province = 436 data = catholic } } #Castilla
NOT = { provincereligion = { province = 438 data = catholic } } #Murcia
NOT = { provincereligion = { province = 439 data = catholic } } #Toledo
NOT = { provincereligion = { province = 440 data = catholic } } #Estramadura
NOT = { provincereligion = { province = 443 data = catholic } } #Andalusia
NOT = { event = 3000011 } #CAS: Treaty of Léon -II-
}
random = no
country = CAS
name = "EVENTNAME3000015" #The Treaty of Léon
desc = "EVENTHIST3000015"
#-#
date = { day = 1 month = january year = 1450 }
offset = 3
deathdate = { day = 29 month = december year = 1650 }
action_a = {
name = "ACTIONNAME3000015A" #Offer the Treaty
command = { type = revoltrisk which = 60 value = 1 }
command = { type = domestic which = innovative value = 1 }
command = { type = domestic which = offensive value = -1 }
command = { type = relation which = FRA value = -100 }
command = { type = relation which = PAP value = -50 }
command = { type = relation which = GRA value = 50 }
command = { type = trigger which = 3000030 } #GRA: The Treaty of Léon
command = { type = sleepevent which = 3000011 } #CAS: Treaty of Léon -II-
}
action_b = {
name = "ACTIONNAME3000015B" #Ask France for protection instead
command = { type = MIL which = 3 value = 60 }
command = { type = DIP which = -3 value = 60 }
command = { type = domestic which = innovative value = -1 }
command = { type = domestic which = offensive value = -1 }
command = { type = relation which = FRA value = 100 }
command = { type = relation which = PAP value = 50 }
command = { type = relation which = GRA value = -50 }
command = { type = trigger which = 3000033 } #FRA: Castile ask for our protection against the infidels
command = { type = sleepevent which = 3000011 } #CAS: Treaty of Léon -II-
}
}
#-#In response to the growing power of Granada and France, Castile summoned the Iberian nations to a meeting in Léon. The purpose of the meeting was to settle final borders across the Iberian peninsula, and ensure the survival of Christian Iberia. Here Castile offered to forfeit their claims on the Kingdom of Castile and loyalty to Granada in exchange for safe passage for all Christian Iberians to Castile and a stop for further Granadian expansion in Iberia.
Code:
#(1450-1650) Treaty of Léon -II-
event = {
id = 3000011
trigger = {
atwar = no
event = 3000013 #CAS: Our capital is surrounded by Granada
NOT = {
neighbour = FRA
owned = { province = 423 data = FRA } #Guyenne
owned = { province = 424 data = FRA } #Gascogne
owned = { province = 425 data = FRA } #Béarn
owned = { province = 426 data = FRA } #Roussillon
[COLOR=Yellow]AND = {
neighbour = BEA
OR = {
alliance = { country = FRA country = BEA }
vassal = { country = FRA country = BEA }
}
}[/COLOR]
}
neighbour = GRA
NOT = { alliance = { country = CAS country = FRA } }
NOT = { vassal = { country = CAS country = GRA } }
NOT = { vassal = { country = CAS country = FRA } }
NOT = { vassal = { country = FRA country = CAS } }
NOT = { countrysize = 10 }
NOT = { provincereligion = { province = 436 data = catholic } } #Castilla
NOT = { provincereligion = { province = 438 data = catholic } } #Murcia
NOT = { provincereligion = { province = 439 data = catholic } } #Toledo
NOT = { provincereligion = { province = 440 data = catholic } } #Estramadura
NOT = { provincereligion = { province = 443 data = catholic } } #Andalusia
NOT = { event = 3000015 } #CAS: Treaty of Léon -I-
}
random = no
country = CAS
name = "EVENTNAME3000015" #The Treaty of Léon
desc = "EVENTHIST3000011"
#-#
date = { day = 1 month = january year = 1450 }
offset = 3
deathdate = { day = 29 month = december year = 1650 }
action_a = {
name = "ACTIONNAME3000015A" #Offer the Treaty
command = { type = revoltrisk which = 60 value = 1 }
command = { type = domestic which = innovative value = 1 }
command = { type = domestic which = offensive value = -1 }
command = { type = relation which = PAP value = -50 }
command = { type = relation which = GRA value = 50 }
command = { type = trigger which = 3000030 } #GRA: The Treaty of Léon
command = { type = sleepevent which = 3000015 } #CAS: Treaty of Léon -I-
}
}
#-#In response to the growing power of Granada, Castile summoned the Iberian nations to a meeting in Léon. The purpose of the meeting was to settle final borders across the Iberian peninsula, and ensure the survival of Christian Iberia. Here Castile offered to forfeit their claims on the Kingdom of Castile and loyalty to Granada in exchange for safe passage for all Christian Iberians to Castile and a stop for further Granadian expansion in Iberia.
Mais c'est peut-être CAS_3000013 qui pose le plus gros problème, non ?
Trigger:
Code:
trigger = {
atwar = no
event = 176012 #GRA: al-Andalus belongs to us!
owned = { province = 435 data = -1 } #Léon
control = { province = 435 data = -1 } #Léon
owned = { province = 436 data = GRA } #Castilla
owned = { province = 438 data = GRA } #Murcia
owned = { province = 440 data = GRA } #Estramadura
owned = { province = 443 data = GRA } #Andalusia
OR = {
owned = { province = 431 data = -1 } #Cantabria
owned = { province = 432 data = -1 } #Asturias
owned = { province = 433 data = -1 } #Galicia
}
NOT = { owned = { province = 437 data = -1 } } #Valencia
OR = {
flag = [Caliphate_Granada]
flag = [Resurgant_Granada]
}
}
Pour les populations déplacées, dans les autres événements du scénario on garde le même nombre. Mieux vaut ne pas changer de règle.
Dans les monarques de Grenade, on a :
Code:
historicalmonarch = {
id = { type = 6 id = 054007 }
startdate = {
year = 1447
}
deathdate = {
year = 1454
}
name = "Civil war"
DIP = 1
MIL = 1
ADM = 1
dormant = no
}
C'est sûr que ça fait tache mais ça arrive avant le Caliphat donc difficile de raccrocher à un événement existant du scénario...
On a toutefois plusieurs solutions:
1) Endormir tous les events Banu al-Sarraj à partir du III et endormir les monarques liés (surtout l'event V Civil War) si l'event régulier GRA_176012 "al-Andalus belongs to us" + une autre condition countrysize = 5 qui représente déjà une bonne première victoire.
2) Dès que le caliphat est déclaré, GRA_176010 devient indésirable (ce n'est plus un émir en plus...)
3) Les random 176021, 176022, 176023 et 176024 n'ont plus aucun sens avec le traité de Léon ou Cordoba (3000018) signé
Et une petite modification :
Code:
#(1419-1820) Mozarab revolt
event = {
id = 176024
trigger = {
NOT = { domestic = { type = innovative value = 5 } }
}
random = yes
country = GRA
name = "EVENTNAME176024" #Mozarab revolt
desc = "EVENTHIST176024"
#-#
action_a = {
name = "ACTIONNAME176024A" #Crush the mozarabs!
command = { type = revolt which = -1 }
command = { type = revolt which = -3 }
command = { type = stability value = 1 }
}
action_b = {
name = "ACTIONNAME176024B" #Relax the pressure
command = { type = domestic which = innovative value = 1 }
command = { type = stability value = -2 }
command = { type = provincetax which = [COLOR=Red]445[/COLOR][COLOR=Yellow]-3[/COLOR] value = -1 } [COLOR=Red]#Gibraltar[/COLOR]
}
}
#-#The Mozarabs were the Christian community that lived among the Muslims in
Anal-Andalus. They could keep their religion by paying high taxes and by not showing signs of their faith openly. But sometimes, the pressure of the
moslemMuslim community was so high that they rebelled.
En dehors des erreurs dans le texte, aucune raison que ce soit toujours Gibraltar qui morfle pour le choix b mais bien la même province que celle qui est concernée dans le choix a.
Toujours des trucs à corriger, suffit de se pencher un peu... o
J'attends les avis avant de scripter les trois points.
EDIT: remplacé NAV (erreur) par BEA pour le Traité de Léon.