Mercurial > parpg-core
comparison src/parpg/components/equip.py @ 127:90b49fda0340
saveable_fields property of components is now a List.
author | KarstenBock@gmx.net |
---|---|
date | Tue, 27 Sep 2011 16:27:36 +0200 |
parents | 0ac4403404ea |
children | 3aff9dee1b4f |
comparison
equal
deleted
inserted
replaced
126:0ab8b61a8a56 | 127:90b49fda0340 |
---|---|
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): |