// Town 35: Sthikhoss West
begintownscript;

variables;

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

body;

beginstate INIT_STATE;
	set_crime_tolerance(2);
	
	change_outdoor_location(1,4,27,32);
	
	if (get_flag(51,1) == 1) {
		set_terrain(27,15,297);
		activate_hidden_group(1);
		set_name(6,"Khaross");
		change_blocked(23,15,1);
		change_blocked(23,16,1);
		change_blocked(23,17,1);
		}
	
	if (get_flag(35,0) == 0) {
		force_instant_terrain_redraw();
		reset_dialog();
		add_dialog_str(0,"Khaross ferries you across the river Sthikhoss, which represents forgetfulness and passing on to all sliths. You gaze into the water, and you notice strange eyes under the surface, watching you, staring at you, hungrily.",0);
		add_dialog_str(1,"You ask Khaross about it, and he tells you that the final fate of some souls is to be cast beneath the water's surface and wait for ages, until the time when a desperate soul from the riverbank tries to swim the distance.",0);
		add_dialog_str(2,"Then the captured spirit below who subdues that soul and brings it down is allowed, finally, to be free of the river, putting the new soul in its place.",0);
		add_dialog_str(3,"You involuntarily shudder. When you arrive at the other side, you carefully disembark, and Khaross silently rows away to the other bank again.",0);
		set_flag(35,0,run_dialog(1));
		}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
if (get_flag(55,0) == 0)
	end();
	
	reset_dialog();
	add_dialog_str(0,"Khaross waits here to take you back across the river. What do you do?",0);
	add_dialog_choice(0,"Leave.");
	add_dialog_choice(1,"Board his boat and cross the river.");
	if (run_dialog(1) == 1)
		block_entry(1);
	else
		move_to_new_town(34,15,32);
break;