----------------------------------------------------------------------
 * 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"
----------------------------------------------------------------------

<FirstTime LuaCode>
	show(1, 3)
</LuaCode>

<EveryTime LuaCode>
	if (not has_cookie("login_sacd")) then
		update_quest(_"Tania's Escape", _"I have found the Secret Area Control Datacenter.")
		add_xp(1000)
		add_cookie("login_sacd")
	end
	cli_says(_"Login : ", "NO_WAIT")
	tux_says(_"admin", "NO_WAIT")
	cli_says(_" Password : ", "NO_WAIT")
	tux_says(_"*******", "NO_WAIT")
	npc_says(_"Last login from /dev/ttyS0 on Sun, 23 mar 2057.", "NO_WAIT")
	cli_says(_"admin@sadefence: ~ #", "NO_WAIT")
	hide(2) show(99)
</LuaCode>
----------------------------------------------------------------------

Nr=1 Text=_"/usr/bin/guns --disable"
<LuaCode>
	npc_says(_"Disabling guns...")
	npc_says(_"Connecting to peripheral controller...")
	npc_says(_"Guns disabled.")
	add_cookie("sagunsoff")
	change_obstacle_state("SADDGun1", "disabled")
	change_obstacle_state("SADDGun2", "disabled")
	cli_says(_"admin@sadefence: ~ #", "NO_WAIT")
	hide(1) show(2)
</LuaCode>
----------------------------------------------------------------------

Nr=2 Text=_"/usr/bin/guns --enable"
<LuaCode>
	npc_says(_"Enabling guns...")
	npc_says(_"Connecting to peripheral controller...")
	npc_says(_"ERROR: Guns cannot be enabled.")
	cli_says(_"admin@sadefence: ~ #", "NO_WAIT")
</LuaCode>
----------------------------------------------------------------------

Nr=3 Text=_"/usr/bin/hermodoors --open"
<LuaCode>
	npc_says(_"Opening doors...")
	npc_says(_"Connecting to peripheral controller...")
	change_obstacle_state("SACD-North-1", "opened")
	change_obstacle_state("SACD-North-2", "opened")
	change_obstacle_state("SACD-North-3", "opened")
	change_obstacle_state("SA-Main-EastN", "opened")
	change_obstacle_state("SA-Main-EastS", "opened")
	change_obstacle_state("SA-Main-WestN", "opened")
	change_obstacle_state("SA-Main-WestS", "opened")
	change_obstacle_state("SA-Main-Enter", "opened")
	npc_says(_"ERROR: An error occurred while opening some doors.")
	npc_says(_"Please enter unlock security override password:")
	tux_says(_"CTRL+C")
	npc_says(_"Invalid password. Entering lockdown mode.")
	npc_says(_"ERROR: Lockdown mode has an error.", "NO_WAIT")
	npc_says(_"ERROR: error has an error.", "NO_WAIT")
	if bot_exists("SADD") then
		npc_says(_"ERROR: SADD droids now set to search-and-destroy mode.")
		set_npc_faction("ms", "SADD")
		set_bot_name(_"SADD -- Exterminate Mode", "SADD")
		set_bot_destination("SADD-MoveTarget", "SADD")
	end
	cli_says(_"admin@sadefence: ~ #", "NO_WAIT")
	hide(3)
</LuaCode>
----------------------------------------------------------------------

Nr=99 Text=_"logout"
<LuaCode>
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"
