Posted 27 December 2012 - 12:12 PM
I'm fairly new to programming. I just started messing around with the turtles and looked at a couple lua tutorials then wrote this. I used pretty much 100% of my coding knowledge in this program. So if it's not there, assume I don't know what it is.
The point of this post is I want to learn more of this program and don't know where to go from here. I'm just using this program to show you kind of where I am and show you where I want to end up.
The program checks how wide a tree in front of the turtle is then cuts it down and replants.
I thought about adding functions to get more coal or saplings and putting wood block into a chest as well as a function to bone meal the tree.
I didn't add the refilling functions because I'm not happy with requiring a user to put a chest in a specific location. Untimely I would like to set up a gps array and pathing finding program so I could set waypoints of the appropriate chest so the turtle can go to them where ever they are to refill itself then find it's way back to the tree.
I've seen gps programs on youtube, but I really don't understand how they work.
I will probably add the bonemeal function later on, but I was writing this code in survival and don't have a good bone supply as of now.
Do you guys think it's worth learning and writing it in the gps functions or should I just leave the program simple?
If I do write it in, where should I look to learn how to do that?
The point of this post is I want to learn more of this program and don't know where to go from here. I'm just using this program to show you kind of where I am and show you where I want to end up.
The program checks how wide a tree in front of the turtle is then cuts it down and replants.
I thought about adding functions to get more coal or saplings and putting wood block into a chest as well as a function to bone meal the tree.
I didn't add the refilling functions because I'm not happy with requiring a user to put a chest in a specific location. Untimely I would like to set up a gps array and pathing finding program so I could set waypoints of the appropriate chest so the turtle can go to them where ever they are to refill itself then find it's way back to the tree.
I've seen gps programs on youtube, but I really don't understand how they work.
I will probably add the bonemeal function later on, but I was writing this code in survival and don't have a good bone supply as of now.
Do you guys think it's worth learning and writing it in the gps functions or should I just leave the program simple?
If I do write it in, where should I look to learn how to do that?