28 posts
Location
Pryp'yat' Kyivs'ka oblast Ukraine
Posted 14 June 2015 - 03:00 AM
Introducing…
TurtlePharm Version 0.1
A simple, yet comprehensive turtle farming program.
First of all, install the program by typing:
pastebin get CVW6TErb farm
or, to have the program start automatically when the turtle boots up:
pastebin get CVW6TErb startup
You'll want to setup your farm as a rectangular plot of any size, with the turtle's starting point in one corner, with the turtle's back facing a chest.If you need help, check out this image:http://imgur.com/gQiPRDNThere are a few basic criteria for the farm to work correctly:- The farm must be rectangular.
- The farm must be pre-planted, or at the very least, pre-tilled.
- The turtle must be placed in the orientation shown, in the bottom left of the rectangle, facing away from the chest.
- The turtle must be fuelled. There is no built-in fuel checking, so make sure to jam as much fuel as you can into the turtle before starting the program.
- The farm must be fenced off/inaccessible by mobs. They can trample crops and interfere with the turtle's movement.
- Seeds always go in the turtle's first slot!
- The farm works with either advanced or normal turtles, but advanced can hold 5x the fuel by default.
Feel free to leave suggestions/bug reports in the comments. This is my first time making a farming program, or a large scale turtle program at that, so I expect that I may have missed some bugs, but it works for me on singleplayer without any problems.
656 posts
Posted 14 June 2015 - 11:17 AM
First of all: cool first program! A couple of notes though:
You might want to check out farming turtles, the can till dirt automatically. Maybe you can even let them build the farm themselves when given some dirt and water buckets?
More info
here and
here (look at the yellow functions).
I recommend removing the font in your main post, there's nothing wrong with the default one :D/>
And you can make the program refuel from a chest above its starting position to make it last longer.
28 posts
Location
Pryp'yat' Kyivs'ka oblast Ukraine
Posted 14 June 2015 - 12:08 PM
First of all: cool first program! A couple of notes though:
You might want to check out farming turtles, the can till dirt automatically. Maybe you can even let them build the farm themselves when given some dirt and water buckets?
More info
here and
here (look at the yellow functions).
I recommend removing the font in your main post, there's nothing wrong with the default one :D/>
And you can make the program refuel from a chest above its starting position to make it last longer.
Although it would be cool to have the turtle build the farm automatically, that would be a massive program on its own because the turtle cannot till dirt from above, so I'd have to have the turtle dig below the farmland or next to it. It would be a challenge, but I'll try and see if I can make a program to do that, and then integrate it. Also, do you have any suggestions for how I should have the user tell the turtle how to build it, as in where to put the water?
Also, I'll go ahead and add a refuelling feature that will stop the turtle until enough fuel is given to complete one full harvest.
656 posts
Posted 14 June 2015 - 06:33 PM
First of all: cool first program! A couple of notes though:
You might want to check out farming turtles, the can till dirt automatically. Maybe you can even let them build the farm themselves when given some dirt and water buckets?
More info
here and
here (look at the yellow functions).
I recommend removing the font in your main post, there's nothing wrong with the default one :D/>/>
And you can make the program refuel from a chest above its starting position to make it last longer.
Although it would be cool to have the turtle build the farm automatically, that would be a massive program on its own because the turtle cannot till dirt from above, so I'd have to have the turtle dig below the farmland or next to it. It would be a challenge, but I'll try and see if I can make a program to do that, and then integrate it. Also, do you have any suggestions for how I should have the user tell the turtle how to build it, as in where to put the water?
Also, I'll go ahead and add a refuelling feature that will stop the turtle until enough fuel is given to complete one full harvest.
turtle.placeDown tills the dirt below the turtle ;)/>
You could ask the user the size of the farm, and place water every 8 blocks. At least I think 8 is optimal, don't quote me on that though.
227 posts
Location
Germany
Posted 14 June 2015 - 06:33 PM
Turtles actually can till dirt from above - just leave one block of space between the dirt and the turtle and it should work fine ;)/>
#Kinda ninja'd :ph34r:/>
Edited on 14 June 2015 - 04:34 PM
28 posts
Location
Pryp'yat' Kyivs'ka oblast Ukraine
Posted 14 June 2015 - 08:08 PM
Turtles actually can till dirt from above - just leave one block of space between the dirt and the turtle and it should work fine ;)/>
#Kinda ninja'd :ph34r:/>
Thanks! I've been trying to have the turtle go down below the block to till it. That would be so much easier.
1 posts
Posted 28 December 2015 - 03:55 PM
Hi, is there some way of ensuring the turtle always puts seeds it harvests into its first slot? I planted my crops then put seeds in the first slot as per the instructions, but once it's planted all of them it appears to be random whether it puts crops or seeds into its first slot. It then dumps them into the chest and doesn't take them back, meaning I have to babysit my farm. I've tried placing crops in slot 2 before starting it to make sure the harvested seeds go into slot 1 and also made sure there was at least one seed in slot 1 of the chest too, but it still ends up messed up.
Would I be right in guessing the way this works it probably needs to have as many seeds in slot 1 as are required for the size of the plot to ensure slot 1 is always for seeds? Given I'm using this for Magical Crops farming I'd really like to find a more efficient way than having to have that many seeds.