Posted 01 January 2017 - 01:53 AM
Basically, I'm trying to pseudo-dynamically recreate the turtle API for when you can't run code on a turtle.
Here's a link to the fake API creator:
https://github.com/CC-Hive/Toetle/commit/2b4fcd311e082c18904d2554f72429a686b1de6f
My test code is this:
the error: "attempt to call nil" on line 1
which means I can't do it the way I thought I could, so I'd like you guys to give me some pointers on how to do this
The todo section of the readme may help if you don't understand what I'm trying to achieve: https://github.com/C...-implementation
I want to avoid a big init function.
Here's a link to the fake API creator:
https://github.com/CC-Hive/Toetle/commit/2b4fcd311e082c18904d2554f72429a686b1de6f
My test code is this:
turtle.toetle.suck(true)
print(turtle.suck())
the error: "attempt to call nil" on line 1
which means I can't do it the way I thought I could, so I'd like you guys to give me some pointers on how to do this
The todo section of the readme may help if you don't understand what I'm trying to achieve: https://github.com/C...-implementation
I want to avoid a big init function.
Edited on 02 January 2017 - 12:38 PM