Some issues/requests for the logistic network interface
Posted: Mon Sep 07, 2015 4:25 am
First of all thanks for the awesome interface! there's alot of potential for cool things with the new logistic network/cell interface, unfortunately i ran into some issues and things that imho could be improved.
Issues :
The first issue i have encountered so far is that it seems to be counting the player inventory as logistic provider, so far i have found it being counted among the "empty_providers, requesters" list of a logistic network, i'm not sure if this is intended or not, but for now i am getting around it by checking the entity type and making sure it's a "logistics-container".
The second issue is that entities don't seem have a "logistic_network, logistic_cell" assigned to them, is this value only specific to roboports? it only seems to work with them.
Methods :
Lua/LogisticNetwork -> get_item_count
This method takes a logistic member set as one of it's parameters, but this is only limited to ""storage" and "providers" can this be expanded to look more like "storage, active-provider, passive-provider, requester" that way we can filter it based on each available logistic-container type.
Lua/LogisticNetwork -> get_contents
This function doesn't take any parameters right now, which is the way all inventor get_contents functions are, but it'd be great if it can also be filtered using logistic member set, same as the get_item_count function above.
Issues :
The first issue i have encountered so far is that it seems to be counting the player inventory as logistic provider, so far i have found it being counted among the "empty_providers, requesters" list of a logistic network, i'm not sure if this is intended or not, but for now i am getting around it by checking the entity type and making sure it's a "logistics-container".
The second issue is that entities don't seem have a "logistic_network, logistic_cell" assigned to them, is this value only specific to roboports? it only seems to work with them.
Methods :
Lua/LogisticNetwork -> get_item_count
This method takes a logistic member set as one of it's parameters, but this is only limited to ""storage" and "providers" can this be expanded to look more like "storage, active-provider, passive-provider, requester" that way we can filter it based on each available logistic-container type.
Lua/LogisticNetwork -> get_contents
This function doesn't take any parameters right now, which is the way all inventor get_contents functions are, but it'd be great if it can also be filtered using logistic member set, same as the get_item_count function above.