I started poking at a new mod today that I need to spawn water for.
I spin up an array of tiles and set them on a surface. All seems well.
However, if the player walks around the waters edge it is sometimes (often) fatal. I've tested this without tile correction to the same results over various water types.
So naturally I disabled all mods and went to vanilla, and while I didn't try hard, I was not able to recreate that death which was very easy to trigger on modded tiles.
[0.18.6] Deadly water tiles
Re: [0.18.6] Deadly water tiles
Thanks for the report however none of that is a bug?
Setting the tile(s) under the player to a tile that collides with the player kills the player. That's working as intended. If you don't want that; don't set_tiles() under the player to something that collides with the player.
Setting the tile(s) under the player to a tile that collides with the player kills the player. That's working as intended. If you don't want that; don't set_tiles() under the player to something that collides with the player.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.18.6] Deadly water tiles
So walking up to an already placed lake is fatal. Walking or standing on a beach is fine and then you suddenly die.
Just making sure its clear that it is not actively spawned at their feet for this to happen.
Just making sure its clear that it is not actively spawned at their feet for this to happen.
Re: [0.18.6] Deadly water tiles
I can make a video if that helps or here is the mod https://mods.factorio.com/mod/SinDunes
Ill try to double check that nothing is spawned near the player, but everything is in new chunk events.
Ill try to double check that nothing is spawned near the player, but everything is in new chunk events.
Re: [0.18.6] Deadly water tiles
No, walking up to water does not kill you.
If you're dying it means one of the mod(s) you're using is doing set_tiles under you and that is killing you.
If you're dying it means one of the mod(s) you're using is doing set_tiles under you and that is killing you.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.18.6] Deadly water tiles
It would be nice though to have set_tiles() fail instead of killing the player with the right arguments. Is there such an option?
PS: The waterfill mod allows placing water under yourself. I don't think there is set_tiles() involved but simply the game itself doing the tile setting.
Re: [0.18.6] Deadly water tiles
Yeah I think I found a coordinate list that was staying around globally. My mistake.