From 4db3a68efec079bdb8723f377929bfa05860bdc2 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Fri, 20 Sep 2019 13:14:55 -0400 Subject: Add doors and an open command Add a Door entity and an Open command, which necessitated supporting the direction prompt. Currently nothing actually puts doors on the map, which puts a slight damper on actually testing this out. --- src/Xanthous/messages.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/Xanthous/messages.yaml') diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml index 0f0a0149f6..ef4f09543d 100644 --- a/src/Xanthous/messages.yaml +++ b/src/Xanthous/messages.yaml @@ -1,6 +1,14 @@ welcome: Welcome to Xanthous, {{characterName}}! It's dangerous out there, why not stay inside? + items: pickUp: You pick up the {{item.itemType.name}} - nothingToPickUp: There's nothing here to pick up + nothingToPickUp: "There's nothing here to pick up" + +open: + prompt: Direction to open (hjklybnu.)? + success: "You open the door." + locked: "That door is locked" + nothingToOpen: "There's nothing to open there" + character: namePrompt: "What's your name? " -- cgit 1.4.1