I've been completely re-doing the economy and i came to a stump since i cant get the AI to build the new building placed in AoD (any ideas about this?). So i wanted to make an event that would put them in the AIs build list when they started to have economic troubles like say under 1000 energy. I cant get this to trigger so any help would be appreciated.
event = {
id = 19200021
random = no
style = 0
offset = 3
trigger = {
ai = yes
rare_materials >= 1000
}
date = { day = 25 month = may year = 1937 }
deathdate = { day = 30 month = december year = 1999 }
name = "AI_EVENT"
action_a = {
command = { type = construct which = synthetic_rares where = -1 value = 4 }
command = { type = construct which = synthetic_rares where = -1 value = 4 }
}
}
Also as a side note can the AI mange the new bars like nuclear power funding and military budget?
event = {
id = 19200021
random = no
style = 0
offset = 3
trigger = {
ai = yes
rare_materials >= 1000
}
date = { day = 25 month = may year = 1937 }
deathdate = { day = 30 month = december year = 1999 }
name = "AI_EVENT"
action_a = {
command = { type = construct which = synthetic_rares where = -1 value = 4 }
command = { type = construct which = synthetic_rares where = -1 value = 4 }
}
}
Also as a side note can the AI mange the new bars like nuclear power funding and military budget?