Functions Documentation
View Function Edit Function
Name itmIsDamaged
Syntax (itmIsDamaged item) -> True/Nil
Argument List item: The itemStruct of the item you want to check for damage.
Returns boolean: True if the item is damaged, Nil otherwise.
Category condition query, repair/damage, item
Description Returns whether the item is damaged or not.
Example
(itmIsDamaged (itmCreate 0x4001 3))

Returns Nil. (well of course new items will not be damaged)
Comment Basic query function for items.