Ghost Rail Pathfinding Interface

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
jmickle_
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Feb 03, 2017 1:23 pm
Contact:

Ghost Rail Pathfinding Interface

Post by jmickle_ »

Hi, is it possible to expose the rail planning pathfinding (when you ghost plan to calculate routes between two positions) to the lua API? I want to implement automatic rail planning but having to implement A* through the API is very slow. Even with simple transport belt pathfinding, there can be big lag spikes through calculation, possibly from having to call can_place_entity{} so many times. Since the rail pathfinding already exists, I figure it could potentially be accessed in the API, which would make it a lot faster.

Post Reply

Return to “Modding interface requests”