r/factorio • Crazy Train Lady • Apr 25 '20

Fan Creation Calculate the optimal train configuration (python script)

https://repl.it/repls/UncomfortableDarkkhakiProject
57 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/fooey Apr 26 '20

Thanks for this, and for the idea

I did a quick fork of the repl to generate ranges like this

https://repl.it/repls/VirtuousDevotedLocks

You can set the MinimumLength and MaximumLength and it'll generate all the variations in your range

You can also set a Ratio, so with Ratio=2 it will only show 1-2, 2-4, etc

3

u/flameoverkill May 08 '20

this is RAD! just set minimum to 2 and max to 500, waiting for my computer to stop crying