[Oxyd] [0.14.22] raw materials and circular requirements

This subforum contains all the issues which we already resolved.
TheUnknown007
Fast Inserter
Fast Inserter
Posts: 129
Joined: Sun May 03, 2015 9:17 pm
Contact:

[Oxyd] [0.14.22] raw materials and circular requirements

Post by TheUnknown007 »

Raw materials needed for crafting does not work correctly for crude oil barrel when selecting that process in an assembler: it shows as 2 crude oil barrels, which is wrong for 2 reasons:
  • It only takes 1 crude oil barrel to make a crude oil barrel
  • It should show 1 steel plate and 25 crude oil (which is done correctly in the crafting menu of the player and after you have selected this product for the assembler in the product slot)
I suspect it has something to do with it being a circular requirement (ie. if A can be made from B and B can be made from A again), although it only happening in an assembler menu is also kind of weird...

To be honest, I am surprised that this bug exists in this way, I would've expected the game to simply crash/hang trying to resolve that dependency instead of just finishing with the product itself.

Expected behaviour:
  • Check for any non-circular requirements:
  • if they exist, show that as raw materials.
  • Else...
    • ... show the step with the least / most (one of the two, equal in all cases; to be decided by you, the developers. In other words, choose one and always take that one) requirements.
    • ... or just show no raw materials at all (or some kind of small message)
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5412
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.14.22] raw materials and circular requirements

Post by Klonan »

I can confirm the issue:

Image
Post Reply

Return to “Resolved Problems and Bugs”