Page 1 of 1

Make surface.spill_items return item entities

Posted: Tue Jul 11, 2017 3:08 am
by Reika
It would be very convenient if the item drop function returned the item drops, so that you could, for example, mark them for deconstruction automatically without having to then search for entities pointlessly.

Re: Make surface.spill_items return item entities

Posted: Tue Jul 11, 2017 6:19 am
by Mooncat
Not very long ago: viewtopic.php?f=28&t=49902

Re: Make surface.spill_items return item entities

Posted: Tue Jul 11, 2017 12:41 pm
by Rseding91
Do you really want the items or do you just want a parameter you can use to auto-mark them for deconstruction?

Re: Make surface.spill_items return item entities

Posted: Tue Jul 11, 2017 11:22 pm
by Mooncat
Rseding91 wrote:Do you really want the items or do you just want a parameter you can use to auto-mark them for deconstruction?
Such parameter is enough for me. :)

Re: Make surface.spill_items return item entities

Posted: Sun Jul 16, 2017 8:29 pm
by Reika
Rseding91 wrote:Do you really want the items or do you just want a parameter you can use to auto-mark them for deconstruction?
The former would be more generally useful.