[Twinsen]Logistics and fluids-unexpected/confusing condition
Posted: Thu Aug 13, 2015 3:39 pm
Logistics networks don't seem to handle fluid signals as expected.
situation: smart inserter uses a fluid - such as crude oil - in a logistic condition.
expected behavior: one of two...
1) tanks are "smart" containers, and report their contents to logistics, and conditions work as expected based on amounts stored
2) tanks are not smart, and logistic levels for fluids are always 0, consistent with behavior for item-type conditions when no smart storage is available
Passing this up because it was reported to me as a bug in my Logistic Combinators mod, which (ab)use clever(dirty) trickery to extract logistics network values and copy them to circuit networks, for use with other combinators and circuit-network logic.
This behavior may be intentional, but currently smart inserters do let you pick fluids, as well as abstract signals, as part of their logistic conditions. Obviously the logistics network will never have abstract signals, so not really a problem there (though it would be nice if they were not listed in the gui as options for logistic conditions). You could make a case that fluids are the same - there aren't *smart* tanks, after all, and basic tanks may not report to logistics. But fluids aren't actually abstract, and in principle logistics could report them, so it seems odd that the conditions are treated as absolute-false (reporting false even for things like "crude oil = 0," which would report true for any item-type signal not contained in the network at all)
Did a search on "+logistics +fluids" and didn't see this reported yet, my apologies if there is one that somehow didn't use those terms.
situation: smart inserter uses a fluid - such as crude oil - in a logistic condition.
expected behavior: one of two...
1) tanks are "smart" containers, and report their contents to logistics, and conditions work as expected based on amounts stored
2) tanks are not smart, and logistic levels for fluids are always 0, consistent with behavior for item-type conditions when no smart storage is available
Passing this up because it was reported to me as a bug in my Logistic Combinators mod, which (ab)use clever(dirty) trickery to extract logistics network values and copy them to circuit networks, for use with other combinators and circuit-network logic.
This behavior may be intentional, but currently smart inserters do let you pick fluids, as well as abstract signals, as part of their logistic conditions. Obviously the logistics network will never have abstract signals, so not really a problem there (though it would be nice if they were not listed in the gui as options for logistic conditions). You could make a case that fluids are the same - there aren't *smart* tanks, after all, and basic tanks may not report to logistics. But fluids aren't actually abstract, and in principle logistics could report them, so it seems odd that the conditions are treated as absolute-false (reporting false even for things like "crude oil = 0," which would report true for any item-type signal not contained in the network at all)
Did a search on "+logistics +fluids" and didn't see this reported yet, my apologies if there is one that somehow didn't use those terms.