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

@ -43,7 +43,7 @@ class KeyValues(Enum):
EQUIP = auto()
DROP = auto()
SPACE = auto()
T = auto()
CHAT = auto()
@staticmethod
def translate_key(key: str, settings: Settings) -> Optional["KeyValues"]:
@ -74,6 +74,6 @@ class KeyValues(Enum):
return KeyValues.DROP
elif key == ' ':
return KeyValues.SPACE
elif key == 't':
return KeyValues.T
elif key == settings.KEY_CHAT:
return KeyValues.CHAT
return None