• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Emre Yigit

Creeping out of Covid hibernation
73 Badges
Jun 13, 2001
5.462
3.803
  • Cities: Skylines - Snowfall
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Semper Fi
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Battle for Bosporus
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
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.

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.