Hey guys. A bit new to python, but I'm sure you can help.
I wanted to add an option to start in the old world only to an earth like map, that didn't have it.
I looked through the "Terra" script which I know has it. Pretty sure this is it:
Question being, how to plug it in the other map script.
Copy enough? I don't see this fun called anywhere in terra, besides its definition.
Just for info, target map is RoM's Earth3 script.
P.S. How can I make a shortcut launch a specific mod? nvm
I wanted to add an option to start in the old world only to an earth like map, that didn't have it.
I looked through the "Terra" script which I know has it. Pretty sure this is it:
Spoiler :
Code:
def findStartingPlot(argsList):
[playerID] = argsList
def isValid(playerID, x, y):
map = CyMap()
pPlot = map.plot(x, y)
if (pPlot.getArea() != map.findBiggestArea(False).getID()):
return False
return True
return CvMapGeneratorUtil.findStartingPlot(playerID, isValid)
Copy enough? I don't see this fun called anywhere in terra, besides its definition.
Just for info, target map is RoM's Earth3 script.