Простенькая программа, по которой робот разово выполняет рубку дерева с основанием из 4х блоков. Просто ставите его к нижнему блоку дерева и ждете окончания работы. Сама программа: -- Date: 05.01.2015 by TiM_Twiser local robot=require("robot") function tree1() if robot.swing() then robot.swing() robot.forward() while robot.detectUp() do if not robot.up() then robot.swingUp() robot.up() end end while not robot.detectDown() do robot.down() end end end -- MAIN PROGRAM print ("Program start.") for a = 1,2 do print ("Cut down Tree...") tree1() tree1() robot.turnRight() if not robot.detect() then robot.turnAround() end tree1() end print ("Program complete.")