If you don't mind, I'm going to take a look at this code later today when I have time... Maybe try to set it up in it's own Lua file (rather than overwriting the core file).
Random events v6Ideas for new random events are welcome
An idea-- go REALLY big with some truly giant (and for balance and realism reasons, VERY unlikely) events.
My fave-- An ASTEROID hits the world and annihilates 25% of the entire map. (Just use a bunch of nuke animations)
Other thoughts-- A Yellowstone SUPERVOLCANO-type eruption and all of the itinerant effects.
Tornadoes-- Very small, utterly devastating.
An alien landing-- Totally unpredictable, completely unequivocal event.
Zombie breakout-- The undead randomly rise, kill and turn your units into more undead.
I say go crazy with this!