8 lines
329 B
Lua
8 lines
329 B
Lua
local pipe = component.logisticspipe.getPipe()
|
|
local items = pipe.getAvailableItems()
|
|
for _,item in pairs(items) do
|
|
local itemStack = item.getValue1()
|
|
print("Requesting :" .. item.getValue2() .. " of " .. itemStack.getName() .. " from mod " .. itemStack.getModName())
|
|
pipe.makeRequest(itemStack, item.getValue2() + .0)
|
|
end
|