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

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
KiwiHawk
Fast Inserter
Fast Inserter
Posts: 249
Joined: Thu Jul 05, 2018 9:48 am
Contact:

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

Post by KiwiHawk »

Factorio 1.1.26
Handcrafting.png
Handcrafting.png (2.09 MiB) Viewed 5358 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 5358 times


KiwiHawk
Developer for Sea Block
Attachments
Handcraft Test.zip
(949.4 KiB) Downloaded 113 times
factorio-current.log
(34.76 KiB) Downloaded 115 times
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee

User avatar
KiwiHawk
Fast Inserter
Fast Inserter
Posts: 249
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Re: Recipe incorrectly not usable as intermediate

Post 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.
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5148
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Recipe incorrectly not usable as intermediate

Post by Klonan »

This is a mod problem, they define whether a recipe is usable or not in this way

User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1149
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: Recipe incorrectly not usable as intermediate

Post 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.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5148
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Recipe incorrectly not usable as intermediate

Post 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?

User avatar
KiwiHawk
Fast Inserter
Fast Inserter
Posts: 249
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Re: Recipe incorrectly not usable as intermediate

Post by KiwiHawk »

I'm working on it! I've not yet been able to isolate the issue
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee

User avatar
KiwiHawk
Fast Inserter
Fast Inserter
Posts: 249
Joined: Thu Jul 05, 2018 9:48 am
Contact:

Re: Recipe incorrectly not usable as intermediate

Post 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 5166 times
NotWorking.png
NotWorking.png (1.56 MiB) Viewed 5166 times
Attachments
HandcraftTest_1.0.0.zip
(17.96 KiB) Downloaded 115 times
Dev for Bob's mods, Angel's mods, Helmod, Sea Block, Circuit Processing, Science Cost Tweaker.

Buy me a coffee

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report and the reproduction steps. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”