Page 1 of 1

[Lou][2.0.22] Cannot place landfill over shallow/mud water tiles

Posted: Thu Nov 28, 2024 10:39 am
by RedRafe
Issue:

- player CANNOT place landfill tiles on top of "water-shallow" or "water-mud" tiles
- it CAN place landfill on top of regular water, deep water, green water...

I checked with 1.1, and confirmed that in 1.1 it was instead possible to landfill shallow/mud water tiles.

Collision mask for regular water and shallow water are different @factorio-data/base/prototypes/tile/tile-collision-masks: https://github.com/wube/factorio-data/b ... ua#L41-L55

My question is merely if this is considered a bug, or not being able to landfill shallow tiles is just new behavior from 2.0 forward.

I'm attaching to this tipic a savefile with a test setup in v2.0.22, but it's reproducible as:

- go to "/editor"
- place down water tiles
- exit /editor
- go to /cheat to get a stack of landfill
- landfill can be placed on all but shallow/mud water tiles

Re: [2.0.22] Cannot place landfill over shallow/mud water tiles

Posted: Thu Nov 28, 2024 1:16 pm
by Xorimuth
For whatever reason, they are added to the landfill item's `tile_condition` in space-age/base-data-updates.lua. Any reason why they can't be included directly in base/item.lua?