namespace = "ZDoom";
include = "DIALOG00";

// Quest-Related NPCs //////////////////////////////////////////////////////////
conversation{actor = "MSfiXd_AcolyteRed";
	page{
		name = "Checkpoint Guard"; panel = "M_GUARD2"; voice = "DGG03";
		dialog = "Sorry, no. You do not have clearance.";
		drop = "Power1Key";
		link = 2;
		ifitem{item = "Power1Key";}}
	page{
		name = "Checkpoint Guard"; panel = "M_GUARD2"; voice = "DGG01";
		dialog = "Stop! Show me your ID badge.";
		choice{
			text = "Here, my pass.";
			cost{item = "Power1Key"; amount = 1;}
			displaycost = false;
			giveitem = "OpenDoor222";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Checkpoint Guard"; panel = "M_GUARD2"; voice = "DGG02";
		dialog = "Oh, okay. Sure, go ahead. Have a nice day.";}}
conversation{actor = "MSfiXd_AcolyteRust";
	page{
		name = "Foreman"; panel = "M_GUARD3"; voice = "FOR01A";
		dialog = "Derwin? Yeah, he's down in the Warehouse, but you're not getting in unless you're cleared.";
		link = 4;
		ifitem{item = "QuestItem10";} // 'Obtain Prison Pass' Mission Completed
		choice{
			text = "Clearance? I got clearance.";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Foreman"; panel = "M_GUARD3"; voice = "FOR02A";
		dialog = "Go on.";
		choice{
			text = "That guy, Derwin. Where is he?";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Foreman"; panel = "M_GUARD3"; voice = "FOR04A";
		dialog = "I don't know where anybody is. I just keep the lid on the rat trap.";
		link = 4;
		ifitem{item = "PrisonKey";}}
	page{
		name = "Foreman"; panel = "M_GUARD3"; voice = "FOTBLA";
		dialog = "You are an unpleasant distraction.";}}
conversation{actor = "MSfiXd_AcolyteGrey";
	page{
		name = "Reactor Guard"; panel = "M_GUARD4"; voice = "RGTBL";
		dialog = "Move along, or taste metal.";
		link = 2;
		ifitem{item = "Power2Key";}}
	page{
		name = "Reactor Guard"; panel = "M_GUARD4"; voice = "RGG01";
		dialog = "Pass your ID through here for access.";}}
conversation{actor = "MSfiXd_Peasant5";
	page{
		name = "Derwin"; panel = "M_DERWIN"; voice = "DER01";
		dialog = "Oh, damn. The Governor sent you. I was going to give him his cut, really, I was. Okay, listen; I've got a bundle stashed. It's yours if you look the other way.";
		drop = "Ear";
		choice{
			text = "Then let's do business.";
			giveitem = "RaiseAlarm";
			nextpage = 2;
			closedialog = false;}
		choice{
			text = "Sorry. Nothing personal.";
			giveitem = "RaiseAlarm";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Derwin"; panel = "M_DERWIN"; voice = "DER03";
		dialog = "Business, my ass. Help, guards, I've got a live one!";
		drop = "Ear";}
	page{
		name = "Derwin"; panel = "M_DERWIN"; voice = "DER02";
		dialog = "Nuts, if I'm going down, then so are you. GUARDS!";
		drop = "Ear";}}
conversation{actor = "MSfiXd_Peasant6";
	page{
		name = "Worner"; panel = "M_WORNER"; voice = "WOR01";
		dialog = "Ah, I got word from Macil that you'd be coming. I have a way to get you inside the Power Station, but it's on the risky side.";
		drop = "Power1Key";
		choice{
			text = "I'll take my chances.";
			giveitem = "Power1Key";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Worner"; panel = "M_WORNER"; voice = "WOR02";
		dialog = "All right, I stole an ID from the corpse of some fool who fell into the reactor's coolant pit. *BLAT* Instant deep-fry.";
		drop = "RaiseAlarm";
		choice{
			text = "What should I do once I'm in?";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Worner"; panel = "M_WORNER"; voice = "WOR03";
		dialog = "Tell whoever asks that you're the replacement worker for 'Mister Crispy'. It's just dumb enough to work. Oh, and you might want to check out the storeroom that's right above us.";
		drop = "RaiseAlarm";
		choice{
			text = "This better work...!";
			log = "LOG1012";
			nextpage = 4;
			closedialog = true;}}
	page{
		name = "Worner"; panel = "M_WORNER"; voice = "WRTBL";
		dialog = "Get out of here, unless you want to end up 'Mister Dead'.";
		drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant11";
	page{//1
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCH01";
		dialog = "Such pressure; at this rate, we'll be back to normal shifts soon. We're pumping tons of power to the Castle, and I'm almost finished logging those new weapons.";
		drop = "GoldKey";
		choice{
			text = "Weapons, you say?";
			nextpage = 2;
			closedialog = false;}}
	page{//2
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCH02";
		dialog = "What do you think; we're backed up on socks?";
		drop = "GoldKey";
		choice{
			text = "What kind of weapons?";
			nextpage = 3;
			closedialog = false;}}
	page{//3
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCH03";
		dialog = "Are you deaf? I just told you how busy I am. Get back to work.";
		drop = "GoldKey";
		choice{
			text = "Nice key. What's it for?";
			nextpage = 4;
			closedialog = false;}}
	page{//4
		name = "Technician"; panel = "M_TEKBRN";
		dialog = "None of your beeswax! If the guards hear you asking questions like that... Wait a second, you're not a dockworker OR a tech, are-";
		drop = "GoldKey";
		choice{
			text = "Gold Key. Now.";
			yesmessage = "Alright, alright, here! Stupid thing isn't worth my neck!";
			giveitem = "GoldKey";
			nextpage = 5;
			closedialog = true;}}
	page{//5
		name = "Technician"; panel = "M_TEKBRN";
		dialog = "Leave me alone! You already got my key!";
		drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant12";
	page{
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCB01";
		dialog = "Who are you? Only Clearance Level Two personnel are permitted in this area.";
		drop = "Power2Key";
		choice{
			text = "A replacement worker! Who else?";
			giveitem = "Power2Key";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCB02";
		dialog = "About time you showed up. Go talk with Ketrick in the Core. Oh, and take this key with you. Wouldn't want you getting shot on your first day, huh?";
		drop = "RaiseAlarm";
		choice{
			text = "Yeah, about that Power Crystal-";
			log = "LOG1013";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Technician"; panel = "M_TEKBRN"; voice = "TCB03";
		dialog = "If you don't get to work, you'll get shot anyway. Move your tunic.";
		drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant8";
	page{
		name = "Sammis"; panel = "M_SAMMIS"; voice = "SAM01A";
		dialog = "Work, sleep, get tortured; what a life. Say, you the replacement for the careless pit diver?";
		drop = "Power3Key";
		choice{
			text = "Yeah, can't wait to start.";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Sammis"; panel = "M_SAMMIS"; voice = "SAM02A";
		dialog = "Yeah, right. Okay, get your ass to work.";
		drop = "Power3Key";
		choice{
			text = "Where's the crystal?";
			giveitem = "Power3Key";
			nextpage = 3;
			closedialog = false;}}
	page{
		name = "Sammis"; panel = "M_SAMMIS"; voice = "SAM03A";
		dialog = "Go talk to Ketrick. Bring the walkway up using the switches, then use this ID for the elevator.";
		drop = "RaiseAlarm";
		choice{
			text = "Where's the crystal again?";
			log = "LOG1014";
			nextpage = 4;
			closedialog = false;}}
	page{
		name = "Sammis"; panel = "M_SAMMIS"; voice = "SAM04A";
		dialog = "None of your business. Go talk to Ketrick.";
		drop = "RaiseAlarm";
		choice{
			text = "Thanks for the attitude.";
			nextpage = 5;
			closedialog = true;}}
	page{
		name = "Sammis"; panel = "M_SAMMIS"; voice = "SAM05A";
		dialog = "If it's busy work you want, go stare at that screen for a while. It'll bore you to tears.";
		drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant7";
	page{
		name = "Ketrick"; panel = "M_KETRIC"; voice = "KET01";
		dialog = "YOU! Yeah, you. You aren't cleared for this area. Let me have your keycard, fast. I'm in such a bad mood!";
		drop = "RaiseAlarm";
		choice{
			text = "Here's my card.";
			giveitem = "RaiseAlarm";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Ketrick"; panel = "M_KETRIC"; voice = "KET02";
		dialog = "This is garbage! Wait here. Oh, screw it. Guards! Kill this intruder!";
		drop = "RaiseAlarm";}}
// Miscellaneous NPCs //////////////////////////////////////////////////////////
conversation{actor = "MSfiXd_Peasant9"; 
	page{
		name = "Computer Tech"; panel = "M_TEKGRY"; voice = "CTT01";
		dialog = "The almighty Programmer is so paranoid of infiltration that he's locked up the Computer Core. How am I supposed to get my work done? The only way in is the suicide run.";
		drop = "RaiseAlarm";
		choice{
			text = "'Suicide run'? I've done worse.";
			nextpage = 2;
			closedialog = false;}}
	page{
		name = "Computer Tech"; panel = "M_TEKGRY"; voice = "CTT02";
		dialog = "It's a surefire way to get killed, but that's not important right now. Go down the lift if you're so inclined.";
		drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant10"; page{name = "Dock Worker"; panel = "M_DKWRKR"; voice = "DWW01"; dialog = "Hey, leave me alone. If they catch us wasting time, we get dead, or extra work."; drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant2"; page{name = "Technician"; panel = "M_TEKTAN"; voice = "TCT01"; dialog = "I don't mean to sound alarmist, but if they keep pushing the power crystal this hard, it's gonna flaw, and then shatter, and then *BOOM* ...Just a thought."; drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant3"; page{name = "Technician"; panel = "M_TEKTAN"; voice = "TCC01"; dialog = "Let me be quite clear; if this terminal locks up again, the coolant level will drop, and we'll all have to answer to the Programmer. If we survive."; drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_Peasant4"; page{name = "Dock Worker"; panel = "M_DKWRKR"; voice = "DOW01"; dialog = "We've been running around the clock for weeks with no downtime. I'd say that the Order is planning a supression raid on the Front."; drop = "RaiseAlarm";}}
conversation{actor = "MSfiXd_AcolyteOlive"; page{name = "Overseer"; panel = "M_GUARD5"; voice = "AGG01"; dialog = "Get back to work, NOW!";}}
conversation{actor = "MSfiXd_AcolyteGold"; page{name = "Core Guard"; panel = "M_GUARD6"; voice = "AGG01"; dialog = "Get back to work, NOW!"; drop = "hazardscreen";}}