def __init__ (self, name, initial_health, initial_money, initial_clues, skills, home): ObjectWithLocation.__init__ (self, home) NamedObject.__init__ (self, name) self.m_health = {} for aspect, max in initial_health.iteritems (): self.m_health[aspect] = Health (aspect, max) self.m_money = initial_money self.m_clues = initial_clues self.m_skills = skills self.m_movement_points = 0 self.m_delayed = False self.m_trophies = [] self.m_hands = set () self.m_items = [] self.m_temporary_items = [] self.m_active_items = {} # item->[hands]
def __init__(self, proto): ObjectWithLocation.__init__(self, None) Subject.__init__(self, proto) self.m_combat_check = None
def __init__ (self, proto): ObjectWithLocation.__init__ (self, None) Subject.__init__ (self, proto) self.m_combat_check = None