*blerb from me about "merging" things*
Does anyone know if this solution will work with combining liquids into a larger container? Where would I add the [REAGENT:container] tokens?
One way I do this only consumes a single container of liquid to make the new stack (leaving the second container unemptied). The other way I tried used both buy made 15 times more material out of thin air. Same thing is happening with reactions that have two reagents the same that need to be in containers.
trying to merge things with two reagents is hard because your finished "stack" can only take the material from one of them (which means it will only use that stack, leaving oddies with the other reagent "like not using or using all to no effect")
So think of a reagent and product as a ratio (this is using a [REACTION_CLASS]/[HAS_MATERIAL_REACTION] without this the product does its own thing)
If I had a reaction like this
[REAGENT:A:25:PLANT:NONE:NONE:NONE][HAS_MATERIAL_REACTION_PRODUCT:PLUMP_MAT]
[PRODUCT:100:25:PLANT:NONE:GET_MATERIAL_FROM_REAGENT:A:PLUMP_MAT]
I would get a even product with the amount of reagent
but if I did this
[REAGENT:A:2:PLANT:NONE:NONE:NONE][HAS_MATERIAL_REACTION_PRODUCT:PLUMP_MAT]
[PRODUCT:100:1:PLANT:NONE:GET_MATERIAL_FROM_REAGENT:A:PLUMP_MAT]
that is two reagents to one product, so if I grabbed a stack of [4] plump helmets I would only get 2 back (6 -> 3 / 4 -> 2/ 2 -> 1)
now that is explained I will create a mockup of what your reagent "should?" look like:
[REAGENT:liquid:1:LIQUID_MISC:NONE:NONE:NONE][REACTION_CLASS:"class name"]
[REAGENT:liquid container:1:NONE:NONE:NONE:NONE]
[CONTAINS:liquid]
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[REAGENT:new container:1:TOOL:ITEM_TOOL_JAR:NONE:NONE][PRESERVE_REAGENT][EMPTY]
[PRODUCT:100:1:LIQUID_MISC:NONE:GET_MATERIAL_FROM_REAGENT:liquid:NONE][PRODUCT_TO_CONTAINER:new container]
now since you wanted "two" barrels/jars/buckets/jugs/pots/etc... to be merged into one you will have to increase the reagent requirement to how much you want merged then make the product amount the same (yes it looks fairly simple and you could do the same without [REACTION_CLASS] but this way will include accidental overflow of stacks to be used)