spill_item_stack always skips the target position

Things that we don't consider worth fixing at this moment.
sparr
Smart Inserter
Smart Inserter
Posts: 1520
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

spill_item_stack always skips the target position

Post by sparr »

When I do spill_item_stack, what I get are dropped items surrounding the target position, but not at that position. This behavior has led to me trying a lot of workarounds, so I'm hoping maybe it's just unintentional and might get fixed?
Rseding91
Factorio Staff
Factorio Staff
Posts: 15885
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: spill_item_stack always skips the target position

Post by Rseding91 »

Thanks for the report. It's a side effect of how the spill logic works in order to be as quick as possible. I'm not going to change it at this stage of 0.16 dev and most likely won't change it ever.
If you want to get ahold of me I'm almost always on Discord.
sparr
Smart Inserter
Smart Inserter
Posts: 1520
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: spill_item_stack always skips the target position

Post by sparr »

Is there any way to reproduce the spill behavior manually in lua, if I really need that behavior at the target location and cpu cost be damned? I've tried using something like if(!find_entity)create_entity but this find behavior isn't quite the same as whatever spill is using, and create_entity doesn't behave the same as spill_entity near full belts (see recent my Not a Bug report on the subject).
Post Reply

Return to “Won't fix.”