Functions Documentation
View Function Edit Function
Name itmGetCategory
Syntax (itmGetCategory item) -> item category
Argument List item: The item you want to know the category of.
Returns An integer representing what category the item belongs to. See description for categories.
Category item
Description The item can be any of the categories found on this page on the wiki:
http://wiki.neurohack.com/transcendence/wiki/functionlegend#categories
Example
(itmGetCategory (itmCreate 0x4001 1))

Returns a 2.
Comment I have been using the hex numbers for itmCreate because if you want to use the debug console you have to use the numbers as it doesn't save the names in game.