// Town 13: Bandit Island
begintownscript;

variables;

short choice,i,j,k;
string dlgstr;

body;

beginstate INIT_STATE;
	set_name(10,"Somnekh");

	if (get_flag(13,0) == 0) {
		force_instant_terrain_redraw();
		set_flag(13,0,1);
		message_dialog("You cross the bridge to the island in the middle of the river of lava. Around you, you can sense more of the oppressive barbarian slith magic that you've encountered several times before, and you hear more of their odious hissing.","This central island is an utter mess. Whoever these barbarians are, they love to eat and to drink and to cast off their remains without even a second thought.");
		}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	set_flag(13,2,2);
	message_dialog("As you strike a final, devastating blow, you can feel the archmage's power begin to escape his control, flowing randomly. He disintegrates before your eyes, but not before crying out, _You will feel the vengeance of Vorthak the Devourer!_","As he dies, you think for a moment about the spell he was casting, throwing the sleep cloud on you. You think you saw enough of it to understand it, and you think you could even cast it yourself! (You have learned how to cast the spell, _Sleep Cloud._)");
	set_flag(292,10,1);
	set_flag(292,0,1);
break;

beginstate 11;
	message_dialog("This body appears to have been a Thassakan once. The barbarians here killed him and, it appears, ate most of his body. If the flagons around are any evidence, they drank copious amounts of wine while doing it.","You turn away before the sight turns your stomach and makes you vomit, and as you do, you notice that someone carved into the bones, _Vorthak the Devourer._");
break;

beginstate 12;
	message_dialog("_In his name we eat and drink our fill,_ this book reads. _We raise a cup and down it in one swallow to slake our thirst for the sake of the thirst that cannot be quenched! We consume our meat for our lord who cannot be sated!_","The book goes on in this fashion for some time. You gather from the headings and the titles that these are prayers, if they can even be called that, to the god Vorthak, Lord of the Feast. One prays, evidently, by reading these words before a great meal.");
break;

beginstate 13;
if (get_flag(13,3) == 0) {
	set_flag(13,3,1);
	message_dialog("You find two rows of crystal pillars. These don't have any obvious control mechanism. You look around for some way to affect them, but you can see nothing. You can't see anything on or in them, either.","The mystery of the pillars will have to remain unsolved for the time being.");
	}
break;