Total Miner

(Official) LUA Scripting Documentation

is_item_type

Gets the specified item type.


Spec:

is_item_type()

Returns


Example

print(is_item_type(item.ironsword, "Weapon"))

This will print true as the Iron Sword has the type of Weapon.


Incomplete

This documentation is incomplete


back