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

Road Making Program

Started by carminer789, 23 March 2012 - 03:18 PM
carminer789 #1
Posted 23 March 2012 - 04:18 PM
Hi! Carminer here with my first program. It paves a 5*l road with configurable stripes,

Usage: Road <length> [LengthOfStripes] [<SpacingOfStripes>]

Put the road in the first slot.
Stripes in the second slot.

Pictures:
Spoilerhttp://imgur.com/SY0Ey


The code is located here:
http://pastebin.com/yeNFgF1Q


Features:
Placement of stripes along road
auto check for refill
customizable stripes and length
5 wide


Any feedback or questions are appreciated!
HTxL #2
Posted 23 March 2012 - 04:26 PM
Very nice
good work :(/>/>
Ian-Moone #3
Posted 23 March 2012 - 04:52 PM
nice work
best i could do with a turtle was a military robotic bomb
which did **** all
hamish1001 #4
Posted 23 March 2012 - 08:01 PM
better then my turtle program
it goes up randomly and NEVER come back


Vandie Bannersketch is cool isnt it :)/>/> how do you get multiple slides :(/>/>
xsupergamer2 #5
Posted 28 March 2012 - 07:43 AM
i have one that is easyer:

lua
=
print("How many times?")
a=tonumber(read())
x=1
while x<=a do
turtle.digDown()
turtle.placeDown()
turtle.turnRight()
turtle.forward()
turtle.turnLeft()
turtle.digDown()
turtle.placeDown()
turtle.turnRight()
turtle.forward()
turtle.turnLeft()
turtle.digDown()
turtle.placeDown()
turtle.forward()
turtle.turnLeft()
turtle.forward()
turtle.forward()
turtle.turnRight()
x=x+1
end
carminer789 #6
Posted 28 March 2012 - 01:41 PM
yours dosent ahve a multitude of features mine has, like auto check for refill, and stripes.
mid_kid #7
Posted 28 March 2012 - 10:26 PM
can you make a list of features plz?

i also think your code is a bit too big. (but it doesn't matter, every1 does it his/her own way)

i already wanted to make my road maker but you was faster :o/>/>

edit: i tried it and it doesn't work…
carminer789 #8
Posted 29 March 2012 - 01:52 PM
how does it fail?
grumpysmurf #9
Posted 12 April 2012 - 09:19 PM
Great program. Thanks for coding it. I ran it but it was a little buggy. It made the road but it left a space between the rows of 5.
carminer789 #10
Posted 28 April 2012 - 09:07 PM
You cant get in the way of it. Aslong as you run it correctly it should not fail.