Mercurial > parpg-source
comparison components/equip.py @ 94:5ab004fa4a2e
Added saveable_fields to Equip.
author | KarstenBock@gmx.net |
---|---|
date | Tue, 27 Sep 2011 15:54:46 +0200 |
parents | 939984cff702 |
children | f94d4577ca5e |
comparison
equal
deleted
inserted
replaced
93:d1b0b3da4b8b | 94:5ab004fa4a2e |
---|---|
18 Component that stores the equipment (what is being worn/wieled). | 18 Component that stores the equipment (what is being worn/wieled). |
19 """ | 19 """ |
20 | 20 |
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 | |
24 @property | |
25 def saveable_fields(self): | |
26 return {} | |
23 | 27 |
24 class SlotInvalidError(Exception): | 28 class SlotInvalidError(Exception): |
25 """Error that gets raised when the slot is invalid.""" | 29 """Error that gets raised when the slot is invalid.""" |
26 | 30 |
27 def __init__(self, slot): | 31 def __init__(self, slot): |