//
//  A T2 test game: 
//  		top aligned banner 
// 		status line mode
//			sized to contents
//			border
//

#include <adv.t>
#include <std.t>

startroom: room
   sdesc = "XTads T2 banner test"
   ldesc = "Should show a top aligned status line with border"
	statusLine =
		{
		"<banner id=custStatusLine height=previous border>
		<b>";
		self.statusRoot;
		"</b><tab align=right><i>";
		say(global.score); "/";
		say(global.turnsofar); " ";
		"</i></banner>";
		}
;

replace commonInit: function
{
    // turn on html mode
    "\H+";
}
