• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(13123)

Corporal
Dec 25, 2002
37
0
Visit site
I installed EEP a while ago and have thoroughly enjoyed it playing as various large nations. When I wanted to try my luck at playing Granada, however, I noticed that they didn't have very many events. So I decided to write a few. I checked my events with the event parser available on the internet and everything worked fine. However, I do have a problem. I can't seem to find the eventlist file to register my events. As such, they don't seem to be firing at all when I have accomplished all the trigger requirements. How do I register events into the EEP?

Thanks.
 
Did you create a new event file? If so, did you enter it into the event database? If not, insert the appropriate line into the event.txt in your...\Europa Universalis 2\EEP\db folder.
 
Hmmm, so do you know if the events actually work? Have you tried manually triggering them in console window?
 
Yes, I've triggered all of them using F12 and typing the event, and they each work perfectly when triggered manually. The first event - event 176001, is supposed to trigger the rest of them. However, when I trigger it and wait 100 days (this is the offset for the second event) nothing happens. I have to trigger each of them manually.

Perhaps if I typed the events, you could check them...

#Renaissance
event = {
id = 176001
trigger = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 442 data = -1 } # Algarve
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 439 data = -1 } # Toledo
owned = { province = 438 data = -1 } # Murcia

OR = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 442 data = -1 } # Algarve
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 439 data = -1 } # Toledo
owned = { province = 436 data = -1 } # Castilla

}

OR = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 442 data = -1 } # Algarve
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 436 data = -1 } # Castilla
owned = { province = 438 data = -1 } # Murcia

}

OR = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 442 data = -1 } # Algarve
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 436 data = -1 } # Castilla
owned = { province = 439 data = -1 } # Toledo
owned = { province = 438 data = -1 } # Murcia

}


OR = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 442 data = -1 } # Algarve
owned = { province = 436 data = -1 } # Castilla
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 439 data = -1 } # Toledo
owned = { province = 438 data = -1 } # Murcia

}


OR = {

owned = { province = 441 data = -1 } # Tago
owned = { province = 436 data = -1 } # Castilla
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 439 data = -1 } # Toledo
owned = { province = 438 data = -1 } # Murcia

}

OR = {

owned = { province = 436 data = -1 } # Castilla
owned = { province = 442 data = -1 } # Algarve
owned = { province = 443 data = -1 } # Andalusia
owned = { province = 440 data = -1 } # Estramadura
owned = { province = 439 data = -1 } # Toledo
owned = { province = 438 data = -1 } # Murcia

}

}

random = no
country = GRA
name = "Granada at the edge of reconquesta"
desc = "The Granadans, having smashed the Iberians, now style themselves as heirs to a legacy of unimaginable glory. Having emerged supreme, the Granadans chose to embark upon the road towards high civilization. Let the word ring that a renaissance is in the air. In Iberia, the Granadans have invoked the ghost of the old Caliphate."
style = 1
date = { day = 1 month = january year = 1419 }
deathdate = { day = 1 month = january year = 1510 }
action_a = {
name = "Let us instigate the ghost of the Caliphate of Cordoba"
command = { type = provinceculture which = 443 value = berber }
command = { type = domestic which = INNOVATIVE value = 2 }
command = { type = technology which = latin }
command = { type = capital which = 443 }
command = { type = provincereligion which = 443 value = sunni }
command = { type = infra value = 2000 }
command = { type = trade value = 2000 }
command = { type = stability value = 3 }
command = { type = trigger which = 176002 }
command = { type = trigger which = 176003 }
command = { type = trigger which = 176004 }
command = { type = trigger which = 176005 }
command = { type = trigger which = 176006 }

}
}

#The Renaissance of Granada #1 - The Nobility
event = {
id = 176002 #Triggered by Granada event 176001
trigger = {

event = 176001

not = {

domestic = {
type = centralization
value = 7

}

}
domestic = {
type = aristocracy
value = 7
}

}


random = no
country = GRA
name = "The Granadan Renaissance"
desc = "A major reason for the historic fall of Granada was infighting amongst its noble families. Now that Granada has emerged from the fire, shall it commit its resources to destroying the power of nobles and to centralize the state under a single individual?"
style = 1
deathdate = { day = 1 month = january year = 1600 }
offset = 100
action_a = {
name = "Curb the power of the nobility"
command = { type = domestic which = CENTRALIZATION value = 1 }
command = { type = domestic which = ARISTOCRACY value = -2 }
command = { type = infra value = 500 }
command = { type = trade value = 500 }
command = { type = stability value = -3 }
command = { type = revoltrisk which = 24 value = 3 }

}
action_b = {
name = "May their hands guide our destiny"
command = { type = domestic which = CENTRALIZATION value = -2 }
command = { type = domestic which = ARISTOCRACY value = 1 }
command = { type = infantry which = -1 value = 10000 }
command = { type = cavalry which = -1 value = 7500 }
command = { type = land value = 1000 }
command = { type = stability value = 2 }
command = { type = revoltrisk which = 24 value = -3 }

}

}

#The Renaissance of Granada #2 - Palaces
event = {
id = 176003 #Triggered by Granada event 176001
trigger = {

event = 176001 }
random = no
country = GRA
name = "The Granadan Renaissance"
desc = ""
style = 1

deathdate = { day = 1 month = january year = 1600 }
Offset = 500
action_a = {
name = "Build grand palaces to commemorate our glory"
command = { type = stability value = 3}
command = { type = inflation value = 3 }
command = { type = treasury value = -300 }
command = { type = gainmanufactory which = 443 value = luxury }
command = { type = gainmanufactory which = -1 value = luxury }
command = { type = infra value = 500 }

}

action_b = {
name = "Let us not stress our treasury"
command = { type = vp value = -25 }

}
}

#Reislamisation of Iberia
event = {
id = 176004
trigger = {

event = 176001 }
random = no
country = GRA
name = "Reislamisation of Iberia"
desc = ""
style = 1
deathdate = { day = 1 month = january year = 1600 }
Offset = 5000

action_a = {
name = "They shall flock to our banner"
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }


}

action_b = {
name = "We shall tolerate diversity in all forms"
command = { type = domestic which = INNOVATIVE value = 4 }

}

action_c = {
name = "Jihad!"
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincereligion which = -1 value = sunni }
command = { type = provincereligion which = -1 value = sunni }
command = { type = provinceculture which = -1 value = berber }
command = { type = provinceculture which = -1 value = berber }
command = { type = domestic which = INNOVATIVE value = -6 }
command = { type = technology which = muslim }
command = { type = revoltrisk which = 60 value = 15 }
command = { type = desertion which = -1 value = 5000 }
command = { type = desertion which = -1 value = 5000 }

}
}

#Gaining Random Explorers
event = {
id = 176005
trigger = {

event = 176001 }
random = yes
country = GRA
name = "Crossing the great sea"
desc = "The great oceans which seperates Western Europe and the meditteranean from the Americas and India was first crossed by the Portuguese and the Spanish. The great strategic location of these two nations, being at the very edge of Europe is what allowed them to achieve such outstanding maritime legacies. Granada too is situated on the flank of Europe. Might it too become a maritime power?"
style = 1
deathdate = { day = 1 month = january year = 1650 }

action_a = {
name = "Open the sea for the spread of Islam"
command = { type = domestic which = INNOVATIVE value = 1 }
command = { type = domestic which = LAND value = -1 }
command = { type = colonists value = 2 }
command = { type = explorer which = -1 }


}

action_b = {
name = "The sea is infinitely endowed with many dangers"
command = { type = domestic which = LAND value = 1 }
command = { type = stability value = 1 }


}

}

#Gaining Random Explorers
event = {
id = 176006
trigger = {

event = 176001 }
random = yes
country = GRA
name = "Crossing the great sea"
desc = "The great oceans which seperates Western Europe and the meditteranean from the Americas and India was first crossed by the Portuguese and the Spanish. The great strategic location of these two nations, being at the very edge of Europe is what allowed them to achieve such outstanding maritime legacies. Granada too is situated on the flank of Europe. Might it too become a maritime power?"
style = 1
deathdate = { day = 1 month = january year = 1650 }

action_a = {
name = "Open the sea for the spread of Islam"
command = { type = domestic which = INNOVATIVE value = 1 }
command = { type = domestic which = LAND value = -1 }
command = { type = colonists value = 2 }
command = { type = explorer which = -1 }


}
 
The trigger on 176001 is pretty weird. It requires that Granada own ALL of the named provinces (Tago, Algarve, Andalusia, Estramadura, Toledo, Murcia), and that it own one of those same 6 provinces, 6 times over.

I don't think this is intended.

The triggers are implicit AND. That means that all of the 7 conditions in the trigger must be met.

The OR= condition is satisfied when any one of the conditions inside the braces are satisfied.