Transport Drones

by Klonan

Adds transport drones and transport depots

Content
3 months ago
0.18 - 1.1
71.3K
Logistics

g Drone dont consider blocked spots in a Supply depot?

3 years ago

I have placed out Supply depots without limiting the storage initially.
Afterwards when I block the spots in the depot, the drones only pick up items in the unblocked slots.

Is this intended? Vanilla behavior?
Can it be changed?

I dont want to have 20k of every item as a buffer. Maybe at end game it dont matter but early game it is a bit annoying.

3 years ago

I am using just a generic remove item API call to take the items, which I guess takes from the first slots it can

3 years ago
(updated 3 years ago)

general comment on adding items to and removing items from inventories :

vanilla factorio usually takes items from the last slots in an inventory first and adds items to existing (non-blocked) stacks first and then creates new stacks at the start of the inventory. thus over time all the items in blocked/red/limited areas are used up until the inventory has items only in the first "allowed" slots. this is probably the behavior that most people expect nowadays ...

but many mods search for items to take from an inventory by looping through the inventory from the beginning (or using api calls? i am no modder) and thus don't take items from the restricted end. new items then of course can be put in the inventory at the beginning, which seems to never use/empty those last items. this behavior might not strictly be "buggy", but is an annoying feature. to get rid of those items in restricted areas we need to either move them manually to allowed slots, or temporarily stop new items from being delivered to that inventory so that all items are used up.

it would be nice if all mods could show the normal vanilla behavior of taking items from the end and adding items at the start of inventories. without an api call that allows this behavior and/or modders not knowing about such api calls and instead looping through the inventory themselves (aborting the loop "when first item found" to save time/ups on large inventories), we encounter this non-standard behavior all the time :-(

my personal "fix" for this kind of problems :
in most of my maps, i try to hurry for logstics to be able to wire up inserters and chests. from that time on i no longer restrict any inventories by marking an area "blocked" but instead use conditions on the inserters, either simple conditions like "gears < 500" or a constant combinator with a negative amount (eg "gears -500") and even simpler conditions like "gears < 0", which also enables two more tricks: having one central constant combinator to change the amount of items that is stored in many different chests all over the factory, and/or using positive amounts of what i want to have and subtracting the chest contents, to use filter inserters with "set filters" (activating them only while the chest has less/negative items than the given positive amount).

3 years ago

I see. Any idea if the devs have addressed the behavior of the mod remove item API ?

Btw love this mod and the new truck graphics especially. They are so cute :D

3 years ago

@rakio: while you were answering, i also added "my personal fix" to my last post ...

3 years ago

I use loaders from Kastorio 2 which dont seem to be able to use wires :/

I will manually block slots and empty overflown slots when needed. After the initial rework it should work fine.

3 years ago

Rakio if you have a belt just before the loader you can Wire the belt to the supply depot

New response