Page 1 of 1

[Rseding91] [2.0.11] "Craft all" input on recipe with no ingredients makes 4.2G of result item

Posted: Tue Oct 29, 2024 6:04 am
by Taurunti
I have a mod that makes buildings free (https://mods.factorio.com/mod/FreeBuildings) and while updating it for 2.0 noticed an issue.

When a recipe has no ingredients, shift-clicking on a recipe in the player's crafting window no longer produces 1 stack of that item. Instead, it adds 4.2G of that item to the crafting queue. This number is suspiciously close to the uint.max value, and not at all what I was expecting.

Is this behavior intentional? Logically it makes sense to in fact max out the amount that would be crafted, given that the control input name is "craft all", but having the shorthand as a player to craft 1 stack of something at a time was quite useful.

Re: [Rseding91] [2.0.11] "Craft all" input on recipe with no ingredients makes 4.2G of result item

Posted: Sat Nov 02, 2024 12:55 am
by Rseding91
Thanks for the report. I've changed the logic for the next release to queue 1 stacks worth of the recipe results.

Re: [Rseding91] [2.0.11] "Craft all" input on recipe with no ingredients makes 4.2G of result item

Posted: Fri Nov 08, 2024 10:55 pm
by Taurunti
Just saw the patch notes for 2.0.15! Thank you for the change :) very cool