Mining turtle tunnel script tunnels

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

CrazyButt

New Member
Jul 29, 2019
5
0
0
Hi, i'm new on FTB, and not really familiar with the mining turtle and how it works. I how to use the basics commands to do tunnels excavate etc but i'd like to have something more efficient, like placing torches and coming back to the start when full and drop items into a chest, and if possible set the length/height/width of the tunnel. So if you know anything like that let me know ! ;)

I also tested a few script which were on the pastebin website using the command "pastebin get <code> <filename>" but none were very helpful and every time i destroyed the turtle and put back somewhere else the program was gone...

So if you have any advise or solutions to my problem let me know :p
 

nevakanezah

New Member
Jul 29, 2019
177
0
0
The programs inside of a turtle are all "volatile" meaning they vanish once the power's cut off (aka you break the turtle.) In order to get a more permanent program, you'll need a disk drive and floppy disk, both very inexpensive at a cost of 3 redstone, 7 stone and a piece of paper for the pair.

Place the disk drive adjacent to a PC or turtle, and type in "cd disk", this will now put you in the disk's directory, so anything you save will be put on that disk. To run a program from a disk, put the turtle beside it, type "cd disk" to get into that directory again, then run the program name as normal.

In regards to your custom made programs, they can get somewhat complex, what with having to track your location so that you can return to base to drop off mats. It's almost easier to program them to carry an ender chest, then when theyre full, to place it above themselves, and drop everything into it, before picking it up again. Look up some LUA tutorials if you'd like to write it yourself, otherwise i would sugest pinding pre-mades.
 

Guswut

New Member
Jul 29, 2019
2,152
0
0
I also tested a few script which were on the pastebin website using the command "pastebin get <code> <filename>" but none were very helpful and every time i destroyed the turtle and put back somewhere else the program was gone...

Use the command "label set <NAME FOR YOUR TURTLE>" to set a label so it'll retain programs and fuel.

The programs inside of a turtle are all "volatile" meaning they vanish once the power's cut off (aka you break the turtle.) In order to get a more permanent program, you'll need a disk drive and floppy disk, both very inexpensive at a cost of 3 redstone, 7 stone and a piece of paper for the pair.

Place the disk drive adjacent to a PC or turtle, and type in "cd disk", this will now put you in the disk's directory, so anything you save will be put on that disk. To run a program from a disk, put the turtle beside it, type "cd disk" to get into that directory again, then run the program name as normal.
This is correct of unlabeled turtles/computers. It is not correct after you have labeled them.
 

nevakanezah

New Member
Jul 29, 2019
177
0
0
Use the command "label set <NAME FOR YOUR TURTLE>" to set a label so it'll retain programs and fuel.


This is correct of unlabeled turtles/computers. It is not correct after you have labeled them.
That i didn't know, but i hadnt known how to properly use labels prior to now. Thats super helpful though, thanks.

Now i can use my redwood harvesting program with significantly greater ease.
 

Guswut

New Member
Jul 29, 2019
2,152
0
0
That i didn't know, but i hadnt known how to properly use labels prior to now. Thats super helpful though, thanks.

Now i can use my redwood harvesting program with significantly greater ease.

Yeah, it makes it much easier to not need to ever use disks, and to only need to use pastebin for moving scripts onto stuff/off of stuff.
 

CrazyButt

New Member
Jul 29, 2019
5
0
0
Use the command "label set <NAME FOR YOUR TURTLE>" to set a label so it'll retain programs and fuel.

Thanks that's very helpful indeed if i ever find a good program for tunneling ;)

The programs inside of a turtle are all "volatile" meaning they vanish once the power's cut off (aka you break the turtle.) In order to get a more permanent program, you'll need a disk drive and floppy disk, both very inexpensive at a cost of 3 redstone, 7 stone and a piece of paper for the pair.

I don't know why but i can't create any floppy disk, i am on the FTB Ultimate if it make any difference, i just have "Empty disk" and it's not working when i use it with the disk drive.
 

nevakanezah

New Member
Jul 29, 2019
177
0
0
Thanks that's very helpful indeed if i ever find a good program for tunneling ;)



I don't know why but i can't create any floppy disk, i am on the FTB Ultimate if it make any difference, i just have "Empty disk" and it's not working when i use it with the disk drive.
The disk drive acts like an inventory, you can't just right-click with the disk in hand. as to creating the disk in the first place, its a piece of paper with a piece of redstone, iirc.
 

Guswut

New Member
Jul 29, 2019
2,152
0
0
The disk drive acts like an inventory, you can't just right-click with the disk in hand. as to creating the disk in the first place, its a piece of paper with a piece of redstone, iirc.

You should be able to shift-right-click a disk drive to put a disk in, last I used it. But it's pretty worthless with pastebin and labeled computers.
 

CrazyButt

New Member
Jul 29, 2019
5
0
0
You should be able to shift-right-click a disk drive to put a disk in, last I used it. But it's pretty worthless with pastebin and labeled computers.

You're right but i was just curious and wanted to make it work anyway. Well thanks for your help you two!! And if you know any tunnel programs that could be helpful don't hesitate :D and with an underchest like nevakanezah said, it look even better!
 

Fuzzlewhumper

New Member
Jul 29, 2019
500
0
0
To get a turtle to be non-volatile

label set TurtleNameOfYourChoice

Then when you break it and set it back down it keeps: Current Fuel Level, any programs you have on it.