trainworld_computercraft/computer/23/startup.lua
2025-06-22 00:08:46 +02:00

21 lines
493 B
Lua

dropoff = peripheral.wrap("top")
while true do
item = dropoff.getItemDetail(1)
if item and item.count > 32 then
repeat
item = dropoff.getItemDetail(1)
until not item or (item.count < 10)
end
bonemeal = turtle.getItemCount(1)
turtle.select(1)
for i = 2,bonemeal do
turtle.place()
end
while turtle.suck() do end
for i = 2,16 do
turtle.select(i)
turtle.dropUp(turtle.getItemCount()-1)
end
end