Esempio n. 1
0
		public BreweryBoxTarget( BreweryBox box ) : base( 18, false, TargetFlags.None )
		{
			m_Box = box;
		}
Esempio n. 2
0
 public BreweryBoxTarget(BreweryBox box) : base(18, false, TargetFlags.None)
 {
     m_Box = box;
 }
Esempio n. 3
0
		public BreweryBoxGump( PlayerMobile from, BreweryBox box ) : base( 25, 25 )
		{
			m_From = from;
			m_Box = box;

			m_From.CloseGump( typeof( BreweryBoxGump ) );

			AddPage( 0 );

			AddBackground( 12, 19, 486, 195, 9250);
			AddLabel( 200, 30, 32, @"Hops 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, @"Bitter Hops");
			AddLabel( 150, 115, 0x480, box.BitterHops.ToString() );
			AddButton( 25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 135, 0, @"Snow Hops");
			AddLabel( 150, 135, 0x480, box.SnowHops.ToString() );
			AddButton( 25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 155, 0, @"Elven Hops");
			AddLabel( 150, 155, 0x480, box.ElvenHops.ToString() );
			AddButton( 25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 175, 0, @"Sweet Hops");
			AddLabel( 150, 175, 0x480, box.SweetHops.ToString() );
			AddButton( 25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0);
            /*********** New Column *******************/
			AddLabel( 320, 115, 0, @"Malt");
			AddLabel( 410, 115, 0x480, box.Malt.ToString() );
			AddButton( 285, 115, 4005, 4007, 7, GumpButtonType.Reply, 0 );

			AddLabel( 320, 135, 0, @"Barley");
			AddLabel( 410, 135, 0x480, box.Barley.ToString() );
			AddButton( 285, 135, 4005, 4007, 8, GumpButtonType.Reply, 0);
			
			AddLabel( 320, 155, 0, @"B.Label Maker");
			AddLabel( 410, 155, 0x480, box.BreweryLabelMaker.ToString() );
			AddButton( 285, 155, 4005, 4007, 9, GumpButtonType.Reply, 0);
			
			AddLabel( 320, 175, 0, @"Brewers Tools");
			AddLabel( 410, 175, 0x480, box.BrewersTools.ToString() );
			AddButton( 285, 175, 4005, 4007, 10, GumpButtonType.Reply, 0);
		}