(Official) LUA Scripting Documentation
is_item_subtype
Gets the specified item subtype.
Spec:
is_item_subtype()
Returns
bool: Returns true if the given item and subtype match.
Example
print(is_item_subtype(item.woodbow, "Bow"))
This will print true as the Wood Bow has the subtype of Bow.
Incomplete
This documentation is incomplete