Simple Seablock

by Aronson

Seablock based primarily around vanilla factorio techtree with minor changes

Overhaul
14 minutes ago
1.1 - 2.0
1.09K
Environment Fluids

i Fruit diversity and Gleba

4 days ago

In current version of the mod, map generation on Gleba is such that one fruit can be planted everywhere east of the world origin, and the other fruit everywhere west of the world origin. Since most processes that need fruit need both kinds, I expect this pushes Gleba factories to be very one-dimensional, along the vertical line where both fruits are available nearby. Building anywhere else requires long-distance logistics, which is unlike every other planet in this mod with every raw resource being available everywhere.

This is controlled by this part of src/data-updates/water-world.ts :

data.raw.tile['wetland-yumako'].autoplace.probability_expression = 'if(x_from_start < 0, 1000, -1000)'
data.raw.tile['wetland-jellynut'].autoplace.probability_expression = 'if(x_from_start > 0, 1000, -1000)'

Without going into much more complex world gen I think this effect would be less if the map is divided into four quadrants instead of two halves, with two boundary lines (one vertical and one horizontal) where both fruits are available nearby. I have not tested this code, but multiplication should check whether the two coordinates have the same or a different sign:

data.raw.tile['wetland-yumako'].autoplace.probability_expression = 'if(x_from_start * y_from_start < 0, 1000, -1000)'
data.raw.tile['wetland-jellynut'].autoplace.probability_expression = 'if(x_from_start * y_from_start > 0, 1000, -1000)'

4 days ago

Interesting idea, I'll give it a little more thought but I think I like it. Also that's a neat trick with the sign multiplication, would need to be tested as noise syntax is a mysterious beast, but it seems like it should work.

It's kind of a breaking change for existing worlds, but given already-generated chunks won't regenerate and it's only newly-explored terrain that will be affected, it's probably OK.

I guess if I do that I'll need to update the mod's thumbnail.

2 days ago

Alright, 1.3.0 is out with new quarter-style generation for Gleba.

Tested on an existing world and you have to go pretty far out before you start generating new chunks, so I'm not terribly worried about it being a breaking change.

2 days ago

Nice, thanks!

New response