Example #1
0
		public TokenBoxTarget( TokenBox box ) : base( 18, false, TargetFlags.None )
		{
			m_Box = box;
		}
Example #2
0
 public TokenBoxTarget(TokenBox box) : base(18, false, TargetFlags.None)
 {
     m_Box = box;
 }
Example #3
0
		public TokenBoxGump( PlayerMobile from, Item item ): base( 0, 0 )
		{
		
			m_From = from;			
			if (!(item is TokenBox))
				return;
			TokenBox box = item as TokenBox;
			m_Box = box;

			m_From.CloseGump( typeof( TokenBoxGump ) );
			
			Closable=true;
			Disposable=false;
			Dragable=true;
			Resizable=false;
			AddPage(0);
			AddImage(112, 135, 75);
			AddLabel(143, 280, 1160, @"Karmageddon's Tokens");
			AddButton(125, 265, 1209, 1210, 1, GumpButtonType.Reply, 0);
			AddButton(125, 245, 1209, 1210, 2, GumpButtonType.Reply, 0);
			AddButton(125, 225, 1209, 1210, 3, GumpButtonType.Reply, 0);
			AddLabel(145, 260, 37, @"Add Tokens");
			AddLabel(145, 240, 67, @"Extract Tokens");
			AddLabel(145, 220, 67, @"Write Check");
			AddBackground(132, 200, 165, 20, 9300);
			AddTextEntry(135, 200, 155, 25, 1265, 1, "0");
			AddLabel(125, 160, 1160, @"Current Tokens:");
			AddLabel(240, 160, 1160, box.Token.ToString());
			AddLabel(180, 140, 187, @"Token Box");
			AddButton(285, 145, 2708, 2709, 4, GumpButtonType.Reply, 0);
			AddLabel(140, 180, 67, @"Tokens to be Extracted");

		}