houdini/Houdini/Penguin.py

62 lines
1.3 KiB
Python

from Houdini.Spheniscidae import Spheniscidae
class Penguin(Spheniscidae):
__slots__ = ['x', 'y', 'room', 'waddle', 'table', 'data', 'member',
'membership_days', 'avatar', 'walking_puffle']
def __init__(self, *args):
super().__init__(*args)
self.x, self.y = (0, 0)
self.room = None
self.waddle = None
self.table = None
self.data = None
self.member = None
self.membership_days = 0
self.avatar = None
self.walking_puffle = None
self.logger.debug('New penguin created')
@property
def party_state(self):
return str()
@property
def puffle_state(self):
return str()
@property
def penguin_state(self):
return str()
async def add_inventory(self, item):
pass
async def add_igloo(self, igloo):
pass
async def add_furniture(self, furniture):
pass
async def add_flooring(self, flooring):
pass
async def add_buddy(self, buddy):
pass
async def add_inbox(self, postcard):
pass
def __repr__(self):
if self.data is not None:
return '<Penguin ID=\'{}\' Username=\'{}\'>'.format(self.data.ID, self.data.Username)
return super().__repr__()