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 = "*Sigh* Here we go again.";
			nextpage = 4;
			closedialog = false;}
		choice{
			text = "I've 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 okay. Meggits.";
			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 = "(Oh no, more gibberish.) Fine.";
			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 = "Gee, didn't see that coming.";
			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 = "This is the lousiest realm yet.";
			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 = "What's next on the grocery list?";
			giveitem = "BoostRedeemsAndGem";
			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 = "I'm good with blowing shit up.";
			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 = "Wazard programmer? Big deal.";
			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 = "Wazards. It's ALWAYS wazards.";
			giveitem = "BoostRedeemsAndGem";
			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. So, what can I do for you?";
		link = 3;
		ifitem{item = "HealthBoostRedeem";}
		choice{
			text = "Patch me up, Scotty.";
			closedialog = true;
			yesmessage = "Gerard. Boy, you're a real mess. I'll see what I can do.";
			nomessage = "Gerard. And you're okay for now.";
			giveitem = "GerardHealer";
			nextpage = 2;}}
	page{//2
		name = "Gerard";
		dialog = "Welcome back! Do you need some medical attention?";
		link = 3;
		ifitem{item = "HealthBoostRedeem";}
		choice{
			text = "Yeah, patch me up... Scotty.";
			closedialog = true;
			yesmessage = "Will you ever learn my name?";
			nomessage = "You're okay for now. And cut it out.";
			giveitem = "GerardHealer";
			nextpage = 2;}}
	page{//3
		name = "Gerard";
		dialog = "I've come up with something interesting. It's an injection that should boost your health, allowing you to take more damage before biting the dust. I'm a little hesitant to try it on the men, but if you're interested in advancing the cause of medicinal science, let me know.";
		choice{
			text = "I'm no human, but... Hit me.";
			cost{item = "HealthBoostRedeem"; amount = 1;}
			giveitem = "HealthSyringe";
			closedialog = true;
			yesmessage = "Deus be praised! It works!";
			nextpage = 4;}}
	page{//4
		name = "Gerard";
		dialog = "Amazing! I wasn't sure if it would work with your... unique physiology, but clearly it does. I'll have to run some tests, find some volunteers... This is exciting stuff. Oh, do you need healing?";
		link = 6;
		ifitem{item = "HealthBoostRedeem";}
		choice{
			text = "You know what they say, Scotty.";
			closedialog = true;
			yesmessage = "I'm really starting to hate you.";
			nomessage = "I'm really starting to hate you.";
			giveitem = "GerardHealer";
			nextpage = 5;}}
	page{//5
		name = "Gerard";
		dialog = "Our work's never done here, it seems. You need a patching-up? Just... stop with that name, will you?";
		link = 6;
		ifitem{item = "HealthBoostRedeem";}
		choice{
			text = "I'm just fucking around. Hit me.";
			closedialog = true;
			yesmessage = "Any more lead in you, and you'd start clinking while walking.";
			nomessage = "You're okay. At least, for now.";
			giveitem = "GerardHealer";
			nextpage = 5;}}
	page{//6
		name = "Gerard";
		dialog = "I've concoted another stimulant syringe. This one should boost your health by an even greater margin. You ready?";
		choice{
			text = "'Drug addict' is my profession.";
			cost{item = "HealthBoostRedeem"; amount = 1;}
			giveitem = "HealthSyringe";
			closedialog = true;
			yesmessage = "That worked as expected!";
			nextpage = 5;}}}
conversation{actor = "WeaponSmith";
	page{//1
		name = "Feris";
		dialog = "Welcome. I'm Feris, and I run the gun range. You look like you know which end of the gun's the business end, but I can give you some ammo for that chaingun of yours if you're critically low.";
		link = 3;
		ifitem{item = "ManaBoostRedeem";}
		choice{
			text = "I could use some bullets.";
			closedialog = true;
			nextpage = 2;
			yesmessage = "Here you go. Make 'em count!";
			nomessage = "Looking good here for me.";
			giveitem = "FerisFiller";}}
	page{//2
		name = "Feris";
		dialog = "Welcome back. Running low on gun juice?";
		link = 3;
		ifitem{item = "ManaBoostRedeem";}
		choice{
			text = "Barkeep, fill my glass.";
			closedialog = true;
			nextpage = 2;
			yesmessage = "Your gun's a true alky.";
			nomessage = "You're good for now.";
			giveitem = "FerisFiller";}}
	page{//3
		name = "Feris";
		dialog = "You might not need firing practice, but Gerald's given me something to help you with those strange powers of yours; according to him, it expands your capacity to use them and the rate you regenerate your reserves on your own.";
		choice{
			text = "*Points impatiently towards arm*";
			cost{item = "ManaBoostRedeem"; amount = 1;}
			giveitem = "ManaSyringe";
			closedialog = true;
			yesmessage = "That should hit the spot!";
			nextpage = 4;}}
	page{//4
		name = "Feris";
		dialog = "Welcome back. Running low on gun juice?";
		link = 5;
		ifitem{item = "ManaBoostRedeem";}
		choice{
			text = "Barkeep, fill my glass.";
			closedialog = true;
			nextpage = 2;
			yesmessage = "Your gun's a true alky.";
			nomessage = "You're good for now.";
			giveitem = "FerisFiller";}}
	page{//5
		name = "Feris";
		dialog = "Gerard's brewed up another of these booster syringes. You ready?";
		choice{
			text = "You bet I need my dose.";
			cost{item = "ManaBoostRedeem"; amount = 1;}
			giveitem = "ManaSyringe";
			closedialog = true;
			yesmessage = "Now show those Order fools the short road to hell!";
			nextpage = 4;}}}
// Miscellaneous NPCs //////////////////////////////////////////////////////////
conversation{actor = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_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 = "GCS_Peasant13";
	page{name = "Front HQ Tech";
		link = 2;
		ifitem{item = "QuestItem3";}
		dialog = "RANDOM_HQTECH_NOTJOIN";}
	page{name = "Front HQ Tech"; dialog = "RANDOM_HQTECH";}}