(Official) LUA Scripting Documentation
get_item_subtype
Get the subtype of the specified item.
Spec:
get_item_subtype()
Returns
string: The item subtype. Returns N/A if the item is invalid.
Example
print(get_item_type(item.flintarrow)
This will print the Flint Arrow subtype which is Arrow.
Incomplete
This documentation is incomplete