Exemplo n.º 1
0
		public BlackSmithBoxGump( PlayerMobile from, BlackSmithBox box ) : base( 25, 25 )
		{
			m_From = from;
			m_Box = box;

			m_From.CloseGump( typeof( BlackSmithBoxGump ) );

			AddPage( 0 );

			AddBackground( 12, 19, 486, 457, 9250);
			AddLabel( 150, 30, 32, @"Blacksmith 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, @"Iron Ingots");
			AddLabel( 150, 115, 0x480, box.Iron.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( 60, 295, 1149, @"Silver");
			AddLabel(  150, 295, 0x480, box.Silver.ToString() );
			AddButton( 25, 295, 4005, 4007, 12, GumpButtonType.Reply, 0 );

            AddLabel(60, 315, 1163, @"Jade");
            AddLabel(150, 315, 0x480, box.Jade.ToString());
            AddButton(25, 315, 4005, 4007, 13, GumpButtonType.Reply, 0);

			AddLabel(  60, 335, 1155, @"Moonstone" );
			AddLabel(  150, 335, 0x480, box.Moonstone.ToString() );
			AddButton( 25, 335, 4005, 4007, 14, GumpButtonType.Reply, 0 );
			
			AddLabel(  60, 355, 1359, @"Sunstone" );
			AddLabel(  150, 355, 0x480, box.Sunstone.ToString() );
			AddButton( 25, 355, 4005, 4007, 15, GumpButtonType.Reply, 0 );
			
			AddLabel( 320, 115, 0, @"Smithy Hammers" );
			AddLabel( 410, 115, 0x480, box.BlackSmith.ToString() );
			AddButton( 285, 115, 4005, 4007, 16, GumpButtonType.Reply, 0 );			
			
			AddLabel(320, 135, 2418, @"Dull Copper");
			AddLabel( 410, 135, 0x480, box.RunicDullCopper.ToString() );
			AddButton(285, 135, 4005, 4007, 17, GumpButtonType.Reply, 0);
			
			AddLabel(320, 155, 2405, @"Shadow Iron");
			AddLabel( 410, 155, 0x480, box.RunicShadowIron.ToString() );
			AddButton(285, 155, 4005, 4007, 18, GumpButtonType.Reply, 0);
			
			AddLabel(320, 175, 2412, @"Copper");
			AddLabel( 410, 175, 0x480, box.RunicCopper.ToString() );
			AddButton(285, 175, 4005, 4007, 19, GumpButtonType.Reply, 0);
			
			AddLabel(320, 195, 2417, @"Bronze");
			AddLabel( 410, 195, 0x480, box.RunicBronze.ToString() );
			AddButton(285, 195, 4005, 4007, 20, GumpButtonType.Reply, 0);
			
			AddLabel(320, 215, 2212, @"Golden");
			AddLabel( 410, 215, 0x480, box.RunicGold.ToString() );
			AddButton(285, 215, 4005, 4007, 21, GumpButtonType.Reply, 0);
			
			AddLabel(320, 235, 2424, @"Agapite");
			AddLabel( 410, 235, 0x480, box.RunicAgapite.ToString() );
			AddButton(285, 235, 4005, 4007, 22, GumpButtonType.Reply, 0);
			
			AddLabel(320, 255, 2206, @"Verite");
			AddLabel( 410, 255, 0x480, box.RunicVerite.ToString() );
			AddButton(285, 255, 4005, 4007, 23, GumpButtonType.Reply, 0);
			
			AddLabel(320, 275, 2218, @"Valorite");
			AddLabel( 410, 275, 0x480, box.RunicValorite.ToString() );
			AddButton(285, 275, 4005, 4007, 24, GumpButtonType.Reply, 0);
			
			AddLabel(320, 295, 1149, @"Silver");
			AddLabel( 410, 295, 0x480, box.RunicSilver.ToString() );
			AddButton(285, 295, 4005, 4007, 25, GumpButtonType.Reply, 0);

            AddLabel(320, 315, 1163, @"Jade");
            AddLabel(410, 315, 0x480, box.RunicJade.ToString());
            AddButton(285, 315, 4005, 4007, 26, GumpButtonType.Reply, 0);
			
			AddLabel(320, 335, 1155, @"Moonstone");
			AddLabel( 410, 335, 0x480, box.RunicMoonstone.ToString() );
			AddButton(285, 335, 4005, 4007, 27, GumpButtonType.Reply, 0);
			
			AddLabel(320, 355, 1359, @"Sunstone");
			AddLabel( 410, 355, 0x480, box.RunicSunstone.ToString() );
			AddButton(285, 355, 4005, 4007, 28, GumpButtonType.Reply, 0);

		}
Exemplo n.º 2
0
		public BlackSmithBoxTarget( BlackSmithBox box ) : base( 18, false, TargetFlags.None )
		{
			m_Box = box;
		}