irmen / Tale

Interactive fiction (text adventure) and Mud framework
http://tale.readthedocs.io/
GNU Lesser General Public License v3.0
145 stars 35 forks source link

possible crash when default_verb not set #24

Closed irmen closed 9 years ago

irmen commented 9 years ago
x door

  It seems you can go there: There's a heavy door here that leads to the
  garden outside the house.  It is closed and unlocked.

>> it

  (By 'it', it is assumed you mean 'garden'.)
  * internal error:
  Traceback (most recent call last):
    File "d:\PROJECTS\Tale\tale\driver.py", line 596, in __main_loop_singleplayer
      self.__server_loop_process_player_input(conn)
    File "d:\PROJECTS\Tale\tale\driver.py", line 639, in __server_loop_process_player_input
      self.__process_player_command(cmd, conn)
    File "d:\PROJECTS\Tale\tale\driver.py", line 803, in __process_player_command
      parsed = player.parse(cmd, external_verbs=all_verbs)
    File "d:\PROJECTS\Tale\tale\base.py", line 917, in parse
      parsed = self.soul.parse(self, commandline, external_verbs)
    File "d:\PROJECTS\Tale\tale\soul.py", line 1030, in parse
      verb = who_order[0].default_verb
  AttributeError: 'Door' object has no attribute 'default_verb'