Cronenbrogues/cronenbroguelike

moar unhandled exceptions

Closed this issue · 0 comments

Yͥou die.

...

You recall your death by the fins of a fish man. The memory fades away.

You know only that you have been here for interminable years, that you have died innumerable times, and that someone once told you there was a way out. You were told this an eon ago, or maybe
a day, but the stubborn hope of escape glisters in your mind.

A desk is strewn with sheaves of paper. Little of sense is written there.

Exits are north, by climbing a yawning sphincter.

> go north

You proceed north.

A gloomy expanse filled with furniture. You feel you are perhaps outdoors, though you see no sky or stars.

There is a fish man slobbering in the corner.

Exits are south, east, west.

> attack fish man

You hit fish man for 2 damage!

> attack fish man

You miss.

> attack fish man

You miss.

> attack fish man

You miss.

> attack fish man

You miss.

> talk fishman
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/workspace/cronenbroguelike/cronenbroguelike/__main__.py", line 24, in <module>
    game.main()
  File "/home/user/workspace/cronenbroguelike/cronenbroguelike/game.py", line 112, in main
    adventurelib.start()
  File "/home/user/workspace/cronenbroguelike/venv/lib/python3.8/site-packages/adventurelib.py", line 627, in start
    _handle_command(cmd)
  File "/home/user/workspace/cronenbroguelike/venv/lib/python3.8/site-packages/adventurelib.py", line 600, in _handle_command
    func(**args)
  File "<string>", line 4, in wrapped
  File "/home/user/workspace/cronenbroguelike/cronenbroguelike/commands.py", line 269, in talk
    if G.player.insanity > 30:
TypeError: '>' not supported between instances of 'Insanity' and 'int'