[Kovarex] [2.0.23] Parameterized blueprint cannot set certain biochamber recipes unless biochamber already exists

macdjord
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Fri Feb 22, 2013 4:26 am
Contact:

[Kovarex] [2.0.23] Parameterized blueprint cannot set certain biochamber recipes unless biochamber already exists

Post by macdjord »

Here is a blueprint for a basic parameterized bot-served biochamber*. (Note: I play with Bob's Adjustable Inserters. This blueprint contains only basic straight inserters, so it should be compatible with vanilla Factorio, but if it doesn't work, then install 'bobinserters 1.3.2'.)

Code: Select all

0eNq1l81ynDgQgF9FpUvsrHCAAeKZSg67t1RlL7tVubhclAAxozIgIsQkLtc8wL7FPts+yXaLgcEz+AfbKQ5IjfqTulvqFnc0KVpRa1kZurqjmWhSLWsjVUVX9C+RkR9SC1K2jSGJIKmqKpEaEBtFtEpUrbQhjTDYf6daU7eGFGotGyPThlTC/FD6BtWMqEzz7oJ8yQephAHKHJiMaPG9FY0RmqQbeMPcRdELiazWWmQSOSRpsd8IjWPtKCR1EmI2ooQ2rAhaJJGq4MkFZbSpeO0Y5ay1zNDWn3QVMXpLV4sdoxKW0dDV1R1t5LriBQ4wt7UAL2ylNi1IGK14iYJuhCONKJ2aaxDCMihCqkwA1duxMWavBQtJN7xM7g31d9eMgknSSNFNbzu3cdXakStvmLUE49vSEQU4S8vUqVUhYE21amQXLmuRexFamxzvItzhOo54/sDjqZFb4dRabWUmtGNdfgr09kB3mrcYeDlvjNMH5ZTjjziMZrCr0u5rwGguC9Dp7O99ePB2rWTB12jrdwgDTA7CSunShiRVJYbAKFgL/UzRnW0j4oFodCsmlh3MdKsT7pf/gFvDF4bpAVx0sB4sA+Ofio5nvbo/KgfrYRt2bj727aMeH/a04z7L6ShoMX94u2t4Juz5OLCHI/6URb61CDOHVkWciA3fSpzvjqZSp600cakyEas8VrWAtVgC7O7+K2hmlhuLiieFyLq9MDEAmbnU4LeTMzv2RLeaxnC0dOkeeeET3f2KAHjzArC0qafPLRM8fybPH/EWE7zFTN5ixAsmeMFMXjDihRO8cCYvHPGiCV40kxeNeIdDULWQGrCQzaONnXf5svw4sGD/lvxn3Pfw4I62r1ZlnLR5fkihE4f6cm7q93556u9oNjNgxS14elNIm2WeUxSWcw3yjw3y/MdT1ktS0RO3EF7dmg3cje7np+P09N8//9oEZT0aw3VP6c6bViAyx85KJ5ziuWziBnPikuCoEKWyPi0lnTg+ieXUtHMvPtHjFdXzX1ihA+TB1sJ7MG7TK495LGTeNbvCNzzQCgZZMMigzz5aGbbAnqHp75shSsO+6dsmaLAlfIcZB991p2O/D+DuOljyBW6gePP+k9+gBXitPSpZ99WOBmBxOdyqHZXPU/dfp754nXrwOvXwderR89X3O5D1jRVduocQfpWlNH0MV8QjfxtIWvA9h6PRFhy5boyFIhO1gASJp7vPXw/P4N0jnJ0BQ3rkPfHdc/IbdIzjnX/A91ywPwH23wK8mAAv3gIcTICDtwCHE+DwLcDRBDh6JhjyBv6X2urX/9czCn/AAooJ/b2F/98/pCJn33gFv838HD5uIcPYvBdG/jJYLsNg6V9Ggbvb/Q+t6krF
If you place the blueprint on empty ground, selecting as the target recipe the biochamber, pentapod eggs, copper or iron bacteria, or agricultural science, then the buildings will all be built and the recipe ingredients set correctly on the requesters chest, but no recipe will be set on the biochamber itself. However, if you place the blueprint again, once the biochamber, or even just it's ghost, already exists, then the recipe will be set.

The carbon fibre and rocket-fuel-from-solid-fuel-and-oil recipes do not exhibit this behaviour; the recipe is set correctly the first time.

Due a another bug, you can't select any alternative recipes the biochamber can do us using that blueprint as-is. However, if you work around that issue by removing the storage chest, you will find that both of the bacterial cultivation recipes also exhibit this bug, but none of the other recipes do. I've also seen this issue happen with the foundry, though I don't know exactly which of its recipes trigger this bug, nor do I have a repeatable setup for it.

* I discovered a minor error on my part in this blueprint while preparing this report: the requester chest has a request for 3 nutrients, to feed the biochamber, and another for max-of-0 spoilage, to get rid of any ingredients that spoil while in the chest. However, you cannot have two requests for the same item in the same request group, so if you select a recipe that uses either nutrients or spoilage as ingredients, the ingredient request will not be added properly. The solution is to move those requests to a separate request group, so they add to the ingredient requests instead. Also, max-of-0 requests for both iron and copper ore should be added, so that, if using a recipe that takes iron or copper bacteria as inputs, any of those that spoil in the chest will be disposed of too. None of this affects the bug report in any way, but if anyone reading this wants to use the blueprint, they should make the above fixes.
Muche
Filter Inserter
Filter Inserter
Posts: 585
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: [2.0.23] Parameterized blueprint cannot set certain biochamber recipes unless biochamber already exists

Post by Muche »

I tried your BP and it did work as you described only when I was in editor on Nauvis.
In person/with bots on Nauvis it never set the Biochamber recipe, respecting the recipe surface condition; on Gleba it set the recipe on first BP placing.
Post Reply

Return to “Assigned”