If you have a weapon equipped and fight a monster it tells you that you defeated the monster in question but then throws an error message like so
Traceback (most recent call last):
File "D:\projects\python\adventure\main.py", line 267, in
process_cmd(command)
File "D:\projects\python\adventure\main.py", line 123, in process_cmd
fight_mob(location, cmds[1], "Television")
File "D:\projects\python\adventure\main.py", line 233, in fight_mob
world.remove_mob(area, mob)
File "D:\projects\python\adventure\Locations.py", line 97, in remove_mob
self.areas[key]["mobs"].remove(mob)
ValueError: list.remove(x): x not in list
If you have a weapon equipped and fight a monster it tells you that you defeated the monster in question but then throws an error message like so
Traceback (most recent call last): File "D:\projects\python\adventure\main.py", line 267, in
process_cmd(command)
File "D:\projects\python\adventure\main.py", line 123, in process_cmd
fight_mob(location, cmds[1], "Television")
File "D:\projects\python\adventure\main.py", line 233, in fight_mob
world.remove_mob(area, mob)
File "D:\projects\python\adventure\Locations.py", line 97, in remove_mob
self.areas[key]["mobs"].remove(mob)
ValueError: list.remove(x): x not in list