KirkMcDonald / kirkmcdonald.github.io

Simple web-based calculator for the game Factorio.
Apache License 2.0
540 stars 148 forks source link

Suggestion: Add configuration for alternative default module in case of productivity being illegal for a recipe #155

Open velit opened 5 years ago

velit commented 5 years ago

So currently if you pick productivity as the default module and a recipe gets added where productivity is an illegal module then the machine doesn't get filled with any modules.

My suggestion is to add an alternative default module configuration option that gets filled in that case. Could even make the configuration option to only show if productivity is chosen as the primary module.

Usecase: it's annoying to go fill every single assembler with speeds in the calculator when planning a complex (eg. all science) UPS optimized build where you want the least amount of assemblers.

RustyBlade64 commented 5 years ago

Yeah, this would be nice to have.

I have found a bit of a hack how you can get the calculator to do that already:

  1. Make sure you have selected all desired recipes first
  2. Set the default module to the fallback module (i.e. speed 3)
  3. Set the default module to the desired module (i.e. prod 3)

After that everything that accepts productivity uses productivity modules, everything else is still set to speed modules.