Page 1 of 1

In game recipe calculator

Posted: Fri Aug 03, 2018 5:16 am
by 4xel
The blueprint



What ?

A recipe calculator to help you with your planning in Factorio... In Factorio!
features
reddit link https://www.reddit.com/r/factorio/comme ... alculator/

But... Why ?

Gives you a reason to produce hundreds of arithmetic combinators.

Short user guide

A short illustrated example of asking it what does it takes to build 5 beacons (or 5 beacons per minutes for examples)
IRGC_quick_explanation.jpg
IRGC_quick_explanation.jpg (684.97 KiB) Viewed 3369 times
(a tick is a 60 th of a second)

Advanced user guide

In the red output,
  • T is the sum of the crafting times in ticks (= sum of all the green signals)
  • C is the total number of crafting
  • M is the total number of products, both intermediate and final ones (< sum of all the red signals, since M does not count raw material)
Reconfiguration (pic might be coming) :

The big matrice is made of 4 columns (one for each crafting tab). Each line of these column represents a recipe with a single product, and is made of a constant combinator and three arithmetic combinator.

If you want to disable a recipe, disable the constant combinator (eg if you want to count iron plate as raw materials, rather than Iron ore).
How
Armed with this knowledge and observing the branchings, you can integrate new recipes, or delete some, possibly making a very reduced version of the calculator. (eg you can replace current oil poduction with coal liquefaction). Beware, you can't have lire thah a single recipe per product, and vice versa.


Pic
IGRC.jpg
IGRC.jpg (338.5 KiB) Viewed 3369 times

Todo
(In distant future)
  • Make a script to generate the blueprint from recipe book rather than building it by hand
  • Find a way to make that smaller (there might be a way to save 2 combinators per recipe, with a much higher constant number of combinators)
  • Make a version with finer rounding (on the crafting time), targetted at throughput computation rather than at exact recipe computation.
  • Make a contraption which transform crafting times in tick into human readable times, throughput or number of required assemblies.

Re: In game recipe calculator

Posted: Fri Aug 03, 2018 5:27 am
by imperiumgraecum
:shock: :shock:

Re: In game recipe calculator

Posted: Wed Aug 29, 2018 6:49 pm
by RocketManChronicles
Wow! This is really impressive! Good work on this. I can only imagine the time to set this up.