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

Autocrafting Diamond From Cobble With Minium Stone

Started by Vindex, 29 September 2013 - 01:19 PM
Vindex #1
Posted 29 September 2013 - 03:19 PM
Hi,

I've writen a program for turtle to craft diamon from cobble stone.
Get it here: http://pastebin.com/uUSD1U4k

Expected setup (from the side)

--   G	= cobble generator
--   C	= chest
--  IT	= item chest / crafty turtle facing I
--   M	= chest for storing minium stone (in first slot)
Image of setup: http://imgur.com/q6y7Pnm

Prerequisites:
– computercraft, OpenPeripherals, EE3 (for minium)

MANDATORY CONFIGURATION!!!!
– direction where turtle is located relative to the main item chest I
– TURTLE_DIRECTION() loaded from config file when first needed

Feedback welcome, otherwise enjoy.

Vindex
osiriswarp #2
Posted 29 September 2013 - 10:09 PM
Awesome script took me a bit to figure out the config stuff but once i got it working its really helping me out with setting up a new base.
Retriw #3
Posted 30 September 2013 - 12:55 PM
This is nice!
But ive got a question, can u do this with Gold to Iron?
SWGCryand #4
Posted 30 September 2013 - 04:33 PM
Could you provide a screen shot of how to set it up? The "config" is a bit confusing. Thank you!
thorfinnur1995 #5
Posted 30 September 2013 - 08:38 PM
can you post a pic of the setup?
Vindex #6
Posted 02 October 2013 - 02:24 AM
I've updated the post and included picture of the setup.

This is nice!
But ive got a question, can u do this with Gold to Iron?
What do you mean? There is Minium recipe for conversion of gold to iron. But program always goes forward for higher tier item.
thorfinnur1995 #7
Posted 02 October 2013 - 10:04 AM
http://imgur.com/2j1OT98
just keep geting this
areX #8
Posted 02 October 2013 - 10:43 AM
http://imgur.com/2j1OT98
just keep geting this
Same here…
Vindex #9
Posted 03 October 2013 - 03:24 PM
I've added configuration option to the program - it reads direction, where the turtle is relative to the chest in front of it. Hit F3 and look directly at the turtle from its front. The write that direction lowercase into the diacraft.config file.
areX #10
Posted 03 October 2013 - 05:05 PM
Thanks, now it works ;)/> i like it.
thorfinnur1995 #11
Posted 03 October 2013 - 10:59 PM
dosent work for me have tryed everytheing
http://imgur.com/mYdlKYO
Vindex #12
Posted 05 October 2013 - 05:44 PM
dosent work for me have tryed everytheing
http://imgur.com/mYdlKYO
You have to create the file, as the error message says. Did you do it?
svennieke #13
Posted 29 October 2013 - 09:28 AM
where can i find the diacraft.config file?
i realy wane use this awsome program i just don't know where to find the diacraft.config file please someone help me
deFENCE_ #14
Posted 30 October 2013 - 08:16 AM
where can i find the diacraft.config file?
i realy wane use this awsome program i just don't know where to find the diacraft.config file please someone help me
You need to create it first. do 'edit diacraft.config' and type in west, east, south or north. (Don't know what that means)
svennieke #15
Posted 30 October 2013 - 08:59 AM
so i made a diacraft.config file and wrote there south (that is the direction of the chest infront of the turtle and than i get this (of i named the program "diamond" is that something that messes it all up?)
what am i dooing wrong?
svennieke #16
Posted 31 October 2013 - 03:34 PM
please help me why is it saying target direction is not a valid inventory i am using a woosen chest is that wrong?
svennieke #17
Posted 01 November 2013 - 01:11 PM
this is a other problem i have after i turned the turtle to face to a other chest that i placed after it kept saying it from the inventory than it worked kinda than it showed me this but the chest where it is looking to is complete emty
Kazu #18
Posted 09 December 2013 - 07:39 PM
I always get this message.



I created the diacraft.config and tried both west and east, because I did not know if I need to use the direction its facing or the opposite direction.

What am I doing wrong?