//
//  A T2 test game
//

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

startroom: room
   sdesc = "XTads T2 banner test"
   ldesc = "Should show a lhs banner with previous width and changing content size"
   turnCount = 0
   contentList = ['one' 'two words' '3 threeeeee words']
	statusLine =
		{
		local cycleCount;
		local cont;
		
		turnCount += 1;
		cycleCount := ((turnCount - 1) % length(contentList)) + 1;
		cont := contentList[cycleCount];
		
		"<banner id=custStatusLine align=left width=previous border>
			<<cont>>
		</banner>";
		}
;

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