v140.3 Moai Randomly Appearing

Toddy

Chieftain
Joined
Apr 9, 2010
Messages
74
Playing as Alex and just noticed some Moai improvements (see attached), I don't know how long they've been there for.
 

Attachments

  • 2012-04-02_00001.jpg
    2012-04-02_00001.jpg
    411.7 KB · Views: 110
How strange, I didn't expect that to happen! :lol: Is Polynesia in your game? I suspect this is a bug with the vanilla "GetCityIndexPlot" function. I'll get this fixed right away by replacing it with one of my own.




It's frustrating when vanilla functions don't work properly...
 
How strange, I didn't expect that to happen! :lol: Is Polynesia in your game? I suspect this is a bug with the vanilla "GetCityIndexPlot" function. I'll get this fixed right away by replacing it with one of my own.




It's frustrating when vanilla functions don't work properly...

First time using the tuner and apparently, Polynesia isn't in my game.
 
Thanks, I had this line:
if not Player_GetTrait(player).CombatBonusImprovement == "IMPROVEMENT_MOAI" then
return

It should have been:
if not (Player_GetTrait(player).CombatBonusImprovement == "IMPROVEMENT_MOAI") then
return
I think I've solved both of the mistakes with this: 1) the parenthesis 2) GetCityIndexPlot placement on unowned tiles. See if it works in v141.
 
Back
Top Bottom