Mercurial > parpg-core
diff src/parpg/dialogueactions.py @ 86:2e307c4f78e3
DialogueGUI now acceps met_fnc and meet_fnc in its constructor and stores them in its game_state as "met" and "meet" respectively.
author | KarstenBock@gmx.net |
---|---|
date | Fri, 09 Sep 2011 16:12:46 +0200 |
parents | 1fd2201f5c36 |
children | bb0e09112a1f |
line wrap: on
line diff
--- a/src/parpg/dialogueactions.py Fri Sep 09 15:47:43 2011 +0200 +++ b/src/parpg/dialogueactions.py Fri Sep 09 16:12:46 2011 +0200 @@ -107,7 +107,7 @@ # verbose, so I'm logging it as an INFO message instead. # print("You've met {0}!".format(npc_id)) self.logger.info("You've met {0}!".format(npc_id)) - game_state['pc'].meet(npc_id) + game_state['meet'](npc_id) DialogueAction.registerAction(MeetAction)