Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- stopcode = false
- botslot = 1
- stoneslot = 2
- if #args ~= 1 then
- print( "Usage: botania <param1>" )
- print( "-----------------------" )
- print( "Harvests the param1 number of blocks" )
- print( "Sourceblocks (stone or wood) go on top (barrel, DSU, chest)" )
- print( "Resulting Botania blocks go in front store (barrel, DSU, chest)")
- print( "Place 1 result block in my inventory slot 1 ")
- return
- else
- times = tonumber(args[1])
- end
- for i=1,times do
- turtle.select(stoneslot)
- turtle.suckUp(1)
- turtle.placeDown()
- turtle.select(botslot)
- while not turtle.compareDown() do sleep (2) end
- turtle.digDown()
- turtle.drop(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement