I am working on EE2.
I am at this scenario:
the user has the whole energy condenser(it's a container) full as well as his inventory and he has an item in hand(different as the item I need to add).
so, I want to drop the item on the ground.
I looked around on the wiki in the game, player, and the inventory sections. also just a general search, but found nothing.
how do I do this?
Drop items on ground
Re: Drop items on ground
You can use surface.spill_item_stack it takes an item stack and a position as parameters.
https://forums.factorio.com/wiki/inde ... item_stack
https://forums.factorio.com/wiki/inde ... item_stack
Advanced Logistics System - Provides a detailed view of your logistics network and the items within it
Re: Drop items on ground
I'm not sure I understand the question correctly, but dropping an item on the floor from your cursor is Z by default. Is that what you're looking for?
Re: Drop items on ground
no, I was talking about a way to drop items from a mod, like in code.TimmPure wrote:I'm not sure I understand the question correctly, but dropping an item on the floor from your cursor is Z by default. Is that what you're looking for?