2 -- we check to see if we can hyperspace in control to not spam
5 -- add this to control function
8 if task
== "hyperspace" then
9 ai
.hyperspace() -- try to hyperspace
15 function hyperspace ()
16 dir
= ai
.face(-1) -- face away from (0,0)
17 if (dir
< 10) then -- try to go straight