about summary refs log tree commit diff
path: root/src/Xanthous/messages.yaml
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-09-20T16·03-0400
committerGriffin Smith <root@gws.fyi>2019-09-20T16·03-0400
commit7770ed05484a8a7aae4d5d680a069a0886a145dd (patch)
treefe4597baed79fee7720d05cab0948d3711d207fd /src/Xanthous/messages.yaml
parent62a2e05ef222dd69263b819a400a83f8910816f9 (diff)
Add the beginnings of a prompt system
Add the beginnings of a generic prompt system, with exclusive support
atm for string prompts, and test it out by asking the character for
their name at startup
Diffstat (limited to 'src/Xanthous/messages.yaml')
-rw-r--r--src/Xanthous/messages.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Xanthous/messages.yaml b/src/Xanthous/messages.yaml
index 5bb11ab05945..0f0a0149f6d0 100644
--- a/src/Xanthous/messages.yaml
+++ b/src/Xanthous/messages.yaml
@@ -1,4 +1,6 @@
-welcome: Welcome to Xanthous! It's dangerous out there, why not stay inside?
+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
+character:
+  namePrompt: "What's your name? "