Hi,
first of let me thank you for your fantastic work with the landmasses script, me and my friends enjoy your map-script very much. However in all the games the sea resources like fish etc. we're missing. After looking at the python file, I was able to find what seems to cause the problem for us.
In line 452ff you are getting the plot indices for the plots in the cross around the current water tile but you never seemed to use it. Instead the plot type check is run against the water tile itself and therefore always failed. I changed it like this and it seems to solve the problem for us (starting from line 452):
Inew = GetNewTileIndex(I, i)
NewPlot = cymap.plotByIndex(Inew)
NewPlotType = NewPlot.getPlotType()
if Inew == -1:
continue
if NewPlotType == PlotTypes.PLOT_LAND or NewPlotType == PlotTypes.PLOT_HILLS:
...
I just wanted to let you know, maybe you can take a look at it and integrate it in case you can confirm..
Best wishes,
Jonas
first of let me thank you for your fantastic work with the landmasses script, me and my friends enjoy your map-script very much. However in all the games the sea resources like fish etc. we're missing. After looking at the python file, I was able to find what seems to cause the problem for us.
In line 452ff you are getting the plot indices for the plots in the cross around the current water tile but you never seemed to use it. Instead the plot type check is run against the water tile itself and therefore always failed. I changed it like this and it seems to solve the problem for us (starting from line 452):
Inew = GetNewTileIndex(I, i)
NewPlot = cymap.plotByIndex(Inew)
NewPlotType = NewPlot.getPlotType()
if Inew == -1:
continue
if NewPlotType == PlotTypes.PLOT_LAND or NewPlotType == PlotTypes.PLOT_HILLS:
...
I just wanted to let you know, maybe you can take a look at it and integrate it in case you can confirm..
Best wishes,
Jonas