As I thought those were great additions I copied the idea for A4K as unification events. Yet event though the requirements are met the event does't fire and can't be triggered manually.
Or can somebody spot an error in the trigger/event?
Code:
# Saxony #
event = {
id = 607001
trigger = {
atwar = no
isvassal = no
stability = 1
countrysize = 4
someof = {
number = 2
owned = { province = 329 data = -1 }
owned = { province = 331 data = -1 }
owned = { province = 332 data = -1 }
}
NOT = { exists = SAC }
OR = {
tag = MEI # Meißen
tag = SWI # Sachsen-Wittenberg
tag = ANH # Anhalt
}
}
name = "The Duchy of Saxony"
desc = "Sir, we have conquered most of the Upper Saxon lands and can now lay claim to the ducal title of Saxony. What shall we do?"
date = { day = 1 month = january year = 1399 }
offset = 30
deathdate = { day = 1 month = january year = 1700 }
action = {
name = "We are Saxony!"
command = { type = vp value = 50 }
command = { type = diplomats value = 2 }
command = { type = addcore_national which = 327 } # Upper Saxon provinces
command = { type = addcore_national which = 328 }
command = { type = addcore_national which = 329 }
command = { type = addcore_national which = 330 }
command = { type = addcore_national which = 331 }
command = { type = addcore_national which = 332 }
command = { type = country which = SAC }
}
action = {
name = "We are who we are."
command = { type = provincetax which = -2 value = 3 }
command = { type = populationpercent which = -2 value = 5 }
command = { type = relation which = -6 value = 200 }
command = { type = relation which = -7 value = 100 }
command = { type = relation which = -7 value = 100 }
command = { type = relation which = -7 value = 100 }
command = { type = relation which = -7 value = 100 }
command = { type = treasury value = 500 }
command = { type = stability value = 1 }
}
}
Or can somebody spot an error in the trigger/event?