Posted 07 September 2012 - 05:42 PM
OH sweet Crafty got some babies!
Hey there
I just built a small program which lets you use a crafting turtle over the keyboard.
Put the ingredients (up to 6 stacks) in front of Crafty and start the program.
1..6 to select inventory slots
qwe
asd —-for the crafting grid
xcv
Space to craft
and k to abort
Im sure this kind of program already exists but I built this as a part of my "AI Challenge" (more on that maybe later)
Its not fool proof at all and the os.exit() throws a nil error but it does its job and aborts the program :D/>/>
This might be updated/improved or not in the future as it is only a snippet of another "project"
suggestions and help very appreciated as Im a Lua noob
http://pastebin.com/Lnq6gM0B
Edit: a bit more fool proof now. Items that are replaced in the crafting grid now go back to the inventory slots instead to the buffer slot 13
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Crafty can now craft things on its own!! Well.. kind of.. you still need to feed..
Also Crafty can now make Patterns.
Autopattern is a program to make Patterns Autocrafty can use.
autopattern <filename> to start writing a pattern in Crafty
Space to save Pattern
http://pastebin.com/rbNX8xLt
The Patterns are used by Autocrafty
autocrafty <filename> to start autocrafting from Pattern
http://pastebin.com/cmhkz3Av
maybe I will merge them to one sometime as they are only slightly modified versions.
Hey there
I just built a small program which lets you use a crafting turtle over the keyboard.
Put the ingredients (up to 6 stacks) in front of Crafty and start the program.
1..6 to select inventory slots
qwe
asd —-for the crafting grid
xcv
Space to craft
and k to abort
Im sure this kind of program already exists but I built this as a part of my "AI Challenge" (more on that maybe later)
This might be updated/improved or not in the future as it is only a snippet of another "project"
suggestions and help very appreciated as Im a Lua noob
http://pastebin.com/Lnq6gM0B
Edit: a bit more fool proof now. Items that are replaced in the crafting grid now go back to the inventory slots instead to the buffer slot 13
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Crafty can now craft things on its own!! Well.. kind of.. you still need to feed..
Also Crafty can now make Patterns.
Autopattern is a program to make Patterns Autocrafty can use.
autopattern <filename> to start writing a pattern in Crafty
Space to save Pattern
http://pastebin.com/rbNX8xLt
The Patterns are used by Autocrafty
autocrafty <filename> to start autocrafting from Pattern
http://pastebin.com/cmhkz3Av
maybe I will merge them to one sometime as they are only slightly modified versions.