Page 1 of 1

[0.11.19] [kovarex] Number of needed resources sometimes wrong

Posted: Sat Mar 21, 2015 4:07 pm
by production
Take a look at this screenshot (you may need to scroll to the right):
bug-pu-display.png
bug-pu-display.png (741.56 KiB) Viewed 7612 times
The crafting tooltip claims I have 0/40 processing units, but I have 100 in my inventory. When I add the final ingredient (5x speed module 3), the tooltip becomes correct.

I'm running unmodded Factorio 0.11.19 on Linux.

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Sat Mar 21, 2015 4:09 pm
by FishSandwich
It's taking into account that your Processing Units will go into the speed modules(5 Processing Units per speed module-2, 4 are needed for each speed module-3 = 20, plus 5 processing units for the speed module-3 = 25, times 5 = 125), so you're short 25 for the speed module 3s(means none left for the power armor 2).

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Sun Mar 22, 2015 7:45 am
by MF-
Didn't those recipe lines where the number wasn't satisfied from inventory but crafting..
.... use to be yellow or something.. precisely to alert you you might not have added that component?

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Sun Mar 22, 2015 8:10 am
by logris
MF- wrote:Didn't those recipe lines where the number wasn't satisfied from inventory but crafting..
.... use to be yellow or something.. precisely to alert you you might not have added that component?
Yes it does normally show them in yellow, but in this case there's not enough processing units to craft them, so they are shown in red.

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Sun Mar 22, 2015 10:58 am
by ssilk
It would be a cool option to have a button like "show crafting plan" and it opens up a window which shows, what is crafted in which order.

That would also fit into the - many times - wanted suggestion, to change the crafting-order.

Code: Select all

test

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Mon Mar 23, 2015 1:15 pm
by slpwnd
Might be confusing, but afais it is not a bug. Having something like a "crafting plan" window with more information and options in the future(!) sounds good.

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Wed Mar 25, 2015 11:48 am
by kovarex
This is certainly a bug, the processing units were not used for some other product, but still it shows 0/40.

Re: [0.11.19] Number of needed resources sometimes wrong

Posted: Wed Mar 25, 2015 12:09 pm
by FishSandwich
kovarex wrote:the processing units were not used for some other product
Are you sure?

Re: [0.11.19] [kovarex] Number of needed resources sometimes wrong

Posted: Wed Mar 25, 2015 12:12 pm
by Klonan
It looks like he needs the processing units to craft speed modules 2 and 3, for which he doesnt have enough

Re: [0.11.19] [kovarex] Number of needed resources sometimes wrong

Posted: Wed Mar 25, 2015 1:03 pm
by kovarex
Klonan wrote:It looks like he needs the processing units to craft speed modules 2 and 3, for which he doesnt have enough
Yes, but it shows 0/5 of the speed modules, so none of these could be used, I made a change to avoid this kind of problems, but it is not working perfectly obviously.

Re: [0.11.19] [kovarex] Number of needed resources sometimes wrong

Posted: Wed Mar 25, 2015 1:22 pm
by dee-
I think a "crafting tree", even if only present in the shown crafting tooltip, could clean up all brain-knots and understanding problems about how and which resources are used or are intermediately combined to craft the recipe.

Re: [0.11.19] [kovarex] Number of needed resources sometimes wrong

Posted: Fri Mar 27, 2015 12:44 pm
by kovarex
I fixed the problem for 0.11.20