public GardenDonationBox()
		{
			Weight = 1.0;
			Hue = 1154;
			Item item = null;
			Name = "garden decoration chest";

			PlaceItemIn( 16, 51, (item = new FountainOfLife()) );
			PlaceItemIn( 58, 70, (item = new Beehive()) );
                        PlaceItemIn( 62, 44, (item = new PloughAddonDeed()) );

			PlaceItemIn( 44, 57, (new RareVase()) );
			PlaceItemIn( 89, 53, (new AncientFruitBowl()) );
			PlaceItemIn( 90, 81, (new LargeShell()) );
                        PlaceItemIn( 116, 33, (new WhisperingRoseDeed()) );
                        PlaceItemIn( 116, 64, (new WhisperingRoseDeed()) );

                        BaseContainer cont;
			PlaceItemIn( 131, 121, (cont = new Bag()) );
			cont.Hue = 2413;

			cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );
                        cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );
                        cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );
                        cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );
                        cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );
                        cont.PlaceItemIn( 131, 75, (item = new FlaxFlower()) );

			cont.PlaceItemIn( 140, 51, (item = new FlaxBundle()) );
                        cont.PlaceItemIn( 140, 51, (item = new FlaxBundle()) );
                        cont.PlaceItemIn( 140, 51, (item = new FlaxBundle()) );
                        cont.PlaceItemIn( 140, 51, (item = new FlaxBundle()) );

			cont.PlaceItemIn( 58, 83, (item = new PottedTree1()) );
                        cont.PlaceItemIn( 58, 83, (item = new PottedTree1()) );
			cont.PlaceItemIn( 73, 83, (item = new PottedPlant()) );
                        cont.PlaceItemIn( 73, 83, (item = new PottedPlant()) );
                        cont.PlaceItemIn( 29, 68, (item = new PottedTree()) );
                        cont.PlaceItemIn( 29, 68, (item = new PottedTree()) );
                        cont.PlaceItemIn( 73, 83, (item = new PottedPlant1()) );
                        cont.PlaceItemIn( 73, 83, (item = new PottedPlant1()) );

			cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );
                        cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );
                        cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );
                        cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );
                        cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );
                        cont.PlaceItemIn( 47, 53, (item = new LillyPad1()) );

                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );
                        cont.PlaceItemIn( 29, 34, (item = new RoseVine()) );

		}
        public GardenDonationBox()
        {
            Weight = 1.0;
            Hue    = 1154;
            Item item = null;

            Name = "garden decoration chest";

            PlaceItemIn(16, 51, (item = new FountainOfLife()));
            PlaceItemIn(58, 70, (item = new Beehive()));
            PlaceItemIn(62, 44, (item = new PloughAddonDeed()));

            PlaceItemIn(44, 57, (new RareVase()));
            PlaceItemIn(89, 53, (new AncientFruitBowl()));
            PlaceItemIn(90, 81, (new LargeShell()));
            PlaceItemIn(116, 33, (new WhisperingRoseDeed()));
            PlaceItemIn(116, 64, (new WhisperingRoseDeed()));

            BaseContainer cont;

            PlaceItemIn(131, 121, (cont = new Bag()));
            cont.Hue = 2413;

            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));
            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));
            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));
            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));
            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));
            cont.PlaceItemIn(131, 75, (item = new FlaxFlower()));

            cont.PlaceItemIn(140, 51, (item = new FlaxBundle()));
            cont.PlaceItemIn(140, 51, (item = new FlaxBundle()));
            cont.PlaceItemIn(140, 51, (item = new FlaxBundle()));
            cont.PlaceItemIn(140, 51, (item = new FlaxBundle()));

            cont.PlaceItemIn(58, 83, (item = new PottedTree1()));
            cont.PlaceItemIn(58, 83, (item = new PottedTree1()));
            cont.PlaceItemIn(73, 83, (item = new PottedPlant()));
            cont.PlaceItemIn(73, 83, (item = new PottedPlant()));
            cont.PlaceItemIn(29, 68, (item = new PottedTree()));
            cont.PlaceItemIn(29, 68, (item = new PottedTree()));
            cont.PlaceItemIn(73, 83, (item = new PottedPlant1()));
            cont.PlaceItemIn(73, 83, (item = new PottedPlant1()));

            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));
            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));
            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));
            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));
            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));
            cont.PlaceItemIn(47, 53, (item = new LillyPad1()));

            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
            cont.PlaceItemIn(29, 34, (item = new RoseVine()));
        }
Esempio n. 3
0
        public override void OnResponse( GameClient sender, RelayInfo info )
        {
            Mobile from = sender.Mobile;

            if ( !m_Token.IsChildOf( from.Backpack ) )
                return;

            Item reward = null;

            switch ( info.ButtonID )
            {
                case 100:
                    reward = new DupresShield();
                    break;
                case 101:
                    reward = new OssianGrimoire();
                    break;
                case 102:
                    reward = new FerretFormTalisman();
                    break;
                case 103:
                    reward = new SquirrelFormTalisman();
                    break;
                case 104:
                    reward = new CuSidheFormTalisman();
                    break;
                case 105:
                    reward = new ReptalonFormTalisman();
                    break;
                case 106:
                    reward = new QuiverOfInfinity();
                    break;
                case 107:
                    reward = new DawnsMusicBox();
                    break;
                case 108:
                    reward = new FountainOfLife();
                    break;
            }

            if ( reward != null )
            {
                if ( !from.AddToBackpack( reward ) )
                {
                    if ( from.BankBox != null )
                        from.BankBox.DropItem( reward );
                }

                if ( m_Token != null )
                    m_Token.Delete();
            }
        }