projects
/
butaba-adventures.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Began working on context-sensitive dialogues
[butaba-adventures.git]
/
utility.py
diff --git
a/utility.py
b/utility.py
index
f452e7f
..
f115374
100644
(file)
--- a/
utility.py
+++ b/
utility.py
@@
-15,8
+15,6
@@
def dialogue_play (screen, bgscreen, npc, responder_portrait=None,
# get the conversation as a dictionary
convtree = xml_to_dict (npc.dialogues[npc.currentdialog])
# get the conversation as a dictionary
convtree = xml_to_dict (npc.dialogues[npc.currentdialog])
- import pprint
- pprint.pprint (convtree)
scrwidth = screen.get_width ()
scrheight = screen.get_height ()
scrwidth = screen.get_width ()
scrheight = screen.get_height ()
@@
-36,7
+34,6
@@
def dialogue_play (screen, bgscreen, npc, responder_portrait=None,
# a dialgoue ID of 0 always exits the conversation
# return the unique response ID
if dlg_id == "0":
# a dialgoue ID of 0 always exits the conversation
# return the unique response ID
if dlg_id == "0":
- print current_resp
return current_resp
# not reply mode
return current_resp
# not reply mode