diff options
author | Griffin Smith <root@gws.fyi> | 2019-11-29T20·43-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-11-30T02·25-0500 |
commit | 0abcd8c9581f0017cb2bd59a09e93800ea8f3b1f (patch) | |
tree | 0dab0269ec6c08df6eef8f124aca2f8076c9e040 /src/Xanthous/messages.yaml | |
parent | f37d0f75c0b4a77c8e35192c24c6fdb6f2bc4619 (diff) |
Implement a "look" command
Implement the PointOnMap prompt type, which allows the player to move the cursor around and select a position on the map, and use this prompt type to implement a "look" command, describing all entities at the selected position.
Diffstat (limited to 'src/Xanthous/messages.yaml')
-rw-r--r-- | src/Xanthous/messages.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml index 69664f8a7940..71f08f263185 100644 --- a/src/Xanthous/messages.yaml +++ b/src/Xanthous/messages.yaml @@ -22,6 +22,10 @@ open: locked: "That door is locked" nothingToOpen: "There's nothing to open there" +look: + prompt: Select a position on the map to describe (use Enter to confirm) + nothing: There's nothing there + character: namePrompt: "What's your name? " |