←  General

ComputerCraft | Programmable Computers for Minecraft

»

The unprofessionality of CC's Lua APIs...

ironsmith123's Photo ironsmith123 15 Mar 2012

View PostJajnick, on 14 March 2012 - 10:12 PM, said:

Thank you. :D/>
If I'll find some free time I'll help, at least the wiki will be finally useful.
Make sure to apply on our thread!
Quote

petrus4's Photo petrus4 15 Mar 2012

View PostCasper7526, on 11 March 2012 - 02:16 AM, said:

I do see your issue with the turtle.drop() command, and how it drops a whole stack instead of a single item. I personally would say this is BETTER than dropping a single item, but thats just my opinion.

There's a workaround. Get Pfaeff's Allocator. It ejects only a single item at a time, from a stack.

Quote

CC is not a "user" friendly mod, it's never been planned to be. It's a CODERS mod

Granted, but Lua is easily the most simplistic language I've ever come across. If Dan200 had decided to use Lisp as the scripting language, then we might have something to genuinely complain about. :D/>
Quote

Espen's Photo Espen 15 Mar 2012

View Postpetrus4, on 15 March 2012 - 06:00 AM, said:

View PostCasper7526, on 11 March 2012 - 02:16 AM, said:

I do see your issue with the turtle.drop() command, and how it drops a whole stack instead of a single item. I personally would say this is BETTER than dropping a single item, but thats just my opinion.

There's a workaround. Get Pfaeff's Allocator. It ejects only a single item at a time, from a stack.

That's no longer necessary. The new version of CC now supports dropping different quantities of blocks:
turtle.drop( quantity )
Quote