I wonder if anyone can take a look at this and tell me why it wouldn't fire? It works as designed if F12'd.
Thanks in advance.
Code:
event = {
id = 200017
random = no
country = XXX
trigger = {
industry = 200
}
name = "Agriculture and Mining Advance!"
desc = "The development of agriculture and mining has allowed great improvements in efficiency."
style = 0
date = { month = january year = 1850 }
offset = 10
action_a = {
name = "OK" # Excellent!
command = { type = production_modifier which = cotton_plantation value = 10 }
command = { type = production_modifier which = dye_plantation value = 10 }
command = { type = production_modifier which = tobacco_plantation value = 10 }
command = { type = production_modifier which = tea_plantation value = 10 }
command = { type = production_modifier which = coffee_plantation value = 10 }
command = { type = production_modifier which = opium_plantation value = 10 }
command = { type = production_modifier which = sheep_ranch value = 10 }
command = { type = production_modifier which = silkworm_ranch value = 10 }
command = { type = production_modifier which = cattle_ranch value = 10 }
command = { type = production_modifier which = fishing_wharf value = 10 }
command = { type = production_modifier which = orchard value = 10 }
command = { type = production_modifier which = grain_farm value = 10 }
command = { type = production_modifier which = coal_mine value = 10 }
command = { type = production_modifier which = sulphur_mine value = 10 }
command = { type = production_modifier which = iron_mine value = 10 }
command = { type = production_modifier which = precious_metal_mine value = 10 }
command = { type = production_modifier which = timber_lodge value = 10 }
command = { type = production_modifier which = tropical_wood_lodge value = 10 }
command = { type = production_modifier which = rubber_lodge value = 10 }
command = { type = production_modifier which = oil_rig value = 10 }
}
}
Thanks in advance.