KirkMcDonald / kirkmcdonald.github.io

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

Feature request: Manual Overrides #209

Open Shadowhenge opened 3 years ago

Shadowhenge commented 3 years ago

Manual overrides for values set by the target amounts.

I tend to use this tool to create a general idea for how much resources I need for a given SPM base, but sometimes that base is a starter base and needs to overproduce for the purposes of creating materials for future expansion. It would be great if I could set an amount of science I want to generate in the above portion but tell it to make values above what is designated for some of the raw materials like green circuits, steel, etc.

For example... a 240 SPM base says I need 1.8 red belts of red circuits. I'd like to be able to select the red circuits in the resource list and tell it to increase that to a specific amount without having to add an additional entry for it at the top, and have it recalculate the other relevant list items to match that additional demand. Or, conversely, if I add say 4 red belts of red circuits to the top portion, it includes those 4 red belts in the total production so the calculator doesn't think I want 4 red belts of circuits PLUS what is required for other things I've defined.

So If I state in the top portion I want 10 belts of green circuits and 2 belts of red circuits it will calculate the green circuits I have defined as part of the requirements for the red circuits that I have also defined. An insufficiently defined requirement (say I want 1 belt of green circuits and 4 belts of red circuits for whatever reason) would show my one green belt but also show in red the additional green circuits I would need on top of that in the list as two separate items (but totals of iron, copper, etc reflecting all)

Love the tool and thank you for making it. This was just something i end up spending a ton of time trying to work around on as I am designing various builds.