public virtual bool CheckEquip( Item item ) { for ( int i = 0; i < m_Items.Count; ++i ) if ( ((Item)m_Items[i]).CheckConflictingLayer( this, item, item.Layer ) || item.CheckConflictingLayer( this, (Item)m_Items[i], ((Item)m_Items[i]).Layer ) ) return false; return true; }