Mercurial > parpg-source
comparison components/equip.py @ 97:f94d4577ca5e
saveable_fields property of components is now a List.
author | KarstenBock@gmx.net |
---|---|
date | Tue, 27 Sep 2011 16:27:36 +0200 |
parents | 5ab004fa4a2e |
children | f2ef124128db |
comparison
equal
deleted
inserted
replaced
96:8363261b658e | 97:f94d4577ca5e |
---|---|
21 def __init__(self): | 21 def __init__(self): |
22 Base.__init__(self, head=object, body=object, leg=object, feet=object, l_arm=object, r_arm=object) | 22 Base.__init__(self, head=object, body=object, leg=object, feet=object, l_arm=object, r_arm=object) |
23 | 23 |
24 @property | 24 @property |
25 def saveable_fields(self): | 25 def saveable_fields(self): |
26 return {} | 26 return [] |
27 | 27 |
28 class SlotInvalidError(Exception): | 28 class SlotInvalidError(Exception): |
29 """Error that gets raised when the slot is invalid.""" | 29 """Error that gets raised when the slot is invalid.""" |
30 | 30 |
31 def __init__(self, slot): | 31 def __init__(self, slot): |