about summary refs log tree commit diff
path: root/src/Xanthous/messages.yaml
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-11-29T20·43-0500
committerGriffin Smith <root@gws.fyi>2019-11-30T02·25-0500
commit0abcd8c9581f0017cb2bd59a09e93800ea8f3b1f (patch)
tree0dab0269ec6c08df6eef8f124aca2f8076c9e040 /src/Xanthous/messages.yaml
parentf37d0f75c0b4a77c8e35192c24c6fdb6f2bc4619 (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.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml
index 69664f8a79..71f08f2631 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? "