NiceFill


Landfill has the same texture as the surrounding tiles, instead of the default grass.

Tweaks
9 months ago
1.1 - 2.0
7.44K
Environment

g shallow water fill?

8 months ago

Hi there, I cant seem to be able to fill in shallow water, and I have a lot of it, any assistance greater appreciatted
ty

8 months ago

Hey there,

Shallow water and mud should be supported in the latest release. If that version doesn't work, could you share your save file so I can take a look?

8 months ago

Thank you in advance. Apparently is labelled marshland or something

https://drive.google.com/file/d/10yJ8qCCsb60ZGtWNHgtvWhdqBoBNnnqq/view?usp=drive_link

Another post I found on it if it helps any.

https://forums.factorio.com/116474

8 months ago

I've taken a look at your base. Unfortunately, with the current mod setup in the save file provided, NiceFill works as expected. In fact NiceFill isn't even being triggered, it's the base game that's not allowing you to place landfill on the patches of water you see.

Shallow water and mud (water-shallow and water-mud as they're known internally) are provided in the base game, but are normally only used in tutorials and were not added to landfill as tiles that could be landfilled. Mods can still generate these tiles, and in your save file it appears such a mod has been used in the past, as there's a very clear chunk border in the southwest after which shallow water is no longer being generated. Did you have something like Alien Biomes installed in the past?

8 months ago

Well this is a new game as of maybe a month ago because the newest patch bricked my old saved game. Before any mods I wasnt able to fill in the marsh/mud. I have alien biomes but it has been disabled and never used in this game. The landfill you see is maybe a mod or part of the game im not sure. The chunk or almost perfectly straight horizontal line through the shallows you see filled in, in the southwest was not done by me or any mod. Thats game generated, I only removed the mountain ridges and trees.

So I guess what youre saying is start over or wait for someone to create a water shallow or mud shallow fill in mod?

ty again for your time here

8 months ago

Well some mod generated the terrain with shallow water in it, and then that mod was removed. That's the easiest explanation as the base game should not generate shallow water/mud by itself. Which mod it was exactly I don't know, but Alien Biomes is the first one generating shallow water/mud that pops into my mind. I also installed Alien Biomes and was able to immediately fill all the patches of shallow water on the map, with or without Nicefill enabled.

You could either activate Alien Biomes and then landfill all the spots, or if you don't mind running a couple commands then you can run the following:

/c for , tile in pairs(game.player.surface.find_tiles_filtered{name="water-mud"}) do game.player.surface.set_tiles{{name="grass-1", position=tile.position}} /c for , tile in pairs(game.player.surface.find_tiles_filtered{name="water-shallow"}) do game.player.surface.set_tiles{{name="grass-1", position=tile.position}} end

To open the command/chat window press ~ (the key to the left of 1). The first time you run a command you'll get a warning about the usage of commands, you just have to repeat it again.

The first command will replace all mud tiles with grass, the second will do the same with shallow water, but there doesn't seem to be any on your save. I wouldn't start over considering you've already spent so much time on this save.

New response