about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/grfn/xanthous/src/Xanthous/App.hs5
-rw-r--r--users/grfn/xanthous/src/Xanthous/messages.yaml1
2 files changed, 5 insertions, 1 deletions
diff --git a/users/grfn/xanthous/src/Xanthous/App.hs b/users/grfn/xanthous/src/Xanthous/App.hs
index 8c5cffc9f8..9558c17bcd 100644
--- a/users/grfn/xanthous/src/Xanthous/App.hs
+++ b/users/grfn/xanthous/src/Xanthous/App.hs
@@ -342,7 +342,10 @@ handleCommand (StartAutoMove dir) = do
   runAutocommand $ AutoMove dir
   continue
 
-handleCommand Rest = runAutocommand AutoRest >> continue
+handleCommand Rest = do
+  say_ ["autocommands", "resting"]
+  runAutocommand AutoRest
+  continue
 
 --
 
diff --git a/users/grfn/xanthous/src/Xanthous/messages.yaml b/users/grfn/xanthous/src/Xanthous/messages.yaml
index b50dc321fd..b264257433 100644
--- a/users/grfn/xanthous/src/Xanthous/messages.yaml
+++ b/users/grfn/xanthous/src/Xanthous/messages.yaml
@@ -128,6 +128,7 @@ drop:
 
 autocommands:
   enemyInSight: There's a {{firstEntity.creatureType.name}} nearby!
+  resting: Resting...
   doneResting: Done resting
 ###