more bugfixing
This commit is contained in:
parent
8c816a4afb
commit
42d76bce29
1 changed files with 14 additions and 12 deletions
26
setage.py
26
setage.py
|
@ -123,18 +123,20 @@ class SetageShell(Cmd):
|
|||
print(manifest["items"][arg]["examine"])
|
||||
else:
|
||||
print("It doesn't seem to be all that interesting...")
|
||||
elif arg in cur_room["items"].keys():
|
||||
manifest["items"][arg]["hidden"] = False
|
||||
if "examine" in manifest["items"][arg]:
|
||||
print(manifest["items"][arg]["examine"])
|
||||
else:
|
||||
print("It doesn't seem to be all that interesting...")
|
||||
elif arg in cur_room["interactables"].keys():
|
||||
cur_room["interactables"][arg]["hidden"] = False
|
||||
if "examine" in cur_room["interactables"][arg]:
|
||||
print(cur_room["interactables"][arg]["examine"])
|
||||
else:
|
||||
print("It doesn't seem to be all that interesting...")
|
||||
elif "items" in cur_room:
|
||||
if arg in cur_room["items"].keys():
|
||||
manifest["items"][arg]["hidden"] = False
|
||||
if "examine" in manifest["items"][arg]:
|
||||
print(manifest["items"][arg]["examine"])
|
||||
else:
|
||||
print("It doesn't seem to be all that interesting...")
|
||||
elif "interactables" in cur_room:
|
||||
if arg in cur_room["interactables"].keys():
|
||||
cur_room["interactables"][arg]["hidden"] = False
|
||||
if "examine" in cur_room["interactables"][arg]:
|
||||
print(cur_room["interactables"][arg]["examine"])
|
||||
else:
|
||||
print("It doesn't seem to be all that interesting...")
|
||||
else:
|
||||
print("> I don't see anything like that...")
|
||||
|
||||
|
|
Loading…
Reference in a new issue