----------------------------------------------------------------------
 * This file is part of Freedroid
 *
 * Freedroid is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Freedroid is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Freedroid; see the file COPYING. If not, write to the 
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
 * MA 02111-1307 USA
----------------------------------------------------------------------


If you have questions concerning FreedroidRPG, please send an email to:

freedroid-discussion@lists.sourceforge.net


Beginning of new chat dialog for character="XXXXX"
----------------------------------------------------------------------

<EveryTime LuaCode>
	npc_says(_"Welcome to the MegaSys Factory complex.")
	npc_says(_"Access is restricted to authorized personnel.")
	npc_says(_"Proof of authorization is required.")
	if (has_cookie("MSStockCertificateOpensGate")) then
		tux_says(_"How many times do I have to show you my certificate, tin can?")
		if (has_item("MS Stock Certificate") > 0) then
			npc_says(_"[b]Validating certificate...[/b]")
			npc_says(_"[b]Validation complete.[/b]", "NO_WAIT")
			npc_says(_"[b]Certificate valid.[/b]", "NO_WAIT")
			npc_says(_"You may enter.")
			change_obstacle_state("HF-EntranceInnerGate", "opened")
			hide(1, 2, 3)
		else
			tux_says(_"Oh, I... uh... must have left it in my other armor.")
			tux_says(_"I'll go get it for you. Yes. Because I TOTALLY know where it is. I hope.")
		end
	else
		show(1, 2, 3)
	end
	show(99)
</LuaCode>
----------------------------------------------------------------------

Nr=1 Text=_"I am THE ONE."
<LuaCode>
	npc_says(_"You are THE ONE without permission.")
	npc_says(_"Please consider leaving.")
	end_dialog()
	hide(1)
</LuaCode>
----------------------------------------------------------------------

Nr=2 Text=_"I am working here."
<LuaCode>
	npc_says(_"Me too.")
	npc_says(_"Please prove your statement.")
	tux_says(_"Do I look like a typical MegaSys slave, errr, worker to you, stupid bot?")
	npc_says(_"No insults, please. But, no")
	if (has_item("MS Stock Certificate") > 0) then
		tux_says(_"But I have this certificate")
		npc_says(_"[b]Validating certificate...[/b]")
		npc_says(_"[b]Validation complete.[/b]", "NO_WAIT")
		npc_says(_"[b]Certificate valid.[/b]", "NO_WAIT")
		npc_says(_"You may enter.")
		change_obstacle_state("HF-EntranceInnerGate", "opened")
		add_cookie("MSStockCertificateOpensGate")
	else
		end_dialog()
	end
	hide(2)
</LuaCode>
----------------------------------------------------------------------

Nr=3 Text=_"I have come to save the world, I don't need any proof."
<LuaCode>
	npc_says(_"Feel uncertain about the future?")
	npc_says(_"Purchase the MegaSys Security Bundle to help safeguard your home.")
	npc_says(_"It contains:")
	npc_says(_"The latest version of the [b]MegaSys[/b] operating system for [b]ONE DROID[/b]")
	npc_says(_"Ten mini surveillance robots.")
	npc_says(_"The book 'Nuclear Science for Dummies IV'.")
	npc_says(_"And a MegaSys Vision Enhancement Device 3000 - what you cannot see, can't see you either!")
	npc_says(_"If you order [b]RIGHT NOW[/b], we will [b]SHIP FOR FREE!!![/b]")
	tux_says(_"No, thanks.")
	hide(3)
</LuaCode>
----------------------------------------------------------------------


Nr=99 Text=_"Bye"
<LuaCode>
	npc_says(_"Remember, MegaSys products are the best!")
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"
