Posted 12 July 2015 - 05:16 AM
Hello every one! I haven't been on here in a bit. But it's a new day and I am back on the lua band wagon!
So I decided to start testing my creativity on some turtles. I've got most of the basic ideas of movement and inventory interaction. I would like to start expanding my turtles to do more interesting things. However, some of the ideas I have, II've almuch fun have no idea how to make them take shape as far as the code goes. I was wondering if someone could maybe either:
1. Provide me with a "template" code to get started with
Or
2. Point me towards some good resources that will help me achieve my goals.
That said let's begin.
1. How would I go about making a turtle remember it's position in the world (coordinate wise) and return to that spot once prompted to?
2. When making a turtle pull from or drop into a chest, is there a way to specify which slot in the chest it pulls from/drops to? Is there a way to specify the quantity?
3. Let's say I have a turtle building a house. Is there a way to monitor the materials it has on hand, and have it sent back to a monitor of some sort?
4. Let's say a turtle is building, but runs into a problem. Is there a way to have it pick up where it stopped once the issue is resolved?
For now that's all I got. Thanks in advance for reading this, and all help is massively appreciateed. BTW, sorry if some of this has been discussed elsewhere. I really wasn't sure how to search for this stuff. If you have links to any reference material on these matters, feel free to share. i want to learn as much as possible and get better at coding. its so much fun, but it gets challenging.
So I decided to start testing my creativity on some turtles. I've got most of the basic ideas of movement and inventory interaction. I would like to start expanding my turtles to do more interesting things. However, some of the ideas I have, II've almuch fun have no idea how to make them take shape as far as the code goes. I was wondering if someone could maybe either:
1. Provide me with a "template" code to get started with
Or
2. Point me towards some good resources that will help me achieve my goals.
That said let's begin.
1. How would I go about making a turtle remember it's position in the world (coordinate wise) and return to that spot once prompted to?
2. When making a turtle pull from or drop into a chest, is there a way to specify which slot in the chest it pulls from/drops to? Is there a way to specify the quantity?
3. Let's say I have a turtle building a house. Is there a way to monitor the materials it has on hand, and have it sent back to a monitor of some sort?
4. Let's say a turtle is building, but runs into a problem. Is there a way to have it pick up where it stopped once the issue is resolved?
For now that's all I got. Thanks in advance for reading this, and all help is massively appreciateed. BTW, sorry if some of this has been discussed elsewhere. I really wasn't sure how to search for this stuff. If you have links to any reference material on these matters, feel free to share. i want to learn as much as possible and get better at coding. its so much fun, but it gets challenging.