예제 #1
0
        public MeatBoxGump(PlayerMobile from, MeatBox box)
            : base(25, 25)
        {
            m_From = from;
            m_Box  = box;

            m_From.CloseGump(typeof(MeatBoxGump));

            AddPage(0);

            AddBackground(12, 19, 210, 230, 9250);
            AddLabel(100, 30, 32, @"Meat 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, @"Raw Bird");
            AddLabel(200, 115, 0x480, box.Bird.ToString());
            AddButton(25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0);

            AddLabel(60, 135, 2223, @"Raw Lamb");
            AddLabel(200, 135, 0x480, box.Lamb.ToString());
            AddButton(25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0);

            AddLabel(60, 155, 2128, @"Raw Ribs");
            AddLabel(200, 155, 0x480, box.Ribs.ToString());
            AddButton(25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0);

            AddLabel(60, 175, 1644, @"Raw Fish Steak");
            AddLabel(200, 175, 0x480, box.Fish.ToString());
            AddButton(25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0);
        }
예제 #2
0
		public MeatBoxTarget( MeatBox box ) : base( 18, false, TargetFlags.None )
		{
			m_Box = box;
		}
예제 #3
0
		public MeatBoxGump( PlayerMobile from, MeatBox box ) : base( 25, 25 )
		{
			m_From = from;
			m_Box = box;

			m_From.CloseGump( typeof( MeatBoxGump ) );

			AddPage( 0 );

			AddBackground( 12, 19, 210, 230, 9250);
			AddLabel( 100, 30, 32, @"Meat 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, @"Raw Bird");
			AddLabel( 200, 115, 0x480, box.Bird.ToString() );
			AddButton( 25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 135, 2223, @"Raw Lamb");
			AddLabel( 200, 135, 0x480, box.Lamb.ToString() );
			AddButton( 25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 155, 2128, @"Raw Ribs");
			AddLabel( 200, 155, 0x480, box.Ribs.ToString() );
			AddButton( 25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0);
			
			AddLabel( 60, 175, 1644, @"Raw Fish Steak");
			AddLabel( 200, 175, 0x480, box.Fish.ToString() );
			AddButton( 25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0);
		}
예제 #4
0
 public MeatBoxTarget(MeatBox box)
     : base(18, false, TargetFlags.None)
 {
     m_Box = box;
 }