Combinator builds relying on logical progression of items broke with 0.17.
Simple example:
A stack filter inserter filling a furnace set to filter mode is sent iron ore and iron plate.
It would first pick up ore to make plates needed to make steel.
Back in 0.16 signal order made sense.
With 0.17 the signals are in no discernible order anymore.
Not only did this break a lot of combinator contraptions it also makes it next to impossible to explain cycling item signals to new players.
[Rseding91][0.17] Signal order of items
Re: [0.17] Signal order of items
The order was never really defined.
In 0.17 it seems to respect the order defined by item "order" field. Not sure where the order in 0.16 came from, probably from the order defined in the lua file.
What would you except the order to be?
In 0.17 it seems to respect the order defined by item "order" field. Not sure where the order in 0.16 came from, probably from the order defined in the lua file.
What would you except the order to be?
Re: [0.17] Signal order of items
The above screenshot shows that it does not do that. By item order, all the ores are before the plates, but in the above screenshots the plates are somewhere in-between.
I expect it to follow the order field.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17] Signal order of items
name = "coal",
order = "b[coal]",
name = "iron-plate",
order = "b[iron-plate]",
name = "copper-plate",
order = "c[copper-plate]",
name = "iron-ore",
order = "e[iron-ore]",
name = "copper-ore",
order = "f[copper-ore]",
Re: [0.17] Signal order of items
Item order for me also includes the order defined by subgroups, sorry for not being clear. So anything in subgroup A (the ores) should be before anything in subgroup B (the plates), just how it works everywhere else. And then again before that apply the item groups. (Anything in group A is always before anything in group B)
Basically inventory order:
Basically inventory order:
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.17] Signal order of items
Without going into technical details, making the circuit network sort by group order and then subgroup order and then item order will probably make the circuit network significantly slower.
(it's using ID sorting instead of prototype sorting)
(it's using ID sorting instead of prototype sorting)
Re: [0.17] Signal order of items
I don't know about ID sorting.
Back in 0.16 the circuit network seems to have sorted modded items in between base items according to item group, subgroup, order string.
Back in 0.16 the circuit network seems to have sorted modded items in between base items according to item group, subgroup, order string.
My Mods: mods.factorio.com
Re: [0.17] Signal order of items
I'd just yesterday started cooking up a data-final-fixes to undo some of the worst consequences of the change,
it seems to me whatever single key is being used to sequence the pick lists the order's not going to change after the data phase, why not assign id's to satisfy human convenience as well then? The only reason to have the groups and subgroups is to mark visual boundaries on the UI anyway, having items from the different groups suddenly start appearing scattered across the whole list was ... disorienting, I think people have a right to expect some sensible order if it can be achieved..
Code: Select all
for k,v in next,data.raw do if k:find'subgroup' then
for k,v in next,v do if k:find'virtual' then v.order='z'..v.order end end
end end
Re: [Rseding91][0.17] Signal order of items
Fixed in Version: 0.17.12.
Thanks.
Thanks.