Blueprint Parameter - infer upstream recipe
Blueprint Parameter - infer upstream recipe
I want to create a blueprint for iron/copper bacteria biochamber and it should have its own biochamber next to it. I want to parametrize the blueprint so that the user selects the bacteria type (iron/copper) recipe for the first biochamber and the blueprint infers the recipe for the other biochamber (i.e. jelly or yumako processing). I don't see any clean way how to do it, is there perhaps some "hack" how to achieve it?
- Attachments
-
- Blueprint.png (766.62 KiB) Viewed 179 times
Re: Blueprint Parameter - infer upstream recipe
I would use a blueprint book. Create a blueprint for each recipe, put them in the blueprint book, and shift + mouse wheel to switch between them.
Re: Blueprint Parameter - infer upstream recipe
Then I need to maintain two blueprints. The purpose of the blueprint parameters was to avoid exactly that as stated in a FFF, but I guess we need to live with some limitations. For example, it is not possible to create a dependency between bacteria type and the type of ore it "spoils" to but fortunately I was able to work around that by adding both ore types (iron and copper) to inserters and splitters as filters.
I found an acceptable solution by adding constant and decider combinator. Constant combinator has a signal and this signal is added as "Independent" parameter. Based on value of this parameter, the decider combinator sets recipe in the biochamber like this: if signal == 1 then jellynut_processing else yumako processing. User will get a chance to set value of the signal when placing the blueprint and the message gives hint what values to enter: "Enter 1 for Iron and 2+ for Copper". Ugly but should be sufficient hint for me when I use the blueprint.
I found an acceptable solution by adding constant and decider combinator. Constant combinator has a signal and this signal is added as "Independent" parameter. Based on value of this parameter, the decider combinator sets recipe in the biochamber like this: if signal == 1 then jellynut_processing else yumako processing. User will get a chance to set value of the signal when placing the blueprint and the message gives hint what values to enter: "Enter 1 for Iron and 2+ for Copper". Ugly but should be sufficient hint for me when I use the blueprint.

