Page 1 of 1

Teleport Inventory from chest to chest

Posted: Sat Jul 15, 2023 1:13 pm
by Fiend
So I want to "teleport" inventory from one chest to another, I have two questions:
1. Is there a way to actually teleport inventory? or should I use .insert in one chest and remove from the other?
2. I am trying out insert/remove and I'm able to use .insert in the destination chest but what should I use to remove certain item's inventory with a specific amount from the source chest?

Re: Teleport Inventory from chest to chest

Posted: Sat Jul 15, 2023 2:55 pm
by Rseding91
You'd want to iterate the slots in the inventory and use https://lua-api.factorio.com/latest/Lua ... sfer_stack