rework turtle policies

This commit is contained in:
kepler155c@gmail.com
2019-01-17 13:31:43 -05:00
parent 7914990d6c
commit 6416e67130
10 changed files with 71 additions and 46 deletions

View File

@@ -49,7 +49,7 @@ equip('right', 'plethora:sensor', 'plethora:module:3')
local sensor = device['plethora:sensor']
turtle.setMovementStrategy('goto')
turtle.setPolicy(turtle.policies.attack)
turtle.set({ attackPolicy = 'attack' })
local function findChests()
if chest then