This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ashvathaman's profile picture

Using turtles to make a nice House

Started by ashvathaman, 06 February 2013 - 10:48 PM
ashvathaman #1
Posted 06 February 2013 - 11:48 PM
You can use a normal turtle or a mining one. If you use a normal turtle, dig the hole yourself. :P/>

Make a 14 x 14 x 8 hole and cover the walls with bricks. You will end with a 12 x 12 x 8 hole.
Put the turtle in the corner at the bottom + 1.
Run the program house1. It will tell you what materials you need and how to place it. Use slots 1-8 and 16. Slots 9-15 are for excess material.
Run the program House2.
Clear the leaves, put some stairs and doors… and thats all.

Materials:
Bricks or cobbe 675
Glowstone or w.planks 62
Planks 195
Glass 120
Wood 27
Wooden Slab 95
Stone Slab 70
Leaves or wool 69


Programs
house1: http://pastebin.com/CS9S6CGq
house2: http://pastebin.com/NeKjaB5f

[media]http://youtu.be/1YGqgPFH2Lo[/media]
bukuskat #2
Posted 09 February 2013 - 03:45 PM
Well done, ran into a small problem with "house2" i added all the items but it needed to be the right amount in each slot rather then just adding the stacks, maybe change that code so we can add stacks rather then the right amount then adding the extra to the "overflow slots" (9-15)
ashvathaman #3
Posted 10 February 2013 - 08:59 AM
The right amount is only needed in the first slot, the rest don't mind.
if the right amount in the first slot don't match the required, then write the help.

I made little change. in house2, if the amount IS LESS THAN 59…
You can put a stack.

house2 : http://pastebin.com/CPkpYVrC