Mercurial > parpg-core
changeset 68:d7286cba42df
Added dialogue value to Character entity
author | KarstenBock@gmx.net |
---|---|
date | Tue, 06 Sep 2011 15:21:36 +0200 |
parents | 2265d69ba57c |
children | ad75fa042b99 |
files | src/parpg/entities/character.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parpg/entities/character.py Tue Sep 06 14:37:54 2011 +0200 +++ b/src/parpg/entities/character.py Tue Sep 06 15:21:36 2011 +0200 @@ -16,8 +16,8 @@ class Character(Entity): def __init__(self, world, view_name, real_name, desc, statistics, max_bulk, - identifier, layer=None, behaviour=None, gfx=None, - pos=Vec2d(0.0, 0.0), items=None + identifier, layer=None, behaviour=None, dialogue=None, + gfx=None, pos=Vec2d(0.0, 0.0), items=None ): self.characterstats.statistics = statistics @@ -25,6 +25,8 @@ self.description.real_name = real_name self.description.desc = desc + self.dialogue.dialogue = dialogue + self.container.children = items or [] self.container.max_bulk = max_bulk