diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-10-30T15·55-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-10-30T17·16+0000 |
commit | 352c75630d8aecd2f5329af677281b7f018eebe3 (patch) | |
tree | ffaf65d2a9cbddb4c4e409ba0c55fff0a9bc26a6 /users/grfn/xanthous/src | |
parent | aec85fd6b5106b5f88b148b2e740518b74449cf1 (diff) |
feat(gs/xanthous): Send message when resting r/2993
Change-Id: Ib1e7ae6dfcbc2d2e86a28b401e67cd5dd22d6281 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3763 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/xanthous/src')
-rw-r--r-- | users/grfn/xanthous/src/Xanthous/App.hs | 5 | ||||
-rw-r--r-- | users/grfn/xanthous/src/Xanthous/messages.yaml | 1 |
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 8c5cffc9f859..9558c17bcd6c 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 b50dc321fd28..b26425743319 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 ### |