diff demos/rpg/scripts/quests/basequest.py @ 560:69d50e751c9a

Lots of changes. - Added the Serializer class - Made exceptions a little more usable - Added actor attributes (not used yet but will be with the combat engine) - Made the quest dialogs more customizable - Many other small changes
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 23 Jun 2010 19:20:24 +0000
parents d0282579668c
children
line wrap: on
line diff
--- a/demos/rpg/scripts/quests/basequest.py	Tue Jun 22 15:41:36 2010 +0000
+++ b/demos/rpg/scripts/quests/basequest.py	Wed Jun 23 19:20:24 2010 +0000
@@ -22,7 +22,6 @@
 #  Free Software Foundation, Inc.,
 #  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 # ####################################################################
-# This is the rio de hola client for FIFE.
 
 import sys, os, re, math, random, shutil, time
 from datetime import datetime
@@ -38,6 +37,8 @@
 		self._questid = questid
 		self._name = questtitle
 		self._text = questtext
+		self._complete_dialog = "That everything I need.  Thank you!"
+		self._incomplete_dialog = "Come back when you have all the items I requested!"
 		
 	def __eq__(self, other):
 		return self._questid == other.id