API GetInventoryItemClassSubType
From Vendetta Lua
Jump to navigationJump to search
GetInventoryItemClassSubType
Definition:
GetInventoryItemClassSubType(int itemid) -> int subtype
Description:
get subclass of an item
Arguments:
itemid inventory item
Returns:
subtype sub type of item
known types:
0 = light weapon or ship
1 = heavy weapon
3 = engine
4 = battery
10 = trade goods