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

@@ -62,7 +62,7 @@ shell.openForegroundTab('spawner.lua %s')]], table.concat({ ... }, ' ')))
end
turtle.setMovementStrategy('goto')
turtle.setPolicy(turtle.policies.attack)
turtle.set({ attackPolicy = 'attack' })
local function dropOff()
local inv = turtle.getSummedInventory()