 *  --------------------------------------------------
 *
 *   Copyright (c) 2003 Johannes Prix
 *
 *
 *  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
 *
 =
 =  Feel free to make any modifications you like.  If you set up 
 =  something cool, please send your file in to the Freedroid project.
 = 
 * --------------------------------------------------


*** BEGINNING OF QUEST LIST ***

** Start of this mission target subsection **
+++
+++ Find a cure for Bender, suffering from brain enlargement pills
+++
Mission Name=_"Bender's problem"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Retrieve the toolkit lost by Dixon
+++
Mission Name=_"The yellow toolkit"
Completion LuaCode={
	change_obstacle_state("Town-Solar-1", "enabled")
	change_obstacle_state("Town-Solar-2", "enabled")
	change_obstacle_state("Town-Solar-3", "enabled")
	change_obstacle_state("Town-Solar-4", "enabled")
	change_obstacle_state("Town-Solar-5", "enabled")
	change_obstacle_state("Town-Solar-6", "enabled")
	change_obstacle_state("Town-Solar-7", "enabled")
	change_obstacle_state("Town-Solar-8", "enabled")
}
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Find some energy crystals for the cook Michelangelo
+++
Mission Name=_"Anything but the army snacks, please!"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Defeat the bots in the novice arena
+++
Mission Name=_"Novice Arena"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Defeat the bots in the master arena
+++
Mission Name=_"Time to say goodnight"
Mission target is to kill droids with marker : 1030
Completion LuaCode={
	change_obstacle_state("MasterArenaExitDoor", "opened")
	display_console_message(_"Master arena cleared. Good job, man.")
	display_big_message(_"Level cleared!")
	update_quest("Time to say goodnight", _"I managed to win the fight in the master arena. Am I really that good, or did I cheat?")
}
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Clean out the first level of the warehouse
+++
Mission Name=_"Opening a can of bots..."
Mission target is to kill all hostile droids on this level : 1
Completion LuaCode={ update_quest("Opening a can of bots...", _"The first level of the warehouse has been cleared of bots; Dixon's men can now safely retrieve the supplies from here.") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Clean out the second level under Kevins station
+++
Mission Name=_"And there was light..."
Mission target is to kill all hostile droids on this level : 18
Completion LuaCode={
	update_quest("And there was light...", _"Hope everything is back to normal now. I better go check with Kevin.")
	display_console_message(_"All hostiles on level disabled.")
	display_big_message(_"Level cleared!")
}
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Take Kevins data cube to the cluster maintenance
+++ people inside the red guard complex
+++
Mission Name=_"A kingdom for a cluster!"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Reach the disruptor shield generator and take control of it
+++
Mission Name=_"Opening access to MS Office"
** End of this mission target subsection **

** Start of this mission target subsection **
+++ 
+++ ENDGAME MISSION - propagate faulty firmware update.
+++ This mission can only be finished through a talk with the firmware update server.
+++ 
Mission Name=_"Propagating a faulty firmware update"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Bring SADD dilithium crystals 
+++
Mission Name=_"SADD's power supply"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Free Tania & Escort Tania to the town
+++
Mission Name=_"Tania's Escape"
Mission target is to kill droids with marker : 2035
Completion LuaCode={
	if (npc_dead("Tania")) then
		display_big_message(_"Tania died!")
		display_console_message(_"Tania died!")
		if (not Tania_surface) then
			update_quest("Tania's Escape", _"Tania died before escaping her underground bunker. I was unable to protect her.")
		elseif (not Tania_stopped_by_Pendragon) then
			update_quest("Tania's Escape", _"Tania died in the desert while trying to make it to the town. I was unable to protect her.")
			change_obstacle_state("DesertGate-Inner", "opened")
		else
			update_quest("Tania's Escape", _"Tania died while trying to make it to the town. I was unable to protect her.")
		end
	else
		display_big_message(_"Tania made it to the town!")
		display_console_message(_"Tania successfully made it to the town!")
		add_xp(3000)
	end
}
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Help Stone pay tax
+++
Mission Name=_"Saving the shop"
Completion LuaCode={
	sell_item("Shotgun shells", 1, "Stone")
	sell_item(".22 LR Ammunition", 1, "Stone")
}
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Find Koan
+++
Mission Name=_"Doing Duncan a favor"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Learn to Move
+++
Mission Name=_"Tutorial Movement"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Defeat the shooting range bots in the Tutorial
+++
Mission Name=_"Tutorial Melee"
Mission target is to kill droids with marker : 2037
Completion LuaCode={ display_big_message(_"Melee droids destroyed!") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Defeat the shooting range bots in the Tutorial
+++
Mission Name=_"Tutorial Shooting"
Mission target is to kill droids with marker : 4037
Completion LuaCode={ display_big_message(_"Shooting range cleared!") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Defeat the hacking area bots in the Tutorial
+++
Mission Name=_"Tutorial Hacking"
Mission target is to kill droids with marker : 3037
Completion LuaCode={ display_big_message(_"Hacking area cleared!") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Find Kevin
+++
Mission Name=_"A strange guy stealing from town"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Deliver list from Francis to Spencer
+++
Mission Name=_"Deliverance"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Deliver a nice meal to Will Gapes
+++
Mission Name=_"Gapes Gluttony"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Upgrading Items in the Tutorial
+++
Mission Name=_"Tutorial Upgrading Items"
Completion LuaCode={ display_console_message(_"Tutorial Upgrading Items finished!") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Clean out the old server room
+++
Mission Name=_"Droids are my friends"
Mission target is to kill all hostile droids on this level : 58
Completion LuaCode={ update_quest("Droids are my friends", _"The old server room is now secured.") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Save the town from nuclear disaster
+++
Mission Name=_"An Explosive Situation"
Completion LuaCode={ update_quest("An Explosive Situation", _"Not only is the town safe, but apparently so is Ewald's 296 droid. Oh joy.") }
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Hack the Hell Fortress Gate Access Server and find the gate.
+++
Mission Name=_"Open Sesame"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Get a red Toolbox back to Jenniffer
+++
Mission Name=_"Jennifer's Toolbox"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ This is a test quest
+++
Mission Name=_"24_label_test_quest"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ This is a test quest
+++
Mission Name=_"24_dude_test_quest"
** End of this mission target subsection **

** Start of this mission target subsection **
+++
+++ Another test quest
+++
Mission Name=_"24_guy_death_quest"
Mission target is to kill droids with marker : 2025
Completion LuaCode={
	display_big_message("24 guy death quest solved")
}
** End of this mission target subsection **


*** END OF QUEST LIST *** LEAVE THIS TERMINATOR IN HERE ***

