Page 1 of 1

[Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Wed Jun 07, 2017 7:17 pm
by B4SK3
In response to viewtopic.php?f=23&t=49400 (not a bug) I changed my deconstruction planner to use the entity "tile ghost" to filter out ghost tiles. As demonstrated in the screenshots, whitelisting or blacklisting this entity has no effect whatsoever on the actual filtering. From my understanding the whitelist behaviour is correct (include the items in the list in the deconstruction), the blacklist behaviour is not.

For replication, you can use this save: viewtopic.php?f=7&t=49449 (I've verified and the behaviour remains the same with ghost tile entities placed over actual tiles)
decon_planner_tileghost_entity_settings.jpg
decon_planner_tileghost_entity_settings.jpg (24.75 KiB) Viewed 4636 times
decon_planner_tileghost_entity_whitelist.jpg
decon_planner_tileghost_entity_whitelist.jpg (968.37 KiB) Viewed 4636 times
decon_planner_tileghost_entity_blacklist.jpg
decon_planner_tileghost_entity_blacklist.jpg (754.04 KiB) Viewed 4636 times

Re: [0.15.18] Ghost tile deconstruction filter does not work

Posted: Wed Jun 07, 2017 7:40 pm
by B4SK3
Addition: using a deconstruction planner with "tile ghost" in the entity filter actually marks real placed tiles for deconstruction.

Re: [0.15.18] Ghost tile deconstruction filter does not work

Posted: Wed Jun 07, 2017 9:32 pm
by Rseding91
B4SK3 wrote:Addition: using a deconstruction planner with "tile ghost" in the entity filter actually marks real placed tiles for deconstruction.
That's working correctly. When no entities are found the deconstruction planner starts matching tiles. If you don't want it to do that you have to set the tile mode to "never".

Re: [Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Thu Jun 08, 2017 3:22 am
by Rseding91
Thanks for the easy steps to reproduce the problem. It's now fixed for the next version of 0.15.

I also decided that if there's whitelisted entities in the deconstruction planner then it will never include tiles so your 2nd issue is also resolved.

Re: [Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Thu Jun 08, 2017 2:26 pm
by B4SK3
you're an angel. thanks!

Re: [Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Thu Jun 08, 2017 4:10 pm
by SupplyDepoo
It seems 'Normal' and 'Always' now have exactly identical behavior in every possible scenario. Maybe remove one of them to avoid confusion?

Re: [Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Thu Jun 08, 2017 11:40 pm
by Mandabar
SupplyDepoo wrote:It seems 'Normal' and 'Always' now have exactly identical behavior in every possible scenario. Maybe remove one of them to avoid confusion?
Not to my knowledge SD. If you have it normal mode, it ignores tiles unless there is NOTHING but tiles being selected. In always it always grabs tiles when you deconstruct an area. Unless I'm misunderstanding your testing bias anyways.

Re: [Rseding91] [0.15.18] Ghost tile deconstruction filter does not work

Posted: Fri Jun 09, 2017 10:08 am
by SupplyDepoo
Mandabar wrote:Not to my knowledge SD. If you have it normal mode, it ignores tiles unless there is NOTHING but tiles being selected. In always it always grabs tiles when you deconstruct an area. Unless I'm misunderstanding your testing bias anyways.
You're right, if there are no filters then it works like before. With filters however, they're the same.