summaryrefslogtreecommitdiffstats
path: root/nfsw
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-10-19 21:38:30 -0400
committerrsiddharth <s@ricketyspace.net>2019-10-19 21:38:30 -0400
commit7a7a38fa4ee490ae59e537f9cface21ff3a32394 (patch)
treea8a259bc4c70528616f7d08e528e60b624015e6b /nfsw
parent26b713184c3ffdaf6a2be77e5b3249e41cccaf77 (diff)
nfsw/io.py: Update query.
Add handling for "help".
Diffstat (limited to 'nfsw')
-rw-r--r--nfsw/io.py6
-rw-r--r--nfsw/junk/help/senditdown14
2 files changed, 20 insertions, 0 deletions
diff --git a/nfsw/io.py b/nfsw/io.py
index d6ff4ae..733171f 100644
--- a/nfsw/io.py
+++ b/nfsw/io.py
@@ -70,6 +70,12 @@ def query():
# Log query.
r.rpush('log', q)
+ # help.
+ if q == 'help':
+ return {
+ 'ans': read_junk('help/senditdown')
+ }
+
# Get current scene.
scene = current_scene()
if scene is None:
diff --git a/nfsw/junk/help/senditdown b/nfsw/junk/help/senditdown
new file mode 100644
index 0000000..f9f2b3a
--- /dev/null
+++ b/nfsw/junk/help/senditdown
@@ -0,0 +1,14 @@
+NFSW Help:
+
+ 1. In most scenes you'll have to answer a
+ question. Simply enter the answer to move to
+ the next stage of the game.
+
+ 2. If you would like to navigate to some place
+ simply type in "enter PLACE" or "go to PLACE".
+
+ 3. If you would like to reset the game and start
+ from the beginning, type "nfsw reset" and then
+ "yes".
+
+ 4. The whole thing is nihilistic. So, fuck it.