Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------
- -- 1ng0 --
- ----------
- print(sl)
- print(slc)
- print(aa)
- print(ai)
- --if turtle.getItemCount() >=1 then
- while true do
- if aa >= 9 then
- --inv clearen
- sl=1
- for i =1,16 do
- turtle.select(sl)
- turtle.dropUp()
- sl = sl+1
- end
- --scrap ins inv laden
- slc=1
- for i=1,3 do
- --if aa >= 9 then
- turtle.select(slc)
- turtle.suckUp()
- ai=turtle.getItemCount(slc)
- aa=ai-1
- turtle.dropUp(aa)
- slc=slc + 1
- --else
- --print("Pause mode: Insert more scrap!")
- --print(sl)
- --print(slc)
- --print(aa)
- --print(ai)
- --local aa = read ()
- --end
- end
- turtle.select(5)
- slc=5
- for i=1,3 do
- --if aa >= 9 then
- turtle.select(slc)
- turtle.suckUp()
- ai=turtle.getItemCount(slc)
- aa=ai-1
- turtle.dropUp(aa)
- slc=slc+1
- --else
- --print("Pause mode: Insert more scrap!")
- --print(sl)
- --print(slc)
- --print(aa)
- --print(ai)
- --local aa = read ()
- --end
- end
- turtle.select(9)
- slc=9
- for i=1,3 do turtle.select(slc)
- --if aa >= 9 then
- turtle.suckUp()
- ai=turtle.getItemCount(slc)
- aa=ai-1
- turtle.dropUp(aa)
- slc=slc+1
- --else
- print("Pause mode: Insert more scrap!")
- --print(sl)
- --print(slc)
- --print(aa)
- --print(ai)
- --local aa = read ()
- --end
- end
- turtle.select(16)
- turtle.craft()
- sleep(0.1)
- turtle.dropDown()
- redstone.setOutput("bottom",true)
- sleep(0.1)
- redstone.setOutput("bottom",false)
- -- print("wait a sec. for next scrap!")
- -- sleep(aa)
- print("Start next round!")
- else
- Print("Pause mode: Insert more scrap!")
- print(sl)
- print(slc)
- print(aa)
- print(ai)
- local aa = read ()
- end
- end
- end
- end
- --else
- --print("Pause mode: Insert more scrap!")
- --local aa = read ()
- --goto continue
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement