#NEWLINE# def tell_room( self , message , exclude_list = [ ] , teller = None ) : #NEWLINE# #INDENT# 'Echo something to everyone in the room, except the people on the exclude list.' #NEWLINE# for person in self . players . values ( ) : #NEWLINE# #INDENT# if ( ( person . name not in exclude_list ) and ( person . position [ 0 ] != 'sleeping' ) ) : #NEWLINE# #INDENT# person . update_output ( message ) #NEWLINE# #UNINDENT# #UNINDENT# self . fire_event ( 'hears' , { #NEWLINE# #INDENT# 'string' : message , #NEWLINE# 'teller' : self , #NEWLINE# #UNINDENT# } )