diff options
| author | troido <troido@protonmail.com> | 2018-07-28 16:22:02 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2018-07-28 16:22:02 +0200 |
| commit | 538adede0ccf859643d0381e6320b7ddd7e50125 (patch) | |
| tree | dfbf649a5a1e798bfd035b7ac51185a21cfa7165 | |
| parent | 9b858df3740e9884247fa1de83b97fb36783d121 (diff) | |
made optionmenus for selected objects
| -rw-r--r-- | asciifarm/client/gameclient.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asciifarm/client/gameclient.py b/asciifarm/client/gameclient.py index 0cb7c2d..4197735 100644 --- a/asciifarm/client/gameclient.py +++ b/asciifarm/client/gameclient.py @@ -113,6 +113,12 @@ class Client: self.display.setGround(msg[1]) if msgType == "message": self.log(msg[1]) + if msgType == "options": + if msg[1] != None: + description, options = msg[1] + self.log(description) + for option in options: + self.log(option) self.display.update() |
