[1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Place to get help with not working mods / modding interface.
Post Reply
XaLpHa89
Fast Inserter
Fast Inserter
Posts: 119
Joined: Wed Jan 24, 2018 6:59 am
Contact:

[1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Post by XaLpHa89 »

In the screenshot you can see that the destroyed chests have not been removed. I'm of the opinion that this should actually be done with the remove_colliding_entities parameter?

LuaSurface.set_tiles
20220126033453_1.jpg
20220126033453_1.jpg (429.67 KiB) Viewed 1158 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Post by posila »

Corpse/remnant have empty default collision mask, which means they don't collide with anything.

XaLpHa89
Fast Inserter
Fast Inserter
Posts: 119
Joined: Wed Jan 24, 2018 6:59 am
Contact:

Re: [1.1.53] LuaSurface.set_tiles and remove_colliding_entities

Post by XaLpHa89 »

posila wrote:
Thu Jan 27, 2022 9:15 am
Corpse/remnant have empty default collision mask, which means they don't collide with anything.
That's what I thought, so that the set_tiles function is all-encompassing, I would like a new parameter that can also be used to exchange non-colliding objects. Does it make sense?

Post Reply

Return to “Modding help”