Functions Documentation
View Function Edit Function
Name itmHasAttribute
Syntax (itmHasAttribute item attrib) -> True/Nil
Argument List item: The item you want to test
attrib: The attribute you want to test
Returns True if the 'item' contains the 'attrib', Nil otherwise
Category 0.99, item, condition query
Description Checks if an item has a given attribute.
Example
(itmHasAttribute (itmCreate &itLiquidOxygen; 1) "Volatile")

returns True
Comment Useful for seeing who produced what weapons for example. Look for the attributes Makayev, Rasiermesser, NAMI etc...