Exemple #1
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                string myQuest = CharacterDatabase.GetQuestInfo(m_Mobile, "AssassinQuest");

                int nSucceed = AssassinFunctions.DidAssassin(m_Mobile);

                if (nSucceed > 0)
                {
                    AssassinFunctions.PayAssassin(m_Mobile, m_Giver);
                }
                else if (myQuest.Length > 0)
                {
                    if (!m_Mobile.HasGump(typeof(SpeechGump)))
                    {
                        m_Mobile.SendGump(new SpeechGump("Failure Is Frowned Upon", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "XardokFail")));
                    }
                }
                else
                {
                    m_Giver.Say("Done? With what? I am not sure what things you speak of.");
                }
            }
Exemple #2
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                if (CharacterDatabase.GetBardsTaleQuest(m_Mobile, "BardsTaleCatacombKey"))
                {
                    m_Giver.SayTo(m_Mobile, "Have you been meditating in the Catacombs?");
                }
                else if (!(CharacterDatabase.GetBardsTaleQuest(m_Mobile, "BardsTaleMadGodName")))
                {
                    m_Giver.SayTo(m_Mobile, "Only a true disciple knows the name of the Mad God.");
                }
                else if (!(CharacterDatabase.GetBardsTaleQuest(m_Mobile, "BardsTaleCatacombKey")))
                {
                    if (!m_Mobile.HasGump(typeof(SpeechGump)))
                    {
                        CharacterDatabase.SetBardsTaleQuest(m_Mobile, "BardsTaleCatacombKey", true);
                        m_Mobile.SendSound(0x3D);
                        m_Mobile.SendGump(new SpeechGump("The Catacombs Below", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "MadGodPriest")));
                    }
                }
            }
Exemple #3
0
 public override void OnDoubleClick(Mobile from)
 {
     if (!from.HasGump(typeof(SpeechGump)))
     {
         from.SendGump(new SpeechGump("The Changing World", SpeechFunctions.SpeechText(from.Name, from.Name, "Patch")));
     }
 }
Exemple #4
0
        public override void OnDoubleClick(Mobile from)
        {
            if (!(from is PlayerMobile))
            {
                return;
            }

            if (!from.HasGump(typeof(SpeechGump)))
            {
                from.SendGump(new SpeechGump("Rusty Gold", SpeechFunctions.SpeechText(from.Name, from.Name, "ScrapMetal")));
            }
        }
Exemple #5
0
			public override void OnClick()
			{
				if( !( m_Mobile is PlayerMobile ) )
					return;

				PlayerMobile mobile = (PlayerMobile) m_Mobile;

				if ( ! mobile.HasGump( typeof( SpeechGump ) ) )
				{
					mobile.SendGump(new SpeechGump( "Welcome Brave Adventurer", SpeechFunctions.SpeechText( m_Giver.Name, m_Mobile.Name, "ShardGreeter" ) ));
				}
			}
        public override void OnDoubleClick(Mobile from)
        {
            if (!(from is PlayerMobile))
            {
                return;
            }

            if (!from.HasGump(typeof(SpeechGump)))
            {
                from.SendGump(new SpeechGump("Fish In A Barrel", SpeechFunctions.SpeechText(from.Name, from.Name, "Aquarium")));
            }
        }
Exemple #7
0
			public override void OnClick()
			{
			    if( !( m_Mobile is PlayerMobile ) )
				return;
				
				PlayerMobile mobile = (PlayerMobile) m_Mobile;
				{
					if ( ! mobile.HasGump( typeof( SpeechGump ) ) )
					{
						mobile.SendGump(new SpeechGump( "Thou Art Going To Get Hurt", SpeechFunctions.SpeechText( m_Giver.Name, m_Mobile.Name, "Healer" ) ));
					}
				}
            }
			public override void OnClick()
			{
			    if( !( m_Mobile is PlayerMobile ) )
				return;
				
				PlayerMobile mobile = (PlayerMobile) m_Mobile;
				{
					if ( ! mobile.HasGump( typeof( SpeechGump ) ) )
					{
						mobile.SendGump(new SpeechGump( "Enhancing Items", SpeechFunctions.SpeechText( m_Mobile.Name, m_Mobile.Name, "Enhance" ) ));
					}
				}
            }
Exemple #9
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Knocking The Dents Out", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Blacksmith")));
                    }
                }
            }
Exemple #10
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("X Marks The Spot", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Mapmaker")));
                    }
                }
            }
Exemple #11
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Animal Companions", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Pets")));
                    }
                }
            }
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Right Survival Gear", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Provisioner")));
                    }
                }
            }
Exemple #13
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Items of Legend", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "GodOfLegends")));
                    }
                }
            }
Exemple #14
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Herbs And Spices", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Herbalist")));
                    }
                }
            }
Exemple #15
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Altering Cloaks And Robes", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Tailor")));
                    }
                }
            }
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Legacy of Frankenstein", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Frankenstein")));
                    }
                }
            }
Exemple #17
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Seeking Higher Knowledge", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Powerscroll")));
                    }
                }
            }
Exemple #18
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Island of Dracula", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "NecroGreeter")));
                    }
                }
            }
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Bears And Deer", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Furtrader")));
                    }
                }
            }
Exemple #20
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Weapon Repairs", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Weaponsmith")));
                    }
                }
            }
Exemple #21
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Guild Of Assassins", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Xardok")));
                    }
                }
            }
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Trail Map", SpeechFunctions.SpeechText(m_Mobile.Name, m_Mobile.Name, "TrailMap")));
                    }
                }
            }
Exemple #23
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Written Word", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Scribe")));
                    }
                }
            }
Exemple #24
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Fruits of Labor", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Farmer")));
                    }
                }
            }
Exemple #25
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Black Heart", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "DeathKnight")));
                    }
                }
            }
Exemple #26
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("When The Bow Breaks", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Bowyer")));
                    }
                }
            }
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("A Sip And A Taste", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Alchemist")));
                    }
                }
            }
Exemple #28
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Keep Armor Shiny", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Armorer")));
                    }
                }
            }
Exemple #29
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("The Song Remains The Same", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Bard")));
                    }
                }
            }
Exemple #30
0
            public override void OnClick()
            {
                if (!(m_Mobile is PlayerMobile))
                {
                    return;
                }

                PlayerMobile mobile = (PlayerMobile)m_Mobile;
                {
                    if (!mobile.HasGump(typeof(SpeechGump)))
                    {
                        mobile.SendGump(new SpeechGump("Copper and Silver Coins", SpeechFunctions.SpeechText(m_Giver.Name, m_Mobile.Name, "Banker")));
                    }
                }
            }