Exemple #1
0
 public override void OnDoubleClick(Mobile from)
 {
     if (from.InRange(this, 2))
     {
         MadScientistQuest.OnDoubleClickIngredient(from, m_Ingredient);
     }
 }
Exemple #2
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                Mobile from = sender.Mobile;

                if (info.ButtonID == 1)
                {
                    MadScientistQuest.StartQuest(from, m_Mechanism);
                }
            }
Exemple #3
0
 public override void OnDoubleClick(Mobile from)
 {
     if (MadScientistQuest.QuestStarted(from))
     {
         MadScientistQuest.BarkIngredient(from);
     }
     else if (!from.HasGump <MadScientistQuest.BeginQuestGump>())
     {
         from.SendGump(new MadScientistQuest.BeginQuestGump(this));
     }
 }