even more bugfixing

This commit is contained in:
Cheri Dawn 2024-05-23 13:25:02 +03:00
parent 7a8f525d1b
commit 48abadce1d

View file

@ -11,7 +11,7 @@ from base64 import b64decode
__author__ = "Cheri Dawn"
__copyright__ = "Copyright 2024, Cheri Dawn"
__license__ = "GPL-3.0-only"
__version__ = "0.4.0.2"
__version__ = "0.4.0.3"
__maintainer__ = "Cheri Dawn"
__status__ = "Prototype"
@ -43,7 +43,9 @@ def print_items(cur_room):
return
items = cur_room["items"]
for k, v in items.items():
if not manifest["items"][k]["hidden"]:
if k not in manifest["items"]:
print(f"You notice {v} [{k}].")
elif not manifest["items"][k]["hidden"]:
print(f"You notice {v} [{k}].")