if (GC.getGameINLINE().getSorenRandNum(GC.getBuildingInfo((BuildingTypes)iI).getNukeExplosionRand(), "Meltdown!!!") == 0)
[COLOR="SeaGreen"][B]// If a random number between 0 and 1999 is equal to 0...[/B][/COLOR]
{
if (getNumRealBuilding((BuildingTypes)iI) > 0)
{
setNumRealBuilding(((BuildingTypes)iI), 0);
}
[COLOR="SeaGreen"][B]// i.e. Gets rid of the building that caused the meltdown (nuclear plant)[/B][/COLOR]
plot()->nukeExplosion(1);
[COLOR="SeaGreen"][B]// Set off a nuclear explosion (same as tac nuke or ICBM)[/B][/COLOR]
szBuffer = gDLL->getText("TXT_KEY_MISC_MELTDOWN_CITY", getNameKey());
gDLL->getInterfaceIFace()->addMessage(getOwnerINLINE(), false, GC.getEVENT_MESSAGE_TIME(), szBuffer, "AS2D_MELTDOWN", MESSAGE_TYPE_MINOR_EVENT, ARTFILEMGR.getInterfaceArtInfo("INTERFACE_UNHEALTHY_PERSON")->getPath(), (ColorTypes)GC.getInfoTypeForString("COLOR_RED"), getX_INLINE(), getY_INLINE(), true, true);
[COLOR="SeaGreen"][B]// Tell the player about it.[/B][/COLOR]
break;
}