Opuhara
Warlord
thanks for this new version
when you get the first vote for empirean it talks about "united nations"
when you get the first vote for empirean it talks about "united nations"
I understand that Bloom now takes two turns, but the mechanics are a little awkward. After casting the spell, on the next turn the Priest has movement points indicated, but still cannot move. A better implementation would be for the Priest not to 'wake up' until the Bloom is complete -- same as with a Worker building a road.
def canTriggerMushrooms(argsList):
kTriggeredData = argsList[0]
pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
if pPlot.isPeak():
return False
return True
Possible fix for the Mushroom event spawning on peaks:
Spoiler :
Edit: CIV4EventTriggerInfos.xml -> EVENTTRIGGER_MUSHROOMS: <PythonCanDo>canTriggerMushrooms</PythonCanDo>
Edit: CvRandomEventInterface.py -> Add the following canTriggerMushrooms function:
Code:def canTriggerMushrooms(argsList): kTriggeredData = argsList[0] pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY) if pPlot.isPeak(): return False return True
Haven't been able to test it yet...but it should work unless I'm forgetting a step?
OK I'm no python expert, but wouldn't you want an "else" in there after "return False"?
Al
Is anyone else unable to download the patch?