public bool HasUnityPotion() { for (int index = 0; index < 58; ++index) { if (this.inventory[index].itemId == 2997 && this.inventory[index].stack > 0) return true; } return false; }