Page 1 of 1

[Rseding] [1.1.26] Recipe incorrectly not usable as intermediate

Posted: Tue Mar 09, 2021 10:41 am
by KiwiHawk
Factorio 1.1.26
Handcrafting.png
Handcrafting.png (2.09 MiB) Viewed 5432 times
I can't hand craft Paper unless I hand craft Cellulose pulp first. The Cellulose pulp recipe has allow_as_intermediate = true.



If I change recipe "sb-cellulose-foraging" (makes Cellulose fiber from nothing) to allow_as_intermediate = false, then Paper can correctly be hand crafted. Provided that I first craft the required Cellulose fiber.
Handcrafting1.png
Handcrafting1.png (1.47 MiB) Viewed 5432 times


KiwiHawk
Developer for Sea Block

Re: Recipe incorrectly not usable as intermediate

Posted: Tue Mar 09, 2021 11:22 am
by KiwiHawk
I tried deleting every other recipe that makes Cellulose fiber and Cellulose pulp. Not just disabling them, but totally removing. It still doesn't work.
I wanted to check if internally it was trying to use one of the other recipes for Cellulose fiber / pulp.

Re: Recipe incorrectly not usable as intermediate

Posted: Tue Mar 09, 2021 12:03 pm
by Klonan
This is a mod problem, they define whether a recipe is usable or not in this way

Re: Recipe incorrectly not usable as intermediate

Posted: Tue Mar 09, 2021 2:47 pm
by valneq
Klonan wrote:
Tue Mar 09, 2021 12:03 pm
This is a mod problem, they define whether a recipe is usable or not in this way
err …
KiwiHawk is the developer of the mod in question, trying to fix it, but according to this bug report, the fix does not work.

Re: Recipe incorrectly not usable as intermediate

Posted: Tue Mar 09, 2021 3:05 pm
by Klonan
KiwiHawk wrote:
Tue Mar 09, 2021 10:41 am

I can't hand craft Paper unless I hand craft Cellulose pulp first. The Cellulose pulp recipe has allow_as_intermediate = true.



If I change recipe "sb-cellulose-foraging" (makes Cellulose fiber from nothing) to allow_as_intermediate = false, then Paper can correctly be hand crafted. Provided that I first craft the required Cellulose fiber.
Can you provide a minimal mod or set of recipe definitions that reproduces the issue?

Re: Recipe incorrectly not usable as intermediate

Posted: Wed Mar 10, 2021 9:28 am
by KiwiHawk
I'm working on it! I've not yet been able to isolate the issue

Re: Recipe incorrectly not usable as intermediate

Posted: Thu Mar 11, 2021 9:42 am
by KiwiHawk
Klonan wrote:
Tue Mar 09, 2021 3:05 pm
Can you provide a minimal mod or set of recipe definitions that reproduces the issue?
Test mod attached. It contains two sets of new items + recipes. The coloured square recipes are working correctly. The others are not.

Start a new Freeplay game with only Handcraft Test mod enabled. You will start with 200 Brown algae and 200 Yellow. If you click on the pink square in the crafting menu, it will queue up 20 green + 3 red + 1 black + 1 pink. If you click on paper, you get a message "Not enough ingredients".

The difference between the two sets is that the working items have no subgroup assigned.
Working.png
Working.png (1.54 MiB) Viewed 5240 times
NotWorking.png
NotWorking.png (1.56 MiB) Viewed 5240 times

Re: [Rseding] [1.1.26] Recipe incorrectly not usable as intermediate

Posted: Sat Apr 10, 2021 11:18 pm
by Rseding91
Thanks for the report and the reproduction steps. It's now fixed for the next release.