Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
wbrown2wmb

firework crafting program help

Question

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.

post-557-0-63029900-1411496885_thumb.jpg

Link to post
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.