# HG changeset patch # User KarstenBock@gmx.net # Date 1314912362 -7200 # Node ID def430d5928157b603c72af130aace58f8a09922 # Parent 35081fd801ac2f4ff88d2a209b5931ba82c315b4 Fixed bug in components diff -r 35081fd801ac -r def430d59281 components/Behavior.py --- a/components/Behavior.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/Behavior.py Thu Sep 01 23:26:02 2011 +0200 @@ -21,4 +21,4 @@ def __init__(self): """Constructor""" - Component.__init__(scripts=list) + Component.__init__(self, scripts=list) diff -r 35081fd801ac -r def430d59281 components/CharacterStatistics.py --- a/components/CharacterStatistics.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/CharacterStatistics.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(statistics=dict) + Component.__init__(self, statistics=dict) diff -r 35081fd801ac -r def430d59281 components/containable.py --- a/components/containable.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/containable.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(bulk=int, weight=int, image=str, container=object) + Component.__init__(self, bulk=int, weight=int, image=str, container=object, slot=int) diff -r 35081fd801ac -r def430d59281 components/container.py --- a/components/container.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/container.py Thu Sep 01 23:26:02 2011 +0200 @@ -19,4 +19,4 @@ """ def __init__(self): - Component.__init__(children=list, max_bulk=int) + Component.__init__(self, children=list, max_bulk=int) diff -r 35081fd801ac -r def430d59281 components/description.py --- a/components/description.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/description.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(view_name=str, real_name=str, desc=str) + Component.__init__(self, view_name=str, real_name=str, desc=str) diff -r 35081fd801ac -r def430d59281 components/dialog.py --- a/components/dialog.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/dialog.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(dialogue=object) + Component.__init__(self, dialogue=object) diff -r 35081fd801ac -r def430d59281 components/fifeagent.py --- a/components/fifeagent.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/fifeagent.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(identifier=int, layer=object, behaviour=object, gfx=str) + Component.__init__(self, identifier=int, layer=object, behaviour=object, gfx=str) diff -r 35081fd801ac -r def430d59281 components/lockable.py --- a/components/lockable.py Wed Aug 10 21:08:48 2011 +0200 +++ b/components/lockable.py Thu Sep 01 23:26:02 2011 +0200 @@ -18,4 +18,4 @@ def __init__(self): """Constructor""" - Component.__init__(locked=bool) + Component.__init__(self, locked=bool)