Realistic Decoration Cleanup


Remove decorations prior to placing entities or tiles. In real life you would not build a house/road and leave the bushes below it, would you?

Tweaks
2 months ago
0.15 - 2.0
22.6K
Environment

b Broken in 0.17

5 years ago

I know you wrote that you tested in 0.17.2 but I see different.

https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.destroy_decoratives

Seems to me that your destroy_decoratives(bbox) should be destroy_decoratives{area=bbox}. With this change the mod works fine for me and doesn't destroy every single decorative on the whole map when building something.

5 years ago

Yeah, tested only that removing works... and did not see that everything was removed. :/

ty. fixed.

New response