Server: attempt to make nothing found message clearer ()

This commit is contained in:
Fabian Dill 2022-12-05 02:06:13 +01:00 committed by GitHub
parent 63f012cce7
commit 6b57275859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1462,7 +1462,12 @@ class ClientMessageProcessor(CommonCommandProcessor):
else:
if points_available >= cost:
self.output("Nothing found. Item/Location may not exist.")
if for_location:
self.output(f"Nothing found for recognized location name \"{hint_name}\". "
f"Location appears to not exist in this multiworld.")
else:
self.output(f"Nothing found for recognized item name \"{hint_name}\". "
f"Item appears to not exist in this multiworld.")
else:
self.output(f"You can't afford the hint. "
f"You have {points_available} points and need at least "