public void Consumable(Potion pot) { Inventory.instance.Consumable(pot); pot.Effect(player); if (pot.hasDuration) { if (pot.type == PotionTypes.AntiVenom) { StartCoroutine(AntiVenom()); } else if (!consumableEffects.Contains(pot)) { consumableEffects.Add(pot); } if (!timerIsActive) { timerIsActive = true; StartCoroutine(TemporaryBoostTimer(consumableEffects)); } } }