def add_equipment(self, equipment: Equipment):
    for objects in self.equipment:
        if (objects.name == equipment.name):
            return
    self.equipment.append(equipment)
def add_equipment(self, equipment: Equipment):
    for objects in self.equipment:
        if (objects.name == equipment.name):
            return
    self.equipment.append(equipment)