I am trying to set up robots to craft fireworks and am having a problem. Each robot will only respond to up down forward and back. any other command in lua throws and error, even exit. I get it on required, component and everything else.
stdin:1: attempt to call field 'turnleft' (a nil value)
stack traceback
kernel:137: in function turnleft
stdin:1: in main chunk
[c]: in function 'xpcall' /bin/lua.lua:62 in min chunk (..tail calls..)
What am I am missing? I found the robot.lua and placed it in the bin folder for each robot but it didn't help.
What I want to do is take all the items from a chest, craft the stars, then craft the rocket and put it in a different chest.
I have no clue to the error. can probably write the code if I can get the robots working.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I am trying to set up robots to craft fireworks and am having a problem. Each robot will only respond to up down forward and back. any other command in lua throws and error, even exit. I get it on required, component and everything else.
Link to post
Share on other sites