original_docstring: 
      Inform the player of who rested and by how much.
  
      :param class character: Class of the character who rested.
      :param dict info: dictionary of info given as such:
                      {'attribute name': amount regenerated}
  
      
docstring: Inform the player of who rested and by how much.
docstring_tokens: Inform the player of who rested and by how much .
code: def rest_message(character, info):
      """
      Inform the player of who rested and by how much.
  
      :param class character: Class of the character who rested.
      :param dict info: dictionary of info given as such:
                      {'attribute name': amount regenerated}
  
      """
      rest_msg_list = [f'{character.name} takes a knee to regenerate',
                       f'{character.name} steps back from battle for a moment to regenerate',
                       f'Knowing that time is precious, {character.name} takes a moment to rest, replenishing',
                       f'The wise {character.name} pauses to rejuvenating',
                       f'Short of breath, {character.name} pulls back to refresh',
                       f'Noticing that they have only {character.stamina} Stamina and {character.health} Health, '
                       f'{character.name} steps back momentarily restoring']
  
      # Choosing a random base sentence
      message = rest_msg_list[random.randint(0, len(rest_msg_list) - 1)]
  
      # Adding the updates to it.
      for i, (attribute, value) in enumerate(info.items()):
  
          # Deciding how to join the sentence together.
          if i == 0:
              joiner = ''
          elif i == len(info) - 1:
              joiner = ' and'
          else:
              joiner = ','
  
          message += f'{joiner} {value} {attribute}'
  
      print(message)
code_tokens: def rest_message ( character , info ) : rest_msg_list = [ f'{character.name} takes a knee to regenerate' , f'{character.name} steps back from battle for a moment to regenerate' , f'Knowing that time is precious, {character.name} takes a moment to rest, replenishing' , f'The wise {character.name} pauses to rejuvenating' , f'Short of breath, {character.name} pulls back to refresh' , f'Noticing that they have only {character.stamina} Stamina and {character.health} Health, ' f'{character.name} steps back momentarily restoring' ] message = rest_msg_list [ random . randint ( 0 , len ( rest_msg_list ) - 1 ) ] for i , ( attribute , value ) in enumerate ( info . items ( ) ) : if i == 0 : joiner = '' elif i == len ( info ) - 1 : joiner = ' and' else : joiner = ',' message += f'{joiner} {value} {attribute}' print ( message )
short_docstring: Inform the player of who rested and by how much.
short_docstring_tokens: Inform the player of who rested and by how much .
comment: """
      Inform the player of who rested and by how much.
  
      :param class character: Class of the character who rested.
      :param dict info: dictionary of info given as such:
                      {'attribute name': amount regenerated}
  
      """$SEP$# Choosing a random base sentence$SEP$# Adding the updates to it.$SEP$# Deciding how to join the sentence together.