So.
After recently discovering how (seemingly) easy it is to write events, I decided to write an event to make Württemberg form Swabia.
When I go to test it, the game tells me on the loading screen that certain lines have an "unknown event type". What does this mean? How can I fix it?
After recently discovering how (seemingly) easy it is to write events, I decided to write an event to make Württemberg form Swabia.
Code:
event = {
id = 100001
trigger = {
owned = { province = 373 data = -1 }
owned = { province = 372 data = -1 }
random = no
country = WUR
name = "The Restoration of the Duchy of Swabia"
desc = "The title of Duke of Swabia has lain vacant ever since John the Parricide killied the Emperor Albrecht within sight of the castle of Habsburg. Now, with the land united under one ruler and the Habsburg legacy swept away, the ducal crown is open to you, along with its associations of rule of all the former territories of the Allemani.
style = 1
action_a ={
name = "Take up the mantle of Duke"
command = { type = country which = SWA }
command = { type = addcore which = 373 }
command = { type = addcore which = 374 }
command = { type = addcore which = 388 }
command = { type = addcore which = 1612 }
command = { type = treasury value = -50 }
command = { type = domestic which = centralization value = 3 }
command = { type = stability value = -2 }
}
action_b ={
name = "Remain Count of Wurttemberg"
command = { type = domestic which = aristocracy value = 3 }
command = { type = stability value = 3 }
When I go to test it, the game tells me on the loading screen that certain lines have an "unknown event type". What does this mean? How can I fix it?