// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);

begintalkscript;

variables;



// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = gf(72,11) == 0 && gf(0,16) == 0;
	question = "Name";
	text1 = "When you get close to the portcullis, you see that it has crude writing scratched on the surface. It is in a crude nephilim dialect. You can tell that it is a question, but you aren't sure what it is asking.";
	code =
		sf(0,16,5);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _Let me pass._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _Fang Clan._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _Snargh._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _The bow is ready._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _Flames._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(70,12) > 0;
	question = "Say _Ghath._";
	text1 = "There is a brief, quiet pause. And then the rusty gate opens. A long, angry squeal echoes down the corridors, and the way ahead is clear.";
	action = END_TALK;
	code =
		award_party_xp(200,2);
		sf(72,11,1);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Say _Entry._";
	text1 = "There is a brief, quiet pause. Then the room gets very cold. And then something has joined you in the chamber. You suspect that your answer was incorrect.";
	action = END_TALK;
	code =
		spawn_creature(7225);
		set_name(7225,"Shade Sentinel");
		set_summon_level(7225,1);
		set_boss_level(7225,1);
	break;

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Just leave.";
	text1 = "You back away.";
	action = END_TALK;

	
//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				