KirkMcDonald / kirkmcdonald.github.io

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

Coal liquifaction/basic oil processing error: not showing up as recipe #99

Closed L0laapk3 closed 5 years ago

L0laapk3 commented 5 years ago

I've found that with large calculations like for example this one. No recipe shows up when selecting coal liquifaction or basic oil processing. All the recipes show, except for the coal liquifaction.

This appears to be consistently happening, I've tested this on multiple devices.

I've tried to look at the debugger to figure out whats going on, but its beyond me. It looks like it decided that coal liquifaction or basic oil processing is simply too much hassle and would much rather put zero of those and instead spawn in some heavy oil :p

KirkMcDonald commented 5 years ago

Fixed in 2329267d5218a3911791fef38a069f6255cffe14. It turns out it was applying productivity effects to disabled recipes in such a way that it threw all sorts of math off.