public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID )
			{
				case 0:
					{
						from.CloseGump( typeof( TokunoArtifactGump ) );
						break;
					}
				case 1:
					{
						Item item = new SwordsOfProsperity();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
					
				case 3:
					{
						Item item = new SwordOfTheStampede();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 2:
					{
						Item item = new DarkenedSky();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
					
				case 4:
					{
						Item item = new SwordOfTheStampede();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 5:
					{
						Item item = new WindsEdge();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 6:
					{
						Item item = new SwordOfTheStampede();
						item.LootType = LootType.Blessed;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 7:
					{
						Item item = new Stormgrip();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 8:
					{
						Item item = new RuneBeetleCarapace();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
				case 9:
					{
						Item item = new TomeOfLostKnowledge();
						item.LootType = LootType.Regular;
						from.AddToBackpack( item );
						from.CloseGump( typeof( TokunoArtifactGump ) );
						m_Deed.Delete();
						
						break;
					}
			}
		}
Beispiel #2
0
        public override void OnResponse( GameClient sender, RelayInfo info )
        {
            Item reward = null;

            switch ( info.ButtonID )
            {
                case 100:
                    reward = new SwordsOfProsperity();
                    break;
                case 101:
                    reward = new SwordOfStampede();
                    break;
                case 102:
                    reward = new WindsEdge();
                    break;
                case 103:
                    reward = new DarkenedSky();
                    break;
                case 104:
                    reward = new TheHorselord();
                    break;
                case 105:
                    reward = new RuneBeetleCarapace();
                    break;
                case 106:
                    reward = new KasaOfRajin();
                    break;
                case 107:
                    reward = new Stormgrip();
                    break;
                case 108:
                    reward = new TomeOfLostKnowledge();
                    break;
                case 109:
                    {
                        from.CloseGump( typeof( ChooseRewardGump ) );
                        from.SendGump( new ChoosePigmentGump( from, minister ) );
                        break;
                    }
            }

            if ( reward != null )
            {
                minister.Say( 1070984, String.Format( "#{0}", reward.LabelNumber ) ); // You have earned the gratitude of the Empire. I have placed the ~1_OBJTYPE~ in your backpack.

                from.AddToBackpack( reward );

                ( (PlayerMobile) from ).ToTItemsTurnedIn = 0;
            }
            else if ( info.ButtonID != 109 )
            {
                minister.Say( 1070982 ); // When you wish to choose your reward, you have but to approach me again.
            }
        }
		private static void GiveItems( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				return;
			}

			// Frog Drop
			/*
			MetalBox box = new MetalBox();
			box.Name = "<BASEFONT COLOR='#007FFF'>Frog Drop Collection";
			box.LootType = LootType.Blessed;
			box.Locked = true;
			box.RequiredSkill = box.LockLevel = 1000;
			box.DropItem( new WorldMap() );
			box.DropItem( new RedLeaves() );
			box.DropItem( new Sand() );
			box.DropItem( new SpecialHairDye() );
			box.DropItem( new Rope() );
			box.DropItem( new Vines() );
			box.DropItem( new TribalPaint() );
			box.DropItem( new RockArtifact() );
			box.DropItem( new Runebook() );
			box.DropItem( new Gold( 500 ) );
			*/
			pack.DropItem( new FrogDropBag( true ) );

			// Angel's Snack
			Pouch pouch = new Pouch();
			pouch.DropItem( new HealPotion( 25 ) );
			pouch.DropItem( new CurePotion( 25 ) );
			pouch.DropItem( new RefreshPotion( 25 ) );
			pack.DropItem( pouch );

			// Forks
			Bag bag = new Bag();
			bag.Name = "Forks";
			bag.DropItem( new BistroFork() );
			bag.DropItem( new GastroFork() );
			bag.DropItem( new SilverFork() );
			pack.DropItem( bag );

			// Spellcasting Stuff
			bag = new Bag();
			bag.Name = "Spell Casting Stuff";
			TomeOfLostKnowledge tome = new TomeOfLostKnowledge();
			tome.Name = "Tome Of Lost Knowledge [Replica]";
			tome.Content = 18446744073709551615;
			bag.DropItem( tome );
			bag.DropItem( new CompleteNecromancerSpellbook() );
			bag.DropItem( new BagOfAllReagents() );
			CrystallineRing ring = new CrystallineRing();
			ring.Name = "Crystalline Ring [Replica]";
			bag.DropItem( ring );
			OrnamentOfTheMagician brace = new OrnamentOfTheMagician();
			brace.Name = "Ornament Of The Magician [Replica]";
			bag.DropItem( brace );
			pack.DropItem( bag );

			// Blue Clothing
			MetalBox box = new MetalBox();
			box.Name = "Blue Clothing";
			box.DropItem( new BlueHat() );
			box.DropItem( new BlueArms() );
			box.DropItem( new BlueShirt() );
			box.DropItem( new BluePants() );
			box.DropItem( new BlueBoots() );
			box.DropItem( new BlueCloak() );
			box.DropItem( new BlueSash() );
			box.DropItem( new BlueBelt() );

			WoodenBox wood = new WoodenBox();
			wood.Name = "Tier One Deeds";
			for ( int i = 0; i < 4; i++ )
			{
				for ( int j = 0; j < 9; j++ )
					wood.DropItem( new BlueEnhanceDeed( (BlueEnhance)( i + 1 ), 1 ) );
			}
			box.DropItem( wood );

			wood = new WoodenBox();
			wood.Name = "Tier Two Deeds";
			for ( int i = 0; i < 4; i++ )
			{
				for ( int j = 0; j < 9; j++ )
					wood.DropItem( new BlueEnhanceDeed( (BlueEnhance)( j + 1 ), 2 ) );
			}
			box.DropItem( wood );
			pack.DropItem( box );
		}