A variable sized building program I created.
Buildings are made up of repeated 5x5 panels. User specifies the structure length/width in panels and how many storeys they want. Materials go in a row of chests just behind the turtle and are automatically used for restocking.
Picture guide here - http://imgur.com/a/LFGgr
Code can be found here - http://pastebin.com/h9Ct7VGM
I'm quite new to Lua/Computercraft so any comments/criticism would be appreciated.
Enjoy!
Variable Size Building Script
Started by TeddyJ, Feb 17 2013 10:02 AM
3 replies to this topic
#1
Posted 17 February 2013 - 10:02 AM
#2
Posted 17 February 2013 - 10:56 PM
This looks great!
Im running it atm on my ftb Server.
You might think about a resume ability, (when the Chunk gets unloaded or when no Player is online the Turtle just stops and wont finish its work)
And another idea I got for your nice programm is an upgrade funktion. For example I have build a 5x4x4 building and i want to upgrade it to 6x5x5, not sure how hard to implement this but might be a good idea :-)
Thanks for sharing your programm!
Im running it atm on my ftb Server.
You might think about a resume ability, (when the Chunk gets unloaded or when no Player is online the Turtle just stops and wont finish its work)
And another idea I got for your nice programm is an upgrade funktion. For example I have build a 5x4x4 building and i want to upgrade it to 6x5x5, not sure how hard to implement this but might be a good idea :-)
Thanks for sharing your programm!
#3
Posted 19 February 2013 - 06:56 AM
Great work! I can see this being really handy, particularly for moving bases or setting up a camp.
If you're looking for suggestions, then Queezle's right: a resume ability would be great. Maybe also experiment with different options for how the base looks.
Other than that, though, it's a cracking program. Well done.
If you're looking for suggestions, then Queezle's right: a resume ability would be great. Maybe also experiment with different options for how the base looks.
Other than that, though, it's a cracking program. Well done.
#4
Posted 24 June 2013 - 02:08 PM
The program isn't working right for me. I tried making a 5x3x3 building and I got a mess the turtle never went to the chests to refill it's materials.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











