diff options
author | Griffin Smith <root@gws.fyi> | 2020-01-25T16·38-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2020-01-25T16·38-0500 |
commit | 308c7eb4f6cd1e7bb333e438bb4e6c904d9c20ee (patch) | |
tree | 299e5788dd029ae9258b1af9101ba42c0e77cdc6 /src/Xanthous/messages.yaml | |
parent | 9256c976edec462af26f33317df6171045e68aa5 (diff) |
Add a close command
Add a close command, to close doors, that works basically the same as the open command.
Diffstat (limited to 'src/Xanthous/messages.yaml')
-rw-r--r-- | src/Xanthous/messages.yaml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml index 23cc102f5ef5..4efcc8dbc324 100644 --- a/src/Xanthous/messages.yaml +++ b/src/Xanthous/messages.yaml @@ -35,7 +35,16 @@ open: prompt: Direction to open (hjklybnu.)? success: "You open the door." locked: "That door is locked" - nothingToOpen: "There's nothing to open there" + nothingToOpen: "There's nothing to open there." + alreadyOpen: "That door is already open." + +close: + prompt: Direction to close (hjklybnu.)? + success: + - You close the door. + - You shut the door. + nothingToClose: "There's nothing to close there." + alreadyClosed: "That door is already closed." look: prompt: Select a position on the map to describe (use Enter to confirm) |