Recursive manufacturing
Posted: Thu Sep 28, 2017 9:59 pm
I have encountered some problems with the mod I've been building. Essentially the errors I keep encountering are flagged as follows: <Product A> has recursive linkages - the input item is linked back to the parent in some way.
I just want to clarify what this means exactly. For example, would these be valid chains ?
Process1
1x Intermediate chemicals = 3x Oil
Process2
1x Polypropylene = 2xIntermediate Chems + 1xMinerals (A natural resource)
Process3
1xPlastic bottle = 2x Polypropylene
If these are ok, at what point do the products become recursive ?
Example, if I tried to use the following additional chain, would this be recursive ?
Process 4
1xDetergent = 1xIntermediate Chems + 1xPlasbott
or would it only be recursive if process 3 read as follows instead ?
1xPlastic bottle = 2x Polypropylene + 1xDetergent
thus creating a sort of endless recursive loop in the sense that now a plastic bottle can only be created using a plastic bottle.
The reason I ask is because the complexity of production is the whole point of my mod and the proliferation of plastic is a key part of that and currently (I might be wrong) it feels like version 1 above is being flagged as recursive which I don't think it is. Using the process examples above, you could of course ultimately say this instead:
1x Detergent = 3xOil + 1xMinerals
but I find that version far less satisfying and I'd like to use chems and plastics to bridge those production logic gaps (its kind of the whole reason for calling the mod "Modern" World).
Can you shed some light on how this is currently implemented and what the check is for recursiveness ?
I just want to clarify what this means exactly. For example, would these be valid chains ?
Process1
1x Intermediate chemicals = 3x Oil
Process2
1x Polypropylene = 2xIntermediate Chems + 1xMinerals (A natural resource)
Process3
1xPlastic bottle = 2x Polypropylene
If these are ok, at what point do the products become recursive ?
Example, if I tried to use the following additional chain, would this be recursive ?
Process 4
1xDetergent = 1xIntermediate Chems + 1xPlasbott
or would it only be recursive if process 3 read as follows instead ?
1xPlastic bottle = 2x Polypropylene + 1xDetergent
thus creating a sort of endless recursive loop in the sense that now a plastic bottle can only be created using a plastic bottle.
The reason I ask is because the complexity of production is the whole point of my mod and the proliferation of plastic is a key part of that and currently (I might be wrong) it feels like version 1 above is being flagged as recursive which I don't think it is. Using the process examples above, you could of course ultimately say this instead:
1x Detergent = 3xOil + 1xMinerals
but I find that version far less satisfying and I'd like to use chems and plastics to bridge those production logic gaps (its kind of the whole reason for calling the mod "Modern" World).
Can you shed some light on how this is currently implemented and what the check is for recursiveness ?