Пример #1
0
            public InternalGump(BoneCouchAddonDeed deed) : base(150, 50)
            {
                Closable = false;

                m_Deed = deed;

                AddBackground(0, 0, 350, 250, 0xA28);

                AddItem(242, 52, 0x206D);
                AddButton(70, 35, 0x868, 0x869, 1, GumpButtonType.Reply, 0);                   // South

                AddItem(90, 52, 0x206F);
                AddButton(185, 35, 0x868, 0x869, 2, GumpButtonType.Reply, 0);                   // East
            }
Пример #2
0
        public DungeonDonationBox()
        {
            Weight = 1.0;
            Hue    = 1109;
            Item item = null;

            Name = "dungeon decoration chest";

            PlaceItemIn(16, 51, (item = new BoneThrone()));
            PlaceItemIn(16, 51, (item = new BoneThrone()));
            PlaceItemIn(58, 70, (item = new InscribedTombStone()));
            PlaceItemIn(58, 70, (item = new InscribedTombStone()));
            PlaceItemIn(58, 70, (item = new IronMaiden()));

            PlaceItemIn(44, 57, (new BoneTable()));
            PlaceItemIn(44, 57, (new BoneTable()));

            BaseContainer cont;

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

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


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


            cont.PlaceItemIn(58, 83, (item = new ShadowAltarAddonDeed()));
            cont.PlaceItemIn(58, 83, (item = new ShadowAltarAddonDeed()));

            cont.PlaceItemIn(56, 50, (item = new BoneCouchAddonDeed()));
            cont.PlaceItemIn(56, 50, (item = new BoneCouchAddonDeed()));
        }