FactoryPlanner icon indicating copy to clipboard operation
FactoryPlanner copied to clipboard

Topological recipe ordering

Open ClaudeMetz opened this issue 4 months ago • 0 comments

This would be a huge feature, which could lead to various dependent improvements (which are linked below).

  • This is a method to order recipes in a way that makes them work with the traditional solver, pretty much

  • Is pretty easy to implement from what it looks like, even for recipes with multiple products etc

  • Doesn't work with cycles, so they'd need to be dealt with in some way. Probably just refuse to work at first

  • The applications are diverse: Simplest thing is just a cleanup factory thing where it orders recipes for the user

    • Secondly, it could be used with a quick-recipe dialog, which makes it faster to just pick out recipes until you're satisfied. It would need to topological sort it all at the end otherwise it won't always work. (#94)

    • The big feature would be a rate calculator-like selection tool that imports everything into FP for you to just see the rates, or more importantly change things around if you want to. Would be a killer feature.

      • This obviously needs topological sorting for the machines, but there's also a lot of other challenges. It needs to determine lots of things like modules, beacons, match custom recipes. Also fuels, top level products ideally.
      • So it'd be quite a big project, but seeing as RC is as popular as FP, it would be a good strategic move.
      • This could also have an 'update' functionality, where you can update an existing factory's amounts by selecting your factory so it's up to date with what you built.
      • #102

ClaudeMetz avatar Oct 17 '24 21:10 ClaudeMetz