- Add a comment noting that when debugging, a server restart is needed to put
code changes into effect. - No functional changes. - Whitespace changes. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10634 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
9aea156b4b
commit
9fbc7d83ea
|
|
@ -175,6 +175,12 @@
|
|||
# intended to occur. CFDialog constrains the player to follow the proper
|
||||
# conversation thread to qualify to receive the quest reward.
|
||||
#
|
||||
# Debugging
|
||||
# =========
|
||||
#
|
||||
# When debugging, if changes are made to this file, the Crossfire Server must
|
||||
# be restarted for it to register the changes.
|
||||
|
||||
import Crossfire
|
||||
import string
|
||||
import random
|
||||
|
|
@ -322,9 +328,9 @@ class Dialog:
|
|||
# therefore are not required to be unique. This also prevents flags from
|
||||
# conflicting with other non-dialog-related contents in the player file.
|
||||
def setStatus(self, key, value):
|
||||
character_status=self.__character.ReadKey("dialog_"+self.__location);
|
||||
finished=""
|
||||
ishere = 0
|
||||
finished = ""
|
||||
character_status = self.__character.ReadKey("dialog_"+self.__location);
|
||||
if character_status != "":
|
||||
pairs = string.split(character_status, ";")
|
||||
for i in pairs:
|
||||
|
|
|
|||
Loading…
Reference in New Issue