//
//  A minimal T2 test game, to test misc stuff in XTads.
//

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

startroom: room
    //sdesc = "XTads T2 ad-hoc test game!"
    sdesc = "sdesc"
    ldesc = {

		/*
		"<br>";
		"</font></B>Time passes..." ;
		" " ;
		"<BR HEIGHT=0>" ;
		"<BR HEIGHT=0>" ;
		"<BR HEIGHT=0>" ;
		"<BR HEIGHT=0>" ;
		" " ;
		"<BR>&gt;<font face=#000000><B>" ;
		input();
		*/
    
    	//"<TAB MULTIPLE=4><center>Preface</center>";
    	//"<center>Preface</center>";
    
    	//"\n\ \ \ after 3 quoted spaces.\ \ \ \ after a fullstop and 4 more. 3 more at eol\ \ \ ";
    	//"    after   3.    Now    3   at    eol   ";
    	//"\n    after   3.    Now    3   at    eol   ";
    	//"\n   after 3. Now 3 at eol   ";
    
    	//"\nfirst line\n1 space: 3 spaces:   ?\nnew line";
    
	 	//"<p>Text</p>";
	 	
    	/*
		 "Meh
	 	<p>Text</p>";
		*/
		/*
		 "Meh
	 	<p>Text before</p>
	 	<img src=unknown.gif alt='Alt Text'>
	 	<p>after</p>";
		*/
		
    	"ldesc";
    	/*
    	"<table><tr><td></td><td>td text<br>line2</td></tr></table>";
    	*/
    	/*
		"<TABLE ";
		" ";
		"width=600> <TR> <TD width=100> </TD> <TD ";
		" ";
		"width=400>The robbery was bold, to say the least.  Eight diamonds, stolen from";
		" ";
		"secure displays in the Kimberly Diamond Mining Company exhibit.  Four of the";
		" ";
		"diamonds were rough and uncut, three beautifully finished.  The last diamond";
		" ";
		"was the prize of the collection:  one of the largest diamonds in the world,";
		" ";
		"presented to Queen Victoria by the company and on loan from her for this";
		" ";
		"special exhibit.  All of them taken at once, quietly, under the noses of four";
		" ";
		"well-trained guards.</TD> <TD width=100> </TD> </TR> </TABLE>";
		*/
    }
	statusLine =
		{
		// TODO erudite cmd prompt bug - this reproduces it:
		"<TITLE>The Erudition Chamber</TITLE>" ;
		" " ;
		"<ABOUTBOX><body bgcolor=#FFCC99 text=#000000><CENTER><B>The Erudition" ;
		" " ;
		"Chamber</B>" ;
		" " ;
		"<BR HEIGHT=0>" ;
		"Copyright (c) 2003 Daniel T.  Freas" ;
		" " ;
		"<BR HEIGHT=0>" ;
		"(Type info if this is your first time playing.)" ;
		" " ;
		"<BR HEIGHT=0>" ;
		" " ;
		"<BR></CENTER></ABOUTBOX><banner id=StatusLine height=previous border> <body" ;
		" " ;
		"bgcolor=#000000 text=#FFFFFF><b>Basement</b><tab align=right><i>Apprehensive" ;
			//TODO "Basement" doesn't print on xtads - does on qtads
		" " ;
		"</i></banner>" ;
		" " ;
		//"<BR HEIGHT=0>" ; //TODO test with this too
		}
  ;

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