#NEWLINE# def cant_sell( self , keys , current_time ) : #NEWLINE# #INDENT# 'Do not allow player to sell anything' #NEWLINE# dialogue = [ "You don't have anything to sell!" ] #NEWLINE# self . dialogue_box = self . make_dialogue_box ( dialogue , 0 ) #NEWLINE# if ( keys [ pg . K_SPACE ] and self . allow_input ) : #NEWLINE# #INDENT# self . state = 'buysell' #NEWLINE# self . allow_input = False #NEWLINE# self . notify ( c . CLICK2 ) #NEWLINE# #UNINDENT# if ( not keys [ pg . K_SPACE ] ) : #NEWLINE# #INDENT# self . allow_input = True