(Official) LUA Scripting Documentation
get_item_type
Get the type of the specified item.
Spec:
get_item_type()
Returns
string: The item type. Returns N/A if the item is invalid.
Example
print(get_item_type(item.ironsword)
This will print the Iron Sword type which is Weapon.
Incomplete
This documentation is incomplete