[Oxyd] [0.14.22] raw materials and circular requirements
Posted: Tue Feb 14, 2017 2:39 am
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:
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:
- 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)
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)