def check_command(self):
        if self.last_user_input == "cat Eleanor":
            self.eleanor_speaks()
            record_user_interaction(self, "cat_eleanor")

        else:
            return TerminalNano.check_command(self)
Exemple #2
0
 def check_command(self):
     if self.last_user_input == "cat bernards-hat":
         self.send_text(
             _("\nIs that Bernard\'s hat? " +\
             "Strange he left it behind...")
         )
     else:
         return TerminalNano.check_command(self)
 def check_command(self):
     if self.last_user_input == "cat bernards-hat":
         self.send_text(
             "\nIs that Bernard\'s hat? "
             "Strange he left it behind..."
         )
     else:
         return TerminalNano.check_command(self)
 def check_command(self):
     if self.last_user_input == "cat cappello-di-bernardo":
         self.send_text(
             "\nO non è il cappello di Bernardo questo? "
             "Strano che l'abbia lasciato qui..."
         )
     else:
         return TerminalNano.check_command(self)