Posted 25 May 2013 - 05:24 AM
I am not 100% sure if this is intended or not, perhaps it should be in suggestions but I will leave that up to the moderators
Turtles suck items out of inventories in the order of their slots which is perfectly fine however when you cannot fit the first item in your inventory but could hold the second item should it not suck out the second item?
SCENARIO:
Place a turtle and fill all of its slots with 1 stone each, place a chest in front of him with a dirt block in slot 1 and a stone block in slot 2 and use turtle.suck()
EXPECTED:
The stone to be sucked out as it can fit into the turtle's inventory
REALITY:
turtle.suck() returns false
Turtles suck items out of inventories in the order of their slots which is perfectly fine however when you cannot fit the first item in your inventory but could hold the second item should it not suck out the second item?
SCENARIO:
Place a turtle and fill all of its slots with 1 stone each, place a chest in front of him with a dirt block in slot 1 and a stone block in slot 2 and use turtle.suck()
EXPECTED:
The stone to be sucked out as it can fit into the turtle's inventory
REALITY:
turtle.suck() returns false