Is Factorio v0.13 'relaxed' on the Product structure?
Posted: Wed Jul 27, 2016 8:23 am
See http://lua-api.factorio.com/latest/Conc ... ml#Product
I think Factorio accepts recipe results without the type field in that structure, and if it's missing, assumes it is zero.
Further, if the type field is absent, Factorio does not insist on the 'name' or 'amount' labels being present either. In this case it assumes that the table row is in 'name', 'amount' order.
The base game recipes follow this format strictly, but the vanilla code seems to allow the 'type' to be missing.
Am I right?
I think Factorio accepts recipe results without the type field in that structure, and if it's missing, assumes it is zero.
Further, if the type field is absent, Factorio does not insist on the 'name' or 'amount' labels being present either. In this case it assumes that the table row is in 'name', 'amount' order.
The base game recipes follow this format strictly, but the vanilla code seems to allow the 'type' to be missing.
Am I right?