[kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Bugs that are actually features.
User avatar
Skellitor301
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Aug 04, 2014 10:04 pm
Contact:

[kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by Skellitor301 »

Parameter system doesn't let you select the empty barrel recipe in assemblers as shown in the screenshot below.
Image

You can select the assembler to fill barrels but emptying them doesn't show up in the list when you have parameterized blueprints set up correctly. Blueprint for the assembler setup with parameter settings here:
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 174
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by LCStark »

The barrel is between the copper cable and electronic circuit in your picture.
robot256
Filter Inserter
Filter Inserter
Posts: 894
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by robot256 »

Crafting an empty barrel from steel plates is different from emptying a particular barrel of fluid. Is it the "empty X barrel" recipe that is missing?
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 174
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by LCStark »

robot256 wrote: Fri Nov 08, 2024 11:06 pm Crafting an empty barrel from steel plates is different from emptying a particular barrel of fluid. Is it the "empty X barrel" recipe that is missing?
Right, sorry, I misunderstood.

They seem to work for me if I create my blueprint from scratch:
11-09-2024, 00-12-02.png
11-09-2024, 00-12-02.png (315.9 KiB) Viewed 608 times
There must be something going on in your parameter setup.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 174
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by LCStark »

I figured it out. It doesn't seem to be working when the output storage chest filter is set to the same parameter as the recipe. Removing the filter seems to have fixed it:


I'm assuming it breaks because you can't set the chest filter to the recipe-only icon.
User avatar
Skellitor301
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Aug 04, 2014 10:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by Skellitor301 »

Yeah it was the emptying barrel recipe, not the recipe to make an empty barrel with steel. Essentially being used to transport liquids with a bot mall.
The way I set up parameters was essentially to allow you to set a recipe and it would set the storage chest to filter the result and have the inserters connect to the logistics network and only work when the item is below a stack.

As for the solution that does make sense, might suggest then for Wube if this could be an option to set parameterized blueprints to include the emptying liquid barrel recipes would be useful. Especially considering the fill barrel recipe is available, having the emptying barrel recipe would help avoid this kind of confusion.
Last edited by Skellitor301 on Sat Nov 09, 2024 12:19 am, edited 1 time in total.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 174
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by LCStark »

Skellitor301 wrote: Sat Nov 09, 2024 12:16 am Yeah it was the emptying barrel recipe, not the recipe to make an empty barrel with steel. Essentially being used to transport liquids with a bot mall.

As for the solution that does make sense, might suggest then for Wube if this could be an option to set parameterized blueprints to include the emptying liquid barrel recipes would be useful. Especially considering the fill barrel recipe is available, having the emptying barrel recipe would help avoid this kind of confusion.
I'm sorry, I don't think I understand your problem now. You can use the the empty barrel recipe. Just remove the #0 parameter from storage chest filter. I'm assuming you don't want it there anyway, since that chest is supposed to store output empty steel barrels.
User avatar
Skellitor301
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Aug 04, 2014 10:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by Skellitor301 »

LCStark wrote: Sat Nov 09, 2024 12:18 am
Skellitor301 wrote: Sat Nov 09, 2024 12:16 am Yeah it was the emptying barrel recipe, not the recipe to make an empty barrel with steel. Essentially being used to transport liquids with a bot mall.

As for the solution that does make sense, might suggest then for Wube if this could be an option to set parameterized blueprints to include the emptying liquid barrel recipes would be useful. Especially considering the fill barrel recipe is available, having the emptying barrel recipe would help avoid this kind of confusion.
I'm sorry, I don't think I understand your problem now. You can use the the empty barrel recipe. Just remove the #0 parameter from storage chest filter. I'm assuming you don't want it there anyway, since that chest is supposed to store output empty steel barrels.
So the goal of the blueprint I have set up is to essentially streamline bot malls by selecting the recipe with some inserter and storage logic to ensure the network has at least a stack of the item. This essentially is done by using the parameters to set a filter for the storage chest so bots can't just use it for miscellaneous storage and only allow the set recipe and any excess in the network to be stored at the mall. The blueprint also has the inserters connected to the network and enable only when less than a stack of the item is in the network at any given time.

This was what I was hoping parameters could do with any item that the machines can make. When I came across the barreling recipes I saw that you can barrel liquids using this method, but the emptying the liquid barrel recipe is missing, hence the confusion it made. It's not very clear to why one side of this process is shown and not the other and I thought it was a bug. So, to avoid confusion from others I was suggesting to add a rule to the parameters to include a method to set parameters with outputs that don't match the recipe like the emptying a barrel recipe producing a steel barrel.

The other thing that confuses me a bit is the fact that you can parameterize the liquids themselves, despite liquids not being items. I've noticed this when on Volcanus and I was using this method to set up the furnaces and the parameters let you use lava as well as molten metal in requester chests.
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 174
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by LCStark »

Skellitor301 wrote: Sat Nov 09, 2024 12:28 am So the goal of the blueprint I have set up is to essentially streamline bot malls by selecting the recipe with some inserter and storage logic to ensure the network has at least a stack of the item. This essentially is done by using the parameters to set a filter for the storage chest so bots can't just use it for miscellaneous storage and only allow the set recipe and any excess in the network to be stored at the mall. The blueprint also has the inserters connected to the network and enable only when less than a stack of the item is in the network at any given time.

This was what I was hoping parameters could do with any item that the machines can make. When I came across the barreling recipes I saw that you can barrel liquids using this method, but the emptying the liquid barrel recipe is missing, hence the confusion it made. It's not very clear to why one side of this process is shown and not the other and I thought it was a bug. So, to avoid confusion from others I was suggesting to add a rule to the parameters to include a method to set parameters with outputs that don't match the recipe like the emptying a barrel recipe producing a steel barrel.
Ah, I see! Yeah, that is the issue, with other recipes the "recipe" icon is the same as the "output item" icon, and that doesn't match for the unbarrelling recipes. Adding "recipe product 1", "recipe product 2" in the same manner we can now use "recipe ingredient 1", "recipe ingredient 2" would be a good suggestion, though that's probably something better suited for the Ideas and Suggestions forum.
Skellitor301 wrote: Sat Nov 09, 2024 12:28 am The other thing that confuses me a bit is the fact that you can parameterize the liquids themselves, despite liquids not being items. I've noticed this when on Volcanus and I was using this method to set up the furnaces and the parameters let you use lava as well as molten metal in requester chests.
I haven't delved too deep into the parametrization system, but I'd assume maybe that's because you can set liquid filters on pumps? Though yeah, they shouldn't be usable in the requesters the same way you can't use the unbarrelling recipe as a filter. Seems like something that was overlooked. ;)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by kovarex »

So I checked the blueprint, and it all works as intended. The storage chest has [0] as filter, which limits this parameter to be an item, and there is no item "empty barrel"
User avatar
Skellitor301
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Aug 04, 2014 10:04 pm
Contact:

Re: [kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by Skellitor301 »

kovarex wrote: Wed Nov 13, 2024 5:26 pm So I checked the blueprint, and it all works as intended. The storage chest has [0] as filter, which limits this parameter to be an item, and there is no item "empty barrel"
Yes, the intention though was to be able to select the recipe for emptying barrels as that's something you can do with most other things. I've managed a work around with the aid of LCStark that allows this kind of behavior but it makes setting the recipe slightly more tedious than the original blueprint was intending. See this blueprint here:

The intention was to make a universal bot based blueprint that lets you stamp down quick assemblers, or any crafting machines really, and be able to select the recipe and have the parameters fill out the rest. This version can do this but it requires you to select both the recipe and the output item. This method allows one to select recipes the other cannot like unbarreling liquids or the Kovarex processing recipe, since those have different outputs than the recipe itself, vs something like the green circuit recipe that both the recipe and output items are the same. With the unbarreling recipe, if I were to want to select it, the output would be a steel barrel which the parameters don't recognize unless I do this alternative method of parameterized blueprinting, separating the output item from the recipe itself.
User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 793
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: [kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by ickputzdirwech »

I think there are actually three reasons why this is at least inconsistent:
  1. Strangely the kind of restriction you're talking about is only in place in one direction:
    kovarex wrote: Wed Nov 13, 2024 5:26 pm So I checked the blueprint, and it all works as intended. The storage chest has [0] as filter, which limits this parameter to be an item, and there is no item "empty barrel"
    • As you said I can't select a recipe that has no corresponding item.
    • I can however select an item that can't be produced in that machine. For example place the folowing blueprint and select iron plate:

      In that case no recipe is set. It would be consistent to allow to select a recipe without corresponding item and then setting no filter in the storage chest.
  2. There already must be some matching function between items and recipes since they are different prototypes. As others have said there actually is a valid item corresponding to the recipe: its first product (in this case the barrel). Why don't extend the matching function to cases where the prototype names of the recipe and the item are not the same but instead fall back on the first product?
  3. Inside the requester chest a request for fluid ingredients is set by parameters, even though it makes no sense whatsoever and I can't set it manually. This is considered NaB. See 118604. Setting the filter of the storage chest to the recipe would be the equivalent. This would also make no sense but it would be consistent with the behaviour of the requester chest and a better solution than simply not allowing to select that recipe.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write
User avatar
Skellitor301
Fast Inserter
Fast Inserter
Posts: 155
Joined: Mon Aug 04, 2014 10:04 pm
Contact:

Re: [kovarex] [2.0.14] Parameter system doesn't allow assemblers to select the empty barrel recipe

Post by Skellitor301 »

The fluid in the requester chest I had seen before and personally I find kinda funny and harmless. It's simple enough to just clear it if anyone is bothered by it imo. As for the main issue of having recipes that are processing recipes like the unbarreling recipe I have seen someone in one of the other threads suggest separating the resulting product and the recipe from one another, as the parameterization system seems to treat both as one in the same. At least in this case it does. Someone did suggest to add an extra parameter type, adding to the option where you can select a parameter to be an ingredient of another to include an option to set a parameter to be the result of another, which is a good solution to this issue. I do hope Kovarex or another person of staff would recheck this bug report as they did miss the issue here. It's not a matter of there not being an empty barrel item, but rather that the processing recipes
Post Reply

Return to “Not a bug”