'Sets clothes to \'worn\' and optionally echoes to the room.
Args:
wearer (obj): character object wearing this clothing object
wearstyle (True or str): string describing the style of wear or True for none
Kwargs:
quiet (bool): If false, does not message the room
Notes:
Optionally sets db.worn with a \'wearstyle\' that appends a short passage to
the end of the name  of the clothing to describe how it\'s worn that shows
up in the wearer\'s desc - I.E. \'around his neck\' or \'tied loosely around
her waist\'. If db.worn is set to \'True\' then just the name will be shown.'

def wear(self, wearer, wearstyle, quiet=False):

    self.db.worn = wearstyle
    to_cover = []
    if (self.db.clothing_type and (self.db.clothing_type in CLOTHING_TYPE_AUTOCOVER)):
        for garment in get_worn_clothes(wearer):
            if (garment.db.clothing_type and (garment.db.clothing_type in CLOTHING_TYPE_AUTOCOVER[self.db.clothing_type])):
                to_cover.append(garment)
                garment.db.covered_by = self
    if quiet:
        return
    message = ('%s    puts    on    %s' % (wearer, self.name))
    if (wearstyle is not True):
        message = ('%s    wears    %s    %s' % (wearer, self.name, wearstyle))
    if to_cover:
        message = (message + (',    covering    %s' % list_to_string(to_cover)))
    wearer.location.msg_contents((message + '.'))
