Jump to content




Lazy Nub Stair Builder

turtle

15 replies to this topic

#1 LazyNub

  • Members
  • 39 posts

Posted 19 May 2013 - 07:56 PM

Lazy Nub Stairs v0.04

lava resistant blocks in slot 1 (optional)
fuel in slot 15 (coal, charcoal, lava bucket so on..)
torches in slot 16 (optional)

Will build downward, straight or spiral single width stair case.

It will place torches if you wish and at any
distance apart you specify.

Suggestion: Torches 7 apart.

Also will ensure there is always a step placed
but optionally will build 100% enclosed stair well
(unless random mob interrupts builder)
in order to traverse lava and water areas safely.

if you select secure building, place lava resistant
blocks in slot 1.

fuel required is 2 times stair depth for normal stairs
or 4 times stair depth for secure stairs.

Turtle will run a fuel level check before digging.
fuel slot is 15

Original Post located at: http://www.computerc...-stair-builder/

Original Video located at:


Updated Pastebin Located at: http://pastebin.com/iLgK1kFf

pastebin get iLgK1kFf lnsb

start with: lnsb

UPDATED VIDEO:


#2 unobtanium

  • Members
  • 505 posts

Posted 21 May 2013 - 08:25 AM

Great work :D
Some pictures would be very nice.

#3 LazyNub

  • Members
  • 39 posts

Posted 23 May 2013 - 12:37 AM

Demo of latest version added.

#4 unobtanium

  • Members
  • 505 posts

Posted 23 May 2013 - 06:33 AM

Now add a refuel option for the user as well. So why let the player exit the program if there is not enough fuel in it? That is like punish him for not doing it earlier :D Simply say where the player should place the coal in and the turltle go and try to refuel from the given slot until it has enough.

Add a waiting timer after it dig out a block and detect once again if a block is above or in front Nevermind. 0.4 seconds should be enough :s

You also should be carefully by labeling multiple turtles/computers with the same name. I found out that they potentionally share their files/variables/programs ect after a restart.

#5 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 23 May 2013 - 06:35 AM

 UNOBTANIUM, on 23 May 2013 - 06:33 AM, said:

Simply say where the player should place the coal in and the turltle go and try to refuel from the given slot until it has enough.
And in the new ComputerCraft you can use turtle.refuel(0) to confirm that what was added is a fuel source, and if it isn't you can yell at the user. :P

#6 unobtanium

  • Members
  • 505 posts

Posted 23 May 2013 - 06:37 AM

 theoriginalbit, on 23 May 2013 - 06:35 AM, said:

And in the new ComputerCraft you can use turtle.refuel(0) to confirm that what was added is a fuel source, and if it isn't you can yell at the user. :P

Oh wow. I looked for such an if statement <3 Never tought that it would be such easy xD Thank you!

#7 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 23 May 2013 - 07:00 AM

 UNOBTANIUM, on 23 May 2013 - 06:37 AM, said:

Oh wow. I looked for such an if statement <3 Never tought that it would be such easy xD Thank you!
Same can be done with turtle.craft(0)

#8 LazyNub

  • Members
  • 39 posts

Posted 23 May 2013 - 07:39 PM

Okay added a fueling stage.. Happy stair climbing!

ToDo List:

Fix secure spiral building
Add optional turtle return to surface option

#9 unobtanium

  • Members
  • 505 posts

Posted 24 May 2013 - 05:20 AM

This program ist accually getting better and better. You should rewrite and organize your original post a bit, because it is very difficulty to read and see, what is important if i want to "this" or "that". For example some subtitles would be nice to have. You also can change the post main topic, buy clicking on "Use Full Editor" right next to the "Save Changes" button while you are editing your post. That will keep your version number running ;D

#10 LazyNub

  • Members
  • 39 posts

Posted 24 May 2013 - 11:38 PM

Cool, I was wondering how to edit the title. :)

#11 LazyNub

  • Members
  • 39 posts

Posted 01 June 2013 - 11:42 PM

Made some updates.. Here is a video just cause I like Zycraft Blocks. :)



#12 unobtanium

  • Members
  • 505 posts

Posted 02 June 2013 - 04:37 AM

Link above does not work for me :S

#13 LazyNub

  • Members
  • 39 posts

Posted 02 June 2013 - 05:16 AM

 UNOBTANIUM, on 02 June 2013 - 04:37 AM, said:

Link above does not work for me :S

Hope it clears up for you soon.. it's not that informative just showing off the spiral stairs with zycraft blocks :)

#14 unobtanium

  • Members
  • 505 posts

Posted 02 June 2013 - 05:39 AM

I mean the pastebin link...
Somehow i am getting linked to here if i click the link in the OP

#15 LazyNub

  • Members
  • 39 posts

Posted 02 June 2013 - 06:40 AM

Thanks, all fixed now.

#16 gicon

  • Members
  • 10 posts

Posted 23 October 2013 - 10:26 AM

http://i.imgur.com/G4KihpG.png

any idea on what I'm doing wrong mate?

NNNEEeVVVERRRMIND! Figured it out, was because there isn't a fuel requirement on my server.

Commented out lines 337 to 354 and all is well, thanks for this mate. :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users