FactoryPlanner
FactoryPlanner copied to clipboard
Selector for importing existing factory
Same principle could apply to importing from blueprints, and maybe a KirkMcDonald export. Many potential problems and edge cases.
First one is the recipe ordering, might be solved with topological ordering, which kirkmcdonald apparently uses. This does not work with cyclic situations, which would either be ignored, asked to be sorted by users manually, or involve some insane algorithm.
Also needs to deal with matching my fake recipes, machines and items up to their real-world equivalents, which seems painful.
Also leaves some variables undecidable from the factory/blueprint itself, like which fuel is used.
See Discord convo here.
Even with all that said, it would be a nice way to compete with rate calculator. Could use matrix solver by default to avoid dealing with topological ordering.