begintalkscript;

variables;

begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Emery J. Bishop";
	text1 = "Emery is sitting idly, staring at you approvingly as you address him.  He's a well-dressed man, his shirt is kept in the brightest shade of white, whereas his trousers are practically made of pitch.";
	text2 = "His eyes have no color- rather, his pupil and iris are of the same color, a dull black that reflects nothing.  His retinas are of a sheer white hue, obstructed by no veins or arteries along their surfaces.";
	text3 = "He seems neither ecstatic nor displeased to see you, but rather, he seems pleased about something entirely difference, something hence and hazy.";
	text5 = "Emery sits here idly.";
	action = INTRO;

begintalknode 2;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 0;
	question = "Who are you?";
	text1 = "_My name is Emery J Bishop, though I realize what you are asking me in spite of the variability of the terms you utilize._";
	text2 = "_It's a trip into the past for me, but a title I was once imbued with in times prior was Doctor Bishop I-I.  The two Is stand for Imperial Illusionist._";
	text3 = "_I suppose you could accuse me of some vile form of irony on multiple levels, but I am the author, I can authorize that which I will._";
	text4 = "Does he also plan on speaking in tongues?";
	code = 
		set_flag(70,2,1);
	break;

begintalknode 3;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) >= 1 && get_flag(71,2) == 0;
	question = "Which Empire did you work for?";
	text1 = "_It was neither North Canopy nor was it Sud Canopy.  I did not control it.  And beyond that, what does it matter for?_";
	code = 
		set_flag(71,2,1);
	break;

begintalknode 4;
	state = 1;
	nextstate = 1;
	condition = get_flag(71,2) == 1;
	question = "But there are differences between Sud Canopy and the North Canopy we fight to defend, right?";
	text1 = "He shrugs.  _Honestly?  There are a few.  In North Canopy, Machtschrein and Schwertschrein are two seperate facilities._";
	text2 = "_Even mirrors mix up right and left now and then._";
	code = 
		set_flag(71,2,2);
		set_flag(70,2,2);
	break;

begintalknode 5;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 2;
	question = "Why did you call us here?";
	text1 = "_I called you here to inform you of certain things.  There are, in all honesty, two things for you to know.  There is who you are, and then there is who you will be dealing with soon._";
	text2 = "_Before you leave, I want to make sure that you have a solid understanding of both objectives: Knowing yourselves, and Spiegelbrecher._";
	text3 = "_Before you leave, I want to make sure that you have a solid understanding of both objectives: Knowing yourselves, and Spiegelbrecher._";
	code = 
		if(party_size() > 1)
			remove_string(3);
		if(party_size() == 1)
			remove_string(2);

		set_flag(70,2,3);
	break;

begintalknode 6;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) >= 3 && get_flag(70,2) < 9 && get_flag(72,2) == 0;
	question = "What do you want to tell us about who we are?";
	text1 = "Emery shakes his head.  _That, I will tell you second.  Ask me after I have told you about Spiegelbrecher._";
	code = 
		set_flag(72,2,1);
	break;

begintalknode 7;
	state = 1;
	nextstate = -1;
	condition = get_flag(70,2) == 9 && get_flag(72,2) == 1;
	question = "Now, what do you want to tell us about who we are?";
	text1 = "He smiles.  _Of course I can._";
	text2 = "_In the morning, I both can and will.  Return to where you arrived, the beds I have provided for you should work well in allowing you rest for one evening._";
	text3 = "Emery seems finished talking to you.";
	action = END_TALK;
	code = 
		set_flag(70,2,40);
	break;

begintalknode 8;
	state = 1;
	nextstate = -1;
	condition = get_flag(70,2) == 9 && get_flag(72,2) != 1;
	question = "What do you want to tell us about who we are?";
	text1 = "_I can tell you more about that.  But I won't do it now._";
	text2 = "_In the morning, I both can and will.  Return to where you arrived, the beds I have provided for you should work well in allowing you rest for one evening._";
	text3 = "Emery seems finished talking to you.";
	action = END_TALK;
	code = 
		set_flag(70,2,40);
	break;

begintalknode 9;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 3;
	question = "Tell us about Spiegelbrecher.";
	text1 = "He shakes his head.  _Spiegelbrecher is an interesting fellow.  Interesting, in the sense that he wants to alienate himself from order to an extreme._";
	text2 = "_I suppose you should also know about his counterpart, Miraa._";
	code = 
		set_flag(70,2,4);
	break;

begintalknode 10;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 4;
	question = "Alright.  Who, then, is Miraa?";
	text1 = "_Miraa is a device created by Sud Canopy, much like Spiegelbrecher is one by North Canopy.  She is a being of dedication, devotion, and unguided power._";
	text2 = "_Leader plans to move south with Spiegelbrecher.  What he does not know is that he will meet Miraa at the Border Guard.  The fracas of ambiguity will form between the two powers._";
	text3 = "_You should know by now that we cannot allow that to happen.  Thus, I have devised a plan to wipe her out and allow you to proceed into Sud Canopy._";
	code = 
		set_flag(70,2,5);
	break;

begintalknode 11;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 5;
	question = "What is your plan?";
	text1 = "_The sun shall shine on her._  He grins deviously.";
	text2 = "Sun...?  What does he mean by that?";
	code = 
		set_flag(70,2,6);
	break;

begintalknode 12;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 6;
	question = "What is the sun?";
	text1 = "_It is the source of daylight.  It is the life in the trees, it is the source from which Canopy draws its energy._";
	text2 = "_It shines above everyone.  It reigns over Canopy from its very top.  When Miraa sees it, she shall surely perish._";
	text3 = "_Where you come in, my stewards, is delivering the sun to her._";
	code = 
		set_flag(70,2,7);
	break;

begintalknode 13;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 7;
	question = "What do you mean?";
	text1 = "Emery reaches into his shirt and produces a large stone shaped like the emblems used by the Bugbears.";
	text2 = "_This is the Obispopiedra.  Take it.  When it is time to use it, I will let you know._";
	text3 = "_And finally, I must give you a warning._";
	code = 
		set_flag(70,2,8);
		change_spec_item(2,1);
	break;

begintalknode 14;
	state = 1;
	nextstate = 1;
	condition = get_flag(70,2) == 8;
	question = "What warning must you give us?";
	text1 = "He frowns.  _Do not trust Spiegelbrecher for the life of you.  He will stab you in the back if you give him the slightest opportunity to do so._";
	text2 = "_He will pretend to be loyal to Leader.  He has to.  But once Miraa is dead and Sud Canopy is paralyzed, he will strike._";
	text3 = "_Use Spiegelbrecher carefully, but watch out, lest you be his next target._";
	text4 = "_And that is all that I have to say about him._";
	code = 
		set_flag(70,2,9);
	break;