Discuss this page on this pages [[objHasItem Talk Page|TalkPage]] === objHasItem === See [[http://xelerus.de/index.php?s=functions&function=113|objHasItem at Xelerus]] ^ Syntax | (objHasItem spaceObject itemStruct) | ^ Arguments | spaceObject: The space object you want to see if it has the item. | ^ | itemStruct: The itemStruct of the item you want to see if the space object has. | ^ Returns | condition: True if the space object has that type of item. Nil otherwise. | ^ Category | [[condition query]], [[spaceobject]] | ^ Description | Checks to see if the space object has the item. | === Example === (objHasItem gplayership (itmCreate &itPortableAutodoc; 1)) Checks to see if the player ship has an auto doc. Return to [[:Functions]] list