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

[1.4] Turtle Inventory Management

Started by Bardiel, 20 September 2012 - 10:46 PM
Bardiel #1
Posted 21 September 2012 - 12:46 AM
Hello! This is my first post!
First of all, sorry for my very bad english!

syntax: ordenar <argument>

Argument is optional, is for select the slot select who you want to be after the execution of the program.

[media]http://youtu.be/SdUsnr9zyFM[/media]


PasteBin: http://pastebin.com/wxM4D4nC

Download:http://adf.ly/E2ZQD

Update! this version is optimized for 1.45

PasteBin: http://pastebin.com/Xme4VD9B

Download: http://adf.ly/E2ZLq
Cranium #2
Posted 21 September 2012 - 12:56 AM
Haha, Adfly link. Sorry, but no….Pastebin works for me if I wanted this.
Bardiel #3
Posted 21 September 2012 - 01:08 AM
Now? :)/>/>
MysticT #4
Posted 21 September 2012 - 01:17 AM
Nice work.
Just one thing, the last part is not necesary, since the return value is not used.
You could make it into an api, so programs can use it easier.

It's good to see someone from Argentina :)/>/>
Bardiel #5
Posted 21 September 2012 - 01:26 AM
Thank you! I always add the return values​​, because I think it is good practice to the programming. For that you can use in larger projects.
What is not clear is that the return value is true if you could make at least one empty slot (which is what I needed when designing the algorithm).
Bardiel #6
Posted 23 October 2012 - 09:31 PM
Now available, the version optimized for 1.45!!