Test merchants

This commit is contained in:
Yohann D'ANELLO
2020-12-09 15:32:37 +01:00
parent 657f4e5209
commit 19b82ff71a
7 changed files with 80 additions and 14 deletions

View File

@ -66,7 +66,6 @@ class Game:
We wait for the player's action, then we do what that should be done
when the given key gets pressed.
"""
self.screen = screen
while True: # pragma no cover
screen.erase()
screen.refresh()
@ -122,7 +121,7 @@ class Game:
self.state = GameMode.INVENTORY
elif key == KeyValues.SPACE:
self.state = GameMode.MAINMENU
elif key == KeyValues.T:
elif key == KeyValues.CHAT:
# Wait for the direction of the friendly entity
self.waiting_for_friendly_key = True