Add logistics pipes test
This commit is contained in:
commit
5ba3e310d0
|
@ -0,0 +1,7 @@
|
||||||
|
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
|
Loading…
Reference in New Issue