Page 1 of 1
[1.1.25] Editor Tile Building Inconsistent
Posted: Sat Feb 20, 2021 5:18 am
by NotRexButCaesar
In the editor, selecting "smart entity collision mode" causes the editor to no overwrite tiles.
However, according to the entity menu, ore is not an entity.
My desired fix would be that the editor overwrite ore in "smart entity collision mode", but not in "smart tile collision mode" (as the ground under the ore is kept).
I hope that this isn't due to internal naming, but if it is; I still think that the "fix" would be valuable.
Re: [1.1.25] Editor Tile Building Inconsistent
Posted: Sat Feb 20, 2021 7:00 am
by sp55aa
ore is treat as entity.
tested: editor remove all entities will remove all ores.
not a bug?
Re: [1.1.25] Editor Tile Building Inconsistent
Posted: Sat Feb 20, 2021 7:20 am
by posila
Ore is an entity.
You'll have to use lua commands to spawn ore on top of colliding tiles as there is not a way how to change a tile to colliding tile without destroying the entity, as far as I know.
Re: [1.1.25] Editor Tile Building Inconsistent
Posted: Sat Feb 20, 2021 2:25 pm
by eradicator
posila wrote: Sat Feb 20, 2021 7:20 am
Ore is an entity.
You'll have to use lua commands to spawn ore on top of colliding tiles as there is not a way how to change a tile to colliding tile without destroying the entity, as far as I know.
Is there any reason for tile changes destroying colliding entities btw or is this just "old code"? Other parts of the API never seem to care (create_entity, teleport).