This is the code for "Reports from the ... speak of reduced volcanic activity".
Code:
def doVolcanoDormantEruption(argsList):
kTriggeredData = argsList[0]
pPlot = GC.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
if pPlot.isNone():
return
player = GC.getPlayer(kTriggeredData.ePlayer)
team = player.getTeam()
doVolcanoPlot(pPlot)
doVolcanoNeighbouringPlots(pPlot)
doVolcanoAdjustFertility((pPlot, 1, team))
doVolcanoReport((pPlot, BugUtil.getPlainText("TXT_KEY_EVENT_TRIGGER_VOLCANO_EXTINCT")))
return
(from CvRandomEventInterface.py)
I'm pretty sure the TXT_KEY should be TXT_KEY_EVENTTRIGGER_VOLCANO_SLEEP.
Maybe also there should be some limit check on the adjust fertility, as there is theoretically no limit to how many times this can happen.
The problem I was actually looking for was that the empire usually if not always displays as "???". The variable is %s1_civ_adjective, so maybe that variable is not being initialised or passed, or has the wrong name.
ETA: Delving further, BugUtil.getPlainText is wrong - it is only used where there are no parameters. Should be getText, and empire adjective of the volcano's plot's owner should be passed as a parameter.