[2.0.30] Deconstruction planner "Straight rail" also deletes curved rail

Bugs that are actually features.
tinker9
Inserter
Inserter
Posts: 28
Joined: Sat Nov 09, 2024 4:51 am
Contact:

[2.0.30] Deconstruction planner "Straight rail" also deletes curved rail

Post by tinker9 »

1. What did you do?

Filtered by "Straight rail" in the deconstruction planner, then tried to delete straight rail overlapping curved rails

2. What happened?

Straight and curved rails were deleted.

3. What did you expect to happen instead? It might be obvious to you, but do it anyway!

Only straight rails are deleted.
Or the filter is called "Any rail" or "Ground rail" instead.

If this was a feature request, I'd say there should be filters for straight and curved rails, ground and elevated. (There are already signals for them in the app, but they don't appear in the deconstruction planner.)

4. Does it happen always, once, or sometimes?

Always

Save game:
https://www.sendspace.com/file/hwg3v7

Screenshot 2025-01-13 at 10.16.20 (2).png
Screenshot 2025-01-13 at 10.16.20 (2).png (6.88 MiB) Viewed 295 times
Screenshot 2025-01-13 at 10.16.39 (2).png
Screenshot 2025-01-13 at 10.16.39 (2).png (7.84 MiB) Viewed 295 times
Screenshot 2025-01-13 at 10.16.54 (2).png
Screenshot 2025-01-13 at 10.16.54 (2).png (8.03 MiB) Viewed 295 times
Attachments
factorio-current.log
(61.72 KiB) Downloaded 11 times
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: [2.0.30] Deconstruction planner "Straight rail" also deletes curved rail

Post by IsaacOscar »

Not a bug, see 122385
tinker9
Inserter
Inserter
Posts: 28
Joined: Sat Nov 09, 2024 4:51 am
Contact:

Re: [2.0.30] Deconstruction planner "Straight rail" also deletes curved rail

Post by tinker9 »

Seems like an easy fix to change the filter name to "Ground rail" instead.
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: [2.0.30] Deconstruction planner "Straight rail" also deletes curved rail

Post by IsaacOscar »

tinker9 wrote: Tue Jan 14, 2025 10:36 am Seems like an easy fix to change the filter name to "Ground rail" instead.
Not easy, the way the game is coded is each entity can select another entity as a "deconstruction alternative",
so for your idea to work, you'd need to create a seperate "ground rail" entity, and have straight rail and curved rail list it as their deconstruction alternative.

Personally I'd just rename both straight and curved rails to just "rail" and then it's less confusing as the different shapes are just variants of rail (Similarly to how there are multiple distinct entities all labeled as "tree")
Post Reply

Return to “Not a bug”