Jump to content




Basic Programs [Tunneller, Staircase Creator and More]


  • You cannot reply to this topic
4 replies to this topic

#1 Uncreative_Name

  • New Members
  • 4 posts

Posted 03 March 2012 - 08:07 PM

Turtle

Here is a collection of some very basic programs for the Turtle.


Tunneller [http://pastebin.com/rtN5irdB]
The Tunneller digs out a 1 x 2 Tunnel however long the user decides. It additionally places torches at a user inputted frequency and places a block beneath it should it dig above a lava pool. All the while the turtle tracks and prints out it's progress.

Spoiler


Flint Maker
The Flint Maker is very basic, simply insert gravel into slot one and the Turtle will dig until all the gravel is expended.

Spoiler

Item Disposals
Another simple program, this will simply dig a hole, drop it's inventory and then fill the hole in afterwards.

Spoiler
Staircase Creator
The Staircase Creator will create a very easy to descend staircase, like the Tunneller the depth is user inputted.


Spoiler

Terminal

Advanced Doorlock

An advanced doorlock with a linear or exponentially increasing delay.

Spoiler

Random Number Generator
Spoiler

Dice
Spoiler

Edited by Uncreative_Name, 04 March 2012 - 06:52 AM.


#2 Uncreative_Name

  • New Members
  • 4 posts

Posted 04 March 2012 - 06:54 AM

March 3rd - 11:00 PM

ADDED:
  • ​Dice
  • Random Numer Generator
FIXED:
  • Many assorted fixes


#3 Zer0t3ch

  • Members
  • 33 posts
  • LocationIllinois, USA

Posted 13 March 2012 - 08:16 PM

Looks good. I'm probably going to download the flint one and the disposal one for my server later.

#4 Temploit

  • New Members
  • 1 posts

Posted 18 March 2012 - 01:07 PM

You can shorten the Item Disposals code by making a loop:


print("Dropping Items...")
turtle.digDown()
turtle.down()
turtle.digDown()
turtle.down()
for i=1,9 do
turtle.select(i)
turtle.drop()
end
turtle.select(1)
turtle.digDown()
turtle.up()
turtle.up()
turtle.placeDown()
print("Items Dropped")

#5 Ian-Moone

    The Germ

  • New Members
  • 124 posts
  • LocationLiverpool (no I am not a Scouser Im form Holland)

Posted 21 March 2012 - 12:19 PM

defiantly getting the flint one
will save so mush time for my friends





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users