Esempio n. 1
0
 public TransObject(RelayerDeed deed, Mobile from, Item item, Item mar, int mesg, bool dele, bool ob)
     : base(2, false, TargetFlags.None) // Vii edit
 {
     tdeed  = deed;                     // Vii edit
     m_From = from;
     del    = dele;
     m      = mesg;
     o_item = item;
     t_item = mar;
     obj    = ob;
 }
Esempio n. 2
0
        private RelayerDeed m_deed;                                                                                  // Vii edit

        public RelayerGump2(RelayerDeed deed, Mobile from, Item item, Item mar, int mesg, bool dele) : base(100, 80) // Vii edit
        {
            this.Closable   = true;
            this.Disposable = true;
            this.Dragable   = true;

            m_deed = deed;   // Vii edit
            m_From = from;
            o_item = item;
            t_item = mar;;
            del    = dele;
            m      = mesg;
            switch (m)
            {
            case 0:
                msg = "Select your equipment.";     //???????????
                break;

            case 1:
                msg = "This is your thing?";    //????????
                break;

            case 2:
                msg = "You can only change clothing, armor, shields, weapons and jewelry.";     //??????????????
                break;

            case 3:
                msg = "You have not selected your items yet.";     //???????
                break;

            case 4:
                msg = "These items are the same layer.";    //???????????
                break;

            case 5:
                msg = "Only select equipment of the same type.";    //????????????
                break;
            }
            AddPage(0);
            AddBackground(33, 40, 446, 351, 5054);                      //(x, y, width, height, stone box)
            AddImage(6, 22, 13);                                        //(x, y, female) 15, 55
            AddImage(46, 12, 201);                                      //(x, y, etched stone border)
            AddImage(7, 20, 50970, 1);                                  //(x, y, Robe, Hue) 16, 53
            AddBackground(171, 154, 60, 60, 3000);                      //(x, y, width, height, white square box) bottom
            AddLabel(210, 46, 2414, "Create Your Relayer");             //????? //text at the top

            AddButton(246, 95, 4031, 4030, 1, GumpButtonType.Reply, 0); //bottom target button
            AddLabel(288, 95, 2424, "Select the item to relayer");      //?????? //text after top target button

            AddBackground(171, 89, 60, 60, 3000);                       //(x, y, width, height, white square box) top
            if (o_item != null)
            {
                AddItem(178, 97, o_item.ItemID, o_item.Hue);
            }
            if (t_item != null)
            {
                AddItem(178, 163, t_item.ItemID, t_item.Hue);
            }
            AddImage(46, 372, 233); //etched stone border??
            AddImage(2, 56, 202);
            AddImage(473, 56, 203);
            AddImage(2, 372, 204);
            AddImage(473, 372, 205);
            AddImage(2, 12, 206);
            AddImage(473, 12, 207);
            AddButton(246, 161, 4031, 4030, 2, GumpButtonType.Reply, 0); // middle target button
            AddLabel(288, 161, 2424, "Select the appearance sample.");   //??????
            AddButton(370, 348, 239, 240, 3, GumpButtonType.Reply, 0);   //Apply
            AddLabel(251, 119, 200, "Select the item to relayer.");      /*??????????:????????,???????????????,??????????????????,??????????“??”(????????)???????120????????*/
            //            AddLabel(270, 144, 937, "You can choose the type of metamorphosis"); //??????????
            //            AddLabel(270, 168, 937, "Armor , shields and clothes"); //?????????
            AddLabel(240, 185, 937, "<-This equipment will be"); //??????
            AddLabel(390, 185, 332, "Destroyed");                //??
            AddBackground(171, 284, 282, 32, 3000);              //(x, y, width, height, white square box) rectangle
            AddLabel(183, 289, 1265, msg);                       // ( X, Y, HUE, "Label" )Text in white rectangle
        }