namespace = "ZDoom";
include = "DIALOG00";
// Quest-Related NPCs //////////////////////////////////////////////////////////			
conversation{actor = "Macil1";
	page{//1
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC01";
		dialog = "Welcome to the last flicker of hope. Only we have the free will to oppose the Order. We have the sharpest scientific minds, and many able bodies, but we lack that one real, ah... 'problem solver', who will give use the edge we need. Help us.";
		choice{
			text = "Sign me up.";
			nextpage = 4;
			closedialog = false;}
		choice{
			text = "I got better shit to do.";
			nextpage = 2;
			closedialog = false;}}
	page{//2
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC03";
		dialog = "You might want to reconsider, seeing that you're surrounded by heavily armed, angry rebels.";
		choice{
			text = "...Okay, what needs blowing up?";
			nextpage = 4;
			closedialog = false;}
		choice{
			text = "And YOU'RE gonna stop me?";
			giveitem = "RaiseAlarm";
			nextpage = 3;
			closedialog = false;}}
	page{//3
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC04";
		dialog = "Then die in shame and dishonor.";}
	page{//4
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC02";
		dialog = "Good. Blackbird will continue to be your guide; she's taken quite a shine to you. Together, you've got to unlock the secrets of the Order and their inhuman servants. Get inside, and take them down.";
		choice{
			text = "What's our plan?";
			nextpage = 5;
			closedialog = false;}}
	page{//5
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC05";
		dialog = "Frankly, the situation is a mess. You must accomplish several missions to prepare the way for more attacks on the Order. Our last raid was a disaster, and most of our troops were captured. I need you to free these prisoners.";
		choice{
			text = "How do I get in?";
			nextpage = 6;
			closedialog = false;}}
	page{//6
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC06";
		dialog = "Take this money and visit Irale, who supplies our weapons. Then, this key will get you to see the Governor. He's a corrupt puppet of the Order, but he loves to make deals. Do whatever you need to free our brothers in arms.";
		choice{
			text = "I'm off.";
			log = "LOG1006";
			giveitem = "PrisonBreakMissionRecieved";
			nextpage = 7;
			closedialog = false;}}
	page{//7
		name = "Macil"; panel = "M_LEDR0"; voice = "MLTBL";
		dialog = "Fight for the Front, and freedom. Move out.";
		link = 8;
		ifitem{item = "QuestItem13";}} // 'Free Prisoners' Mission Completed
	page{//8
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC07";
		dialog = "The prisoners have been welcomed back, thanks to you. Here's some gold; go visit the Medic and the Weapons Trainer and then, I have higher goals for you.";
		choice{
			text = "My next mission?";
			giveitem = "MSfiXd_Gold500";
			nextpage = 9;
			closedialog = false;}}
	page{//9
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC08";
		dialog = "A single crystal runs the power grid which drives the Order's shields. Destroy that crystal, and you will punch huge holes in the Order's defenses. Blackbird will lead you to a spy who has a way in. Good luck.";
		choice{
			text = "That shield's going down.";
			log = "LOG1011";
			giveitem = "Passcard";
			nextpage = 10;
			closedialog = true;}}
	page{//10
		name = "Macil"; panel = "M_LEDR0"; voice = "MLTBL";
		dialog = "Fight for the Front, and freedom. Move out.";
		link = 11;
		ifitem{item = "QuestItem16";}} // 'Destroy Gate Mechanism' Mission Completed
	page{//11
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC09";
		dialog = "You've exceeded all of our expectations. Because of your daring, our troops are on the move. I want you two to join the assault, with a specific target. Take out the Programmer. It's time to reveal what we've found out about this layer of the Order.";
		choice{
			text = "Let's hear it.";
			log = "LOG1017";
			giveitem = "SlideshowStarter";
			nextpage = 12;
			closedialog = false;}}
	page{//12
		name = "Macil"; panel = "M_LEDR0"; voice = "MAC14";
		dialog = "The Programmer's Lair is in the Castle. Now, see the Medic, grab some ammo, and go get him.";
		choice{
			text = "Let me at 'em!";
			giveitem = "MSfiXd_Gold500";
			nextpage = 13;
			closedialog = false;}}
	page{//13
		name = "Macil"; panel = "M_LEDR0"; voice = "MLTBL";
		dialog = "Fight for the Front, and freedom. Move out.";}}
// Shopkeepers /////////////////////////////////////////////////////////////////
conversation{actor = "Medic";
	page{//1
		name = "Gerard";
		dialog = "Welcome. I'm Gerard, Chief Medical Officer for the Front. Our facilities here can take care of all the bullet wounds, burns and broken limbs our troops throw at us... provided they can make it back here, of course.";}}
conversation{actor = "WeaponSmith";
	page{//1
		name = "Feris";
		dialog = "Welcome. I'm Feris, and I run the gun range. You look like you know where the business end of a gun is, but you're free to do a little practice.";}}
// Miscellaneous NPCs //////////////////////////////////////////////////////////
conversation{actor = "MSfiXd_Rebel1";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}
conversation{actor = "MSfiXd_Rebel2";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}
conversation{actor = "MSfiXd_Rebel3";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}
conversation{actor = "MSfiXd_Rebel4";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}
conversation{actor = "MSfiXd_Rebel5";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}
conversation{actor = "MSfiXd_Rebel6";
	page{name = "Front HQ Guard";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQREBEL_NOTJOIN";}
	page{name = "Front HQ Guard"; dialog = "RANDOM_HQREBEL";}}

conversation{actor = "MSfiXd_Peasant7";
	page{name = "Front HQ Tech";
		link = 2;
	ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant8";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant9";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant10";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant11";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant12";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}
conversation{actor = "MSfiXd_Peasant13";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}