/* \brief Check if two item are similar so pileable \author Endymion \todo add amx vars and events \note if same item is compared, false is returned */ inline bool operator ==( cItem& a, cItem& b ) { return ( a.pileable && b.pileable ) && ( a.getSerial32() != b.getSerial32() ) && ( a.getScriptID() == b.getScriptID() ) && ( a.getId() == b.getId() ) && ( a.getColor() == b.getColor() ) && ( a.poisoned == b.poisoned ); }