diff options
author | ubq323 <ubq323@ubq323.website> | 2022-06-28 00:08:05 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-06-28 00:08:05 +0100 |
commit | c5b562d81ce17d017bf46d5ec7f9c936ca688370 (patch) | |
tree | e57cd366818e503e4f9756b9040accf248ead5c6 | |
parent | 989a265c039dbd3aa73a3118657fa46942211e85 (diff) |
hole
-rw-r--r-- | hole.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -37,4 +37,10 @@ while true do laser.fire(yaw,pitch,4) end end + if #targets == 0 then + for i = 1,5 do + if turtle.detectDown() then break end + assert(turtle.down()) + end + end end |