742mph
My work is never done yet
The AI code for the Tails bot is not lua. Its C+ (Or C++ not sure), It would be decades more difficult to recreate and translate it through lua.
Actually, I once translated the bot AI's C code into Lua as a starting point for an attempt to make a better AI, and it only took an hour or so. I've modified my translated code extensively since then, but it shouldn't be hard for someone else to recreate it.