# HG changeset patch # User KarstenBock@gmx.net # Date 1315312674 -7200 # Node ID 2265d69ba57ccc750ec74905705ceb0f808fba42 # Parent 96af64cf3b81bddf50f8705f26111b281b7f274c Renamed dialog to dialogue diff -r 96af64cf3b81 -r 2265d69ba57c src/parpg/components/__init__.py --- a/src/parpg/components/__init__.py Mon Sep 05 15:00:34 2011 +0200 +++ b/src/parpg/components/__init__.py Tue Sep 06 14:37:54 2011 +0200 @@ -3,7 +3,7 @@ from containable import Containable from container import Container from description import Description -from dialog import Dialog +from dialogue import Dialogue from fifeagent import FifeAgent from lockable import Lockable from usable import Usable diff -r 96af64cf3b81 -r 2265d69ba57c src/parpg/components/dialog.py --- a/src/parpg/components/dialog.py Mon Sep 05 15:00:34 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# This program 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 3 of the License, or -# (at your option) any later version. -# -# This program 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 this program. If not, see . - -from bGrease.component import Component - -class Dialog(Component): - """Component that stores the dialogue""" - - def __init__(self): - """Constructor""" - Component.__init__(self, dialogue=object) diff -r 96af64cf3b81 -r 2265d69ba57c src/parpg/components/dialogue.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/parpg/components/dialogue.py Tue Sep 06 14:37:54 2011 +0200 @@ -0,0 +1,21 @@ +# This program 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 3 of the License, or +# (at your option) any later version. +# +# This program 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 this program. If not, see . + +from bGrease.component import Component + +class Dialogue(Component): + """Component that stores the dialogue""" + + def __init__(self): + """Constructor""" + Component.__init__(self, dialogue=object) diff -r 96af64cf3b81 -r 2265d69ba57c src/parpg/world.py --- a/src/parpg/world.py Mon Sep 05 15:00:34 2011 +0200 +++ b/src/parpg/world.py Tue Sep 06 14:37:54 2011 +0200 @@ -16,7 +16,7 @@ self.components.containable = components.Containable() self.components.container = components.Container() self.components.description = components.Description() - self.components.dialog = components.Dialog() + self.components.dialogue = components.Dialogue() self.components.fifeagent = components.FifeAgent() self.components.lockable = components.Lockable() self.components.usable = components.Usable()