i'm new to event making so i thought i'd do something simple. I have made an event that adds the Hoover Dam in for the USA in 1936 but the game wont start saying there is an error in a line somewhere.
Here's the Code:
event = {
id = 1610199
random = no
country = USA
trigger = {
random = 95
}
date = { day = 1 month = march year = 1936 }
offset = 10
deathdate = { day = 30 month = december year = 1936 }
name = "The Hoover Dam is completed"
desc = "The dam named after our previous president is complete, the energy from this dam will be useful for our industry and population."
style = 2
picture = "Autobahn"
action = {
name = "1610199a"
command = { type = dissent value = -5 }
command = { type = industrial_modifier which = total value = 2 }
command = { type = construct which = infrastructure where = 1889 value = 10 }
command = { type = construct which = infrastructure where = 1887 value = 10 }
command = { trigger = { ai = no } type = money value = -700 }
Command = {type = energypool value = 50 where = 1889 }
I haven't completed it yet but i was hoping that the above was in working order at the least. When it works i'll tweak it so its more accurate(no autobahn picture)

Here's the Code:
event = {
id = 1610199
random = no
country = USA
trigger = {
random = 95
}
date = { day = 1 month = march year = 1936 }
offset = 10
deathdate = { day = 30 month = december year = 1936 }
name = "The Hoover Dam is completed"
desc = "The dam named after our previous president is complete, the energy from this dam will be useful for our industry and population."
style = 2
picture = "Autobahn"
action = {
name = "1610199a"
command = { type = dissent value = -5 }
command = { type = industrial_modifier which = total value = 2 }
command = { type = construct which = infrastructure where = 1889 value = 10 }
command = { type = construct which = infrastructure where = 1887 value = 10 }
command = { trigger = { ai = no } type = money value = -700 }
Command = {type = energypool value = 50 where = 1889 }
I haven't completed it yet but i was hoping that the above was in working order at the least. When it works i'll tweak it so its more accurate(no autobahn picture)
