turtle.getItemId()?
#1
Posted 05 October 2012 - 12:39 PM
#2
Posted 05 October 2012 - 12:50 PM
#3
Posted 05 October 2012 - 04:45 PM
It bothers me fundamentally. We now have turtles that can print pages, and books. They can communicate wirelessly, innately know what redstone wires are and can't frakking tell if blocks are dirt or stone </rant>
#4
Posted 05 October 2012 - 10:49 PM
Pyrodogg, on 05 October 2012 - 04:45 PM, said:
Blocks that can craft, dig, move, and place blocks are not OP, but being able to more intelligently determine what's in your inventory is? I'll be blunt, that's downright stupid. I don't even see how it could be OP. It's simply a more efficient way of doing the same thing, without wasting unnecessary processor cycles by doing it inefficiently.
#5
Posted 05 October 2012 - 11:13 PM
creepig, on 05 October 2012 - 10:49 PM, said:
Pyrodogg, on 05 October 2012 - 04:45 PM, said:
Blocks that can craft, dig, move, and place blocks are not OP, but being able to more intelligently determine what's in your inventory is? I'll be blunt, that's downright stupid. I don't even see how it could be OP. It's simply a more efficient way of doing the same thing, without wasting unnecessary processor cycles by doing it inefficiently.
Teleporting turtles are even more efficient. But all that just defeats the purpose. Computers/turtles are blind, they don't have eyes and crazy advanced image processors or some sort of sensors that recognize a hundres materials. It's just a clear border between a dumb moving block and an absurdly intelligent drone.
#6
Posted 05 October 2012 - 11:37 PM
#7
Posted 06 October 2012 - 02:25 AM
abc, on 05 October 2012 - 11:37 PM, said:
Reading helps /> 2 people infront of you just explained
Pyrodogg, on 05 October 2012 - 04:45 PM, said:
It bothers me fundamentally. We now have turtles that can print pages, and books. They can communicate wirelessly, innately know what redstone wires are and can't frakking tell if blocks are dirt or stone </rant>
Orwell, on 05 October 2012 - 11:13 PM, said:
creepig, on 05 October 2012 - 10:49 PM, said:
Pyrodogg, on 05 October 2012 - 04:45 PM, said:
Blocks that can craft, dig, move, and place blocks are not OP, but being able to more intelligently determine what's in your inventory is? I'll be blunt, that's downright stupid. I don't even see how it could be OP. It's simply a more efficient way of doing the same thing, without wasting unnecessary processor cycles by doing it inefficiently.
Teleporting turtles are even more efficient. But all that just defeats the purpose. Computers/turtles are blind, they don't have eyes and crazy advanced image processors or some sort of sensors that recognize a hundres materials. It's just a clear border between a dumb moving block and an absurdly intelligent drone.
#8
Posted 06 October 2012 - 02:57 AM
Orwell, on 05 October 2012 - 11:13 PM, said:
creepig, on 05 October 2012 - 10:49 PM, said:
Pyrodogg, on 05 October 2012 - 04:45 PM, said:
Blocks that can craft, dig, move, and place blocks are not OP, but being able to more intelligently determine what's in your inventory is? I'll be blunt, that's downright stupid. I don't even see how it could be OP. It's simply a more efficient way of doing the same thing, without wasting unnecessary processor cycles by doing it inefficiently.
Teleporting turtles are even more efficient. But all that just defeats the purpose. Computers/turtles are blind, they don't have eyes and crazy advanced image processors or some sort of sensors that recognize a hundres materials. It's just a clear border between a dumb moving block and an absurdly intelligent drone.
And yet they somehow have the ability to tell if this is the same as that without having "crazy advanced image processors" to recognize materials. If they can't tell what something is, they can't tell if it's the same as something else. It's as simple as that, and the idea that they somehow shouldn't be capable of distinguishing is quite simply completely absurd.
#9
Posted 06 October 2012 - 06:35 AM
Someone definitely need to make "Denied suggestions and ToDo list" pinned in this section.
#10
Posted 06 October 2012 - 12:01 PM
#11
Posted 06 October 2012 - 02:11 PM
Cloudy, on 06 October 2012 - 12:01 PM, said:
Other "white spot" - is the inventory interaction, since there are only two options - suck and drop.
#12
Posted 06 October 2012 - 02:25 PM
#13
Posted 06 October 2012 - 02:29 PM
PonyKuu, on 06 October 2012 - 02:11 PM, said:
Cloudy, on 06 October 2012 - 12:01 PM, said:
Other "white spot" - is the inventory interaction, since there are only two options - suck and drop.
Wheat growth detection wouldn't be able to be handled like this anyway - and the rest of them can be done if you provide a turtle with a block using silk touch (which is easier than ever to get in 1.3.2). Besides - I think the best way of detecting an item is being destructive - digging, and checking if an item has increased, or using turtle.compareTo() if it goes into a new slot. There is no way of us detecting what item is going to go into the slot at the time we mine, since it could be different every time we call it. Case in point, gravel and flint.
Suck and drop are more than enough to do most inventory interactions, including sorting etc. You just need a little ingenuity - where would the fun be if everything was handled to you on a plate?
#14
Posted 06 October 2012 - 03:33 PM
Cloudy, on 06 October 2012 - 02:29 PM, said:
Quote
Quote
#15
Posted 06 October 2012 - 03:50 PM
PonyKuu, on 06 October 2012 - 03:33 PM, said:
Quote
No. It isn't. Chests are cheap - and if something is rare in crafting, surely you won't have more than 8 stacks of each - you can easily pull in many stacks from the chest, and then put back things that you don't want. It isn't rocket science.
#16
Posted 06 October 2012 - 04:05 PM
Cloudy, on 06 October 2012 - 03:50 PM, said:
Quote
And, the thing I really don't like - is that any inventory is a black box. There are no way to know is there are something, and how much. By hand you can open the chest and look into it, but turtle can only suck items, and count them... And if there are no space in turtle's inventory - you should place items somwhere else, while you try to figure it out. Maybe some sort of inventory peripheral would be nice? For example, you peripheral.wrap() that inventory and be able to select slots in that inventory, count them and compare to something inside turtle's inventory...
#17
Posted 06 October 2012 - 04:42 PM
PonyKuu, on 06 October 2012 - 04:05 PM, said:
Look into database turtle peripheral.
Quote
And, the thing I really don't like - is that any inventory is a black box. There are no way to know is there are something, and how much. By hand you can open the chest and look into it, but turtle can only suck items, and count them... And if there are no space in turtle's inventory - you should place items somwhere else, while you try to figure it out. Maybe some sort of inventory peripheral would be nice? For example, you peripheral.wrap() that inventory and be able to select slots in that inventory, count them and compare to something inside turtle's inventory...
Turtles are going to remain blind when it comes to reading from an inventory - if you know you're reading from an inventory, you will have some idea as to what will be in that inventory anyway.
However, coming soon :
turtle.transfer( slot, [count] )
#18
Posted 06 October 2012 - 04:48 PM
Transfer sounds cool. Does it move a <count> number of items from selected slot to <slot>?
#19
Posted 06 October 2012 - 05:21 PM
#20
Posted 06 October 2012 - 06:37 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users