예제 #1
0
 public MarbleBoxTarget(MarbleBox box) : base(18, false, TargetFlags.None)
 {
     m_Box = box;
 }
예제 #2
0
		public MarbleBoxTarget( MarbleBox box ) : base( 18, false, TargetFlags.None )
		{
			m_Box = box;
		}
예제 #3
0
        public MarbleBoxGump(PlayerMobile from, MarbleBox box) : base(25, 25)
        {
            m_From = from;
            m_Box  = box;

            m_From.CloseGump(typeof(MarbleBoxGump));

            AddPage(0);

            AddBackground(12, 19, 486, 290, 9250);
            AddLabel(200, 30, 32, @"Marble Box");

            AddLabel(60, 50, 32, @"Add Item");
            AddButton(25, 50, 4005, 4007, 1, GumpButtonType.Reply, 0);

            AddLabel(60, 75, 32, @"Close");
            AddButton(25, 75, 4005, 4007, 0, GumpButtonType.Reply, 0);

            AddLabel(60, 115, 0, @"Marble");
            AddLabel(150, 115, 0x480, box.Marble.ToString());
            AddButton(25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0);

            AddLabel(60, 135, 2418, @"Dull Copper");
            AddLabel(150, 135, 0x480, box.DullCopper.ToString());
            AddButton(25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0);

            AddLabel(60, 155, 2405, @"Shadow Iron");
            AddLabel(150, 155, 0x480, box.ShadowIron.ToString());
            AddButton(25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0);

            AddLabel(60, 175, 2412, @"Copper");
            AddLabel(150, 175, 0x480, box.Copper.ToString());
            AddButton(25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0);

            AddLabel(60, 195, 2417, @"Bronze");
            AddLabel(150, 195, 0x480, box.Bronze.ToString());
            AddButton(25, 195, 4005, 4007, 7, GumpButtonType.Reply, 0);

            AddLabel(60, 215, 2212, @"Golden");
            AddLabel(150, 215, 0x480, box.Gold.ToString());
            AddButton(25, 215, 4005, 4007, 8, GumpButtonType.Reply, 0);

            AddLabel(60, 235, 2424, @"Agapite");
            AddLabel(150, 235, 0x480, box.Agapite.ToString());
            AddButton(25, 235, 4005, 4007, 9, GumpButtonType.Reply, 0);

            AddLabel(60, 255, 2206, @"Verite");
            AddLabel(150, 255, 0x480, box.Verite.ToString());
            AddButton(25, 255, 4005, 4007, 10, GumpButtonType.Reply, 0);

            AddLabel(60, 275, 2218, @"Valorite");
            AddLabel(150, 275, 0x480, box.Valorite.ToString());
            AddButton(25, 275, 4005, 4007, 11, GumpButtonType.Reply, 0);

            AddLabel(320, 115, 1149, @"Silver");
            AddLabel(425, 115, 0x480, box.Silver.ToString());
            AddButton(285, 115, 4005, 4007, 12, GumpButtonType.Reply, 0);

            AddLabel(320, 135, 1171, @"Platinum");
            AddLabel(425, 135, 0x480, box.Platinum.ToString());
            AddButton(285, 135, 4005, 4007, 13, GumpButtonType.Reply, 0);

            AddLabel(320, 155, 1157, @"Mythril");
            AddLabel(425, 155, 0x480, box.Mythril.ToString());
            AddButton(285, 155, 4005, 4007, 14, GumpButtonType.Reply, 0);

            AddLabel(320, 175, 1108, @"Obsidian");
            AddLabel(425, 175, 0x480, box.Obsidian.ToString());
            AddButton(285, 175, 4005, 4007, 15, GumpButtonType.Reply, 0);

            AddLabel(320, 195, 1163, @"Jade");
            AddLabel(425, 195, 0x480, box.Jade.ToString());
            AddButton(285, 195, 4005, 4007, 16, GumpButtonType.Reply, 0);

            AddLabel(320, 215, 1155, @"Moonstone");
            AddLabel(425, 215, 0x480, box.Moonstone.ToString());
            AddButton(285, 215, 4005, 4007, 17, GumpButtonType.Reply, 0);

            AddLabel(320, 235, 1359, @"Sunstone");
            AddLabel(425, 235, 0x480, box.Sunstone.ToString());
            AddButton(285, 235, 4005, 4007, 18, GumpButtonType.Reply, 0);

            AddLabel(320, 255, 1156, @"Bloodstone");
            AddLabel(425, 255, 0x480, box.Bloodstone.ToString());
            AddButton(285, 255, 4005, 4007, 19, GumpButtonType.Reply, 0);

            AddLabel(320, 275, 990, @"Marble Chisels");
            AddLabel(425, 275, 0x480, box.MarbleChisel.ToString());
            AddButton(285, 275, 4005, 4007, 20, GumpButtonType.Reply, 0);
        }
예제 #4
0
		public MarbleBoxGump( PlayerMobile from, MarbleBox box ) : base( 25, 25 )
		{
			m_From = from;
			m_Box = box;

			m_From.CloseGump( typeof( MarbleBoxGump ) );

			AddPage( 0 );

			AddBackground( 12, 19, 486, 290, 9250);
			AddLabel( 200, 30, 32, @"Marble Box");
			
			AddLabel( 60, 50, 32, @"Add Item");
			AddButton( 25, 50, 4005, 4007, 1, GumpButtonType.Reply, 0);

			AddLabel( 60, 75, 32, @"Close");
			AddButton( 25, 75, 4005, 4007, 0, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 115, 0, @"Marble");
			AddLabel( 150, 115, 0x480, box.Marble.ToString() );
			AddButton( 25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 135, 2418, @"Dull Copper");
			AddLabel( 150, 135, 0x480, box.DullCopper.ToString() );
			AddButton( 25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 155, 2405, @"Shadow Iron");
			AddLabel( 150, 155, 0x480, box.ShadowIron.ToString() );
			AddButton( 25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 175, 2412, @"Copper");
			AddLabel( 150, 175, 0x480, box.Copper.ToString() );
			AddButton( 25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 195, 2417, @"Bronze");
			AddLabel(  150, 195, 0x480, box.Bronze.ToString() );
			AddButton(  25, 195, 4005, 4007, 7, GumpButtonType.Reply, 0 );
			
			AddLabel( 60, 215, 2212, @"Golden");
			AddLabel(  150, 215, 0x480, box.Gold.ToString() );
			AddButton(  25, 215, 4005, 4007, 8, GumpButtonType.Reply, 0 );
			
			AddLabel( 60, 235, 2424, @"Agapite");
			AddLabel( 150, 235, 0x480, box.Agapite.ToString() );
			AddButton( 25, 235, 4005, 4007, 9, GumpButtonType.Reply, 0 );
						
			AddLabel( 60, 255, 2206, @"Verite");
			AddLabel( 150, 255, 0x480, box.Verite.ToString() );
			AddButton( 25, 255, 4005, 4007, 10, GumpButtonType.Reply, 0 );			
			
			AddLabel( 60, 275, 2218, @"Valorite");
			AddLabel( 150, 275, 0x480, box.Valorite.ToString() );
			AddButton( 25, 275, 4005, 4007, 11, GumpButtonType.Reply, 0);
			
			AddLabel(320, 115, 1149, @"Silver");
			AddLabel( 425, 115, 0x480, box.Silver.ToString() );
			AddButton(285, 115, 4005, 4007, 12, GumpButtonType.Reply, 0);
			
			AddLabel(320, 135, 1171, @"Platinum");
			AddLabel( 425, 135, 0x480, box.Platinum.ToString() );
			AddButton(285, 135, 4005, 4007, 13, GumpButtonType.Reply, 0);
			
			AddLabel(320, 155, 1157, @"Mythril");
			AddLabel( 425, 155, 0x480, box.Mythril.ToString() );
			AddButton(285, 155, 4005, 4007, 14, GumpButtonType.Reply, 0);
			
			AddLabel(320, 175, 1108, @"Obsidian");
			AddLabel( 425, 175, 0x480, box.Obsidian.ToString() );
			AddButton(285, 175, 4005, 4007, 15, GumpButtonType.Reply, 0);
			
			AddLabel(320, 195, 1163, @"Jade");
			AddLabel( 425, 195, 0x480, box.Jade.ToString() );
			AddButton(285, 195, 4005, 4007, 16, GumpButtonType.Reply, 0);
			
			AddLabel(320, 215, 1155, @"Moonstone");
			AddLabel( 425, 215, 0x480, box.Moonstone.ToString() );
			AddButton(285, 215, 4005, 4007, 17, GumpButtonType.Reply, 0);
			
			AddLabel(320, 235, 1359, @"Sunstone");
			AddLabel( 425, 235, 0x480, box.Sunstone.ToString() );
			AddButton(285, 235, 4005, 4007, 18, GumpButtonType.Reply, 0);
			
			AddLabel(320, 255, 1156, @"Bloodstone");
			AddLabel( 425, 255, 0x480, box.Bloodstone.ToString() );
			AddButton(285, 255, 4005, 4007, 19, GumpButtonType.Reply, 0);
			
			AddLabel(320, 275, 990, @"Marble Chisels");
			AddLabel( 425, 275, 0x480, box.MarbleChisel.ToString() );
			AddButton(285, 275, 4005, 4007, 20, GumpButtonType.Reply, 0);
			
		}