Added a Gamemode for selling interfaces, as well as the base of the player/merchant interaction, related to issue #18
This commit is contained in:
@ -130,7 +130,8 @@ class Game:
|
||||
if entity.is_friendly() and entity.x == xp and entity.y == yp :
|
||||
msg = entity.talk_to(self.player)
|
||||
self.logs.add_message(msg)
|
||||
|
||||
if entity.is_merchant() :
|
||||
self.state = GameMode.STORE
|
||||
|
||||
|
||||
def handle_key_pressed_main_menu(self, key: KeyValues) -> None:
|
||||
|
Reference in New Issue
Block a user