turtle api inconsistencies
DoWhileGeek opened this issue · 2 comments
turtle.getItemDetail()
returns a table with a name
, a count
, and a damage
property.
the family of turtle.inspect
methods return a name
and metadata
.
If damage
and metadata
are the same, why should they have different property names?
Dan has said he won't change this.
They've not the same.
turtle.inspect() returns information about blocks
turtle.getItemDetail() returns information about items
Blocks don't have damage values
Items don't have metadata
…On 5 Dec 2016 8:09 a.m., "SquidDev" ***@***.***> wrote:
Dan has said
<http://www.computercraft.info/forums2/index.php?/topic/22846-173-turtleinspect-and-turtlegetitemdetail-have-different-keys-for-damage/>
he won't change this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#148 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3bbJLSJmfyJEcns6H-JtMc3KRWJ3Yuks5rE8augaJpZM4LD3Oc>
.