/// <summary> /// Determines if a pouch in a given inventory slot is damaged /// </summary> /// <param name="x">column</param> /// <param name="y">row</param> /// <returns>true if pouch is damaged</returns> protected bool PouchIsDamaged(int x, int y, bool readWindow = true) { return(Inventory.SlotMatchesColorFilter(x, y, DamagedPouchColor, 0.005)); }