neural cleanup

This commit is contained in:
kepler155c@gmail.com
2019-03-19 01:41:32 -04:00
parent b4c894b8a1
commit b1c709795f
5 changed files with 61 additions and 88 deletions

View File

@@ -1,12 +1,10 @@
_G.requireInjector(_ENV)
local ni = require('neural.interface')
local Util = require('util')
local os = _G.os
while true do
local target = Util.find(ni.sense(), 'name', 'joebodo')
local target = Util.find(ni.sense(), 'name', '///////')
if target then
if math.abs(target.x) < 2 and
math.abs(target.z) < 2 then