while 1 do if turtle.detect() turtle.attack() end end
Should I introduce some kind of artificial delay such as sleep or yield in this to avoid CPU load?
Posted 29 January 2013 - 04:07 AM
while 1 do if turtle.detect() turtle.attack() end end
Posted 29 January 2013 - 04:49 AM
while true do turtle.attack() end
Posted 29 January 2013 - 05:39 AM
Orwell, on 29 January 2013 - 04:49 AM, said:
while true do turtle.attack() end
Posted 29 January 2013 - 05:43 AM
PhilHibbs, on 29 January 2013 - 05:39 AM, said:
Orwell, on 29 January 2013 - 04:49 AM, said:
while true do turtle.attack() end
Posted 29 January 2013 - 06:51 AM
Posted 29 January 2013 - 07:50 AM
Posted 29 January 2013 - 08:46 AM
turtle.dropDown()Or in case you want it to drop forward:
turtle.drop()Or have it drop the items up:
turtle.dropUp()Putting one of these after turtle.attack() would be optimal.
Posted 29 January 2013 - 09:05 AM
Frederikam, on 29 January 2013 - 08:46 AM, said:
turtle.dropDown()Or in case you want it to drop forward:
turtle.drop()Or have it drop the items up:
turtle.dropUp()Putting one of these after turtle.attack() would be optimal.
0 members, 1 guests, 0 anonymous users