public override void OnDoubleClick(Mobile from) { base.OnDoubleClick(from); if (!IsChildOf(from.Backpack)) { from.SendMessage("That item must be in your pack in order to use it."); return; } if (!Identified && from.AccessLevel == AccessLevel.Player) { from.SendMessage("This potion is of unknown composition and must be analyzed with Taste Identification before it may properly utilized."); return; } CustomAlchemy.UsePotion(this, from); }
public string GetPotionName() { return(CustomAlchemy.GetPotionName(m_PrimaryEffect, m_SecondaryEffect, m_PositiveEffect, m_EffectPotency)); }