Posted 12 November 2014 - 05:23 AM
I'm a bit of a dwarf when it comes to minecraft but digging underground rooms by hand can be tedious so I wrote a turtle program that makes rooms and hallways for me. My question is, "Is it possible to queue several rooms and have the turtle dig them out one at a time?" The number of rooms would be user defined and the dimensions of each room would also be user defined.
Basically, in the event my base needs an expansion, I want to be able to place down a turtle, tell it I want a hallway of x dimensions, a room at the end of it with y dimensions, another hallway off of that with z dimensions, and so on.
I already have the code to dig the rooms themselves, I just need a way to queue them up before the turtle starts digging.
I also have a basic menu that asks for the dimensions of the room.
As my code stands, the turtle asks for dimensions, digs out the room, then when it's done digging, asks for dimensions again. I want to give it the dimensions for all of the rooms (however many I happen to need at the time) and then have it start digging so I don't have to babysit it as much.
I'm fairly new to programming so I'm sure there is a simple solution, I just have no clue what it is.
Basically, in the event my base needs an expansion, I want to be able to place down a turtle, tell it I want a hallway of x dimensions, a room at the end of it with y dimensions, another hallway off of that with z dimensions, and so on.
I already have the code to dig the rooms themselves, I just need a way to queue them up before the turtle starts digging.
I also have a basic menu that asks for the dimensions of the room.
As my code stands, the turtle asks for dimensions, digs out the room, then when it's done digging, asks for dimensions again. I want to give it the dimensions for all of the rooms (however many I happen to need at the time) and then have it start digging so I don't have to babysit it as much.
I'm fairly new to programming so I'm sure there is a simple solution, I just have no clue what it is.