Exemple #1
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 232;
                c.Name = "Evil Home D�cor Collection";

                c.DropItem(new BedOfNailsDeed());
                c.DropItem(new BoneTableDeed());
                c.DropItem(new CreepyPortraitDeed());
                c.DropItem(new HauntedMirrorDeed());
                c.DropItem(new MountedPixieGreenDeed());
                c.DropItem(new MountedPixieOrangeDeed());
                c.DropItem(new SacrificialAltarDeed());
                c.DropItem(new BoneCouchDeed());
                c.DropItem(new BoneThroneDeed());
                c.DropItem(new DisturbingPortraitDeed());
                c.DropItem(new MountedPixieBlueDeed());
                c.DropItem(new MountedPixieLimeDeed());
                c.DropItem(new MountedPixieWhiteDeed());
                c.DropItem(new UnsettlingPortraitDeed());

                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Exemple #2
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 1173;
                c.Name = "A Broken Furniture Set";

                c.DropItem(new BrokenBedDeed());
                c.DropItem(new BrokenChestOfDrawersDeed());
                c.DropItem(new BrokenFallenChairDeed());
                c.DropItem(new StandingBrokenChairDeed());
                c.DropItem(new BrokenArmoireDeed());
                c.DropItem(new BrokenBookcaseDeed());
                c.DropItem(new BrokenCoveredChairDeed());
                c.DropItem(new BrokenVanityDeed());


                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Exemple #3
0
        public override void OnResponse(GameClient sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                switch (m_Token.Type)
                {
                case PromotionalType.PersonalAttendant:
                    //item = new PersonalAttendantDeed();
                    break;

                case PromotionalType.CrystalItems:
                {
                    item = new WoodenBox();

                    Container c = item as Container;
                    c.Hue  = 1173;
                    c.Name = "A Box of Crystal Items";

                    c.DropItem(new CrystalAltarDeed());
                    c.DropItem(new CrystalBeggarStatueDeed());
                    c.DropItem(new CrystalBrazierDeed());
                    c.DropItem(new CrystalBullStatueDeed());
                    c.DropItem(new CrystalRunnerStatueDeed());
                    c.DropItem(new CrystalSuplicantStatueDeed());
                    c.DropItem(new CrystalTableDeed());
                    c.DropItem(new CrystalThroneDeed());

                    break;
                }

                case PromotionalType.ShadowItems:
                {
                    item = new WoodenBox();

                    Container c = item as Container;
                    c.Hue  = 1908;
                    c.Name = "A Box of Shadow Items";

                    c.DropItem(new FireDemonStatueDeed());
                    c.DropItem(new GlobeOfSosariaDeed());
                    c.DropItem(new ObsidianPillarDeed());
                    c.DropItem(new ObsidianRockDeed());
                    c.DropItem(new ShadowAltarDeed());
                    c.DropItem(new ShadowBannerDeed());
                    c.DropItem(new ShadowFirePitDeed());
                    c.DropItem(new ShadowPillarDeed());
                    c.DropItem(new SpikeColumnDeed());
                    c.DropItem(new SpikePostDeed());

                    break;
                }
                }

                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Exemple #4
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 106;
                c.Name = "A Heritage Items Set";

                c.DropItem(new BlueDecorativeRugDeed());
                c.DropItem(new BluePlainRugDeed());
                c.DropItem(new CherryBlossomTrunkDeed());
                c.DropItem(new CurtainsDeed());
                c.DropItem(new AppleTreeDeed());
                c.DropItem(new PeachTreeDeed());
                c.DropItem(new GuillotineDeed());
                c.DropItem(new HangingSwordsDeed());
                c.DropItem(new IronMaidenDeed());
                c.DropItem(new PeachTrunkDeed());
                c.DropItem(new RedPlainRugDeed());
                c.DropItem(new SmallFishingNetDeed());
                c.DropItem(new SuitOfGoldArmorDeed());
                c.DropItem(new TableWithBlueClothDeed());
                c.DropItem(new TableWithPurpleClothDeed());
                c.DropItem(new UnmadeBedDeed());
                c.DropItem(new WallTorchDeed());
                c.DropItem(new WallTorchDeed());
                c.DropItem(new BoilingCauldronAddonDeed());
                c.DropItem(new AppleTrunkDeed());
                c.DropItem(new BlueFancyRugDeed());
                c.DropItem(new CherryBlossomTreeDeed());
                c.DropItem(new CinnamonFancyRugDeed());
                c.DropItem(new FountainDeed());
                c.DropItem(new GoldenDecorativeRugDeed());
                c.DropItem(new HangingAxesDeed());
                c.DropItem(new HouseLadderDeed());
                c.DropItem(new LargeFishingNetDeed());
                c.DropItem(new PinkFancyRugDeed());
                c.DropItem(new ScarecrowDeed());
                c.DropItem(new StoneStatueDeed());
                c.DropItem(new SuitOfSilverArmorDeed());
                c.DropItem(new TableWithOrangeClothDeed());
                c.DropItem(new TableWithRedClothDeed());
                c.DropItem(new VanityDeed());
                c.DropItem(new WoodenCoffinDeed());


                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }