def c_set(actor, parameters):
    """Set a facet of an element."""
    if not parameters:
        message = 'You must specify an element, a facet and a value.'
    else:
        arguments = parameters.split(' ', 2)
        if len(arguments) == 1:
            message = 'What facet of element "' + arguments[0
                ] + '" would you like to set?'
        elif len(arguments) == 2:
            message = 'What value would you like to set for the "' + arguments[
                1] + '" facet of the "' + arguments[0] + '" element?'
        else:
            element, facet, value = arguments
            if element not in actor.universe.contents:
                message = 'The "' + element + '" element does not exist.'
            else:
                try:
                    actor.universe.contents[element].set(facet, value)
                except PermissionError:
                    message = (
                        'The "%s" element is kept in read-only file "%s" and cannot be altered.'
                         % (element, actor.universe.contents[element].
                        origin.source))
                except ValueError:
                    message = (
                        'Value "%s" of type "%s" cannot be coerced to the correct datatype for facet "%s".'
                         % (value, type(value), facet))
                else:
                    message = ('You have successfully (re)set the "' +
                        facet + '" facet of element "' + element +
                        '". Try "show element ' + element +
                        '" for verification.')
    actor.send(message)
    return True
