[kovarex] [0.16.35] Rail planner doesnt replan if obstacle destroyed

Things that we don't consider worth fixing at this moment.
Post Reply
Bilka
Factorio Staff
Factorio Staff
Posts: 3132
Joined: Sat Aug 13, 2016 9:20 am
Contact:

[kovarex] [0.16.35] Rail planner doesnt replan if obstacle destroyed

Post by Bilka »

When you ghost plan a rail in front of an obstacle (so it cant continue) and then destroy that obstacle without letting go of the rail planner, the planner with still show the red x despite the path being clear.

Attachments
RailPlanner.zip
Just plan to the right
(2 MiB) Downloaded 52 times
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Post by Jap2.0 »

Can you normally build over ghosts with the rail planner?
There are 10 types of people: those who get this joke and those who don't.

Bilka
Factorio Staff
Factorio Staff
Posts: 3132
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Post by Bilka »

Jap2.0 wrote:Can you normally build over ghosts with the rail planner?
No. But if I stop planning and then plan again, the rail planner will still show instead of the red x.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.16.35]Rail planner doesnt replan if obstacle destroyed

Post by kovarex »

This is a very specific situation. The rail path finder would have to somehow react to things being destroyed, or try to re-path again from closed locations, which would make it way less efficient, so I would say that this is not worth fixing.

Aeternus
Filter Inserter
Filter Inserter
Posts: 835
Joined: Wed Mar 29, 2017 2:10 am
Contact:

Re: [kovarex] [0.16.35] Rail planner doesnt replan if obstacle destroyed

Post by Aeternus »

A ghost won't replace a ghost. You'd need to first clear the "destroyed building" ghost (with the purple countdown bar) before the area is actually clear. If you don't ghost build the rails but actually build the rails directly, I think you could plow through a destroyed wall like this. Haven't tried it though.

Post Reply

Return to “Won't fix.”