summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-12 09:46:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-12 09:46:37 +0000
commitb6c4a30cf236f04ab1b113d35d4a496b9325d61a (patch)
treee0d486722da7197f58c2b61d49e913645b848e76 /crawl-ref/source/directn.cc
parentc0f5bc091066fdae1dea5f3091f813609e968fc1 (diff)
downloadcrawl-ref-b6c4a30cf236f04ab1b113d35d4a496b9325d61a.tar.gz
crawl-ref-b6c4a30cf236f04ab1b113d35d4a496b9325d61a.zip
In the ASCII version, colour silenced grids CYAN and grids both silenced
and within TSO's halo LIGHTCYAN. Also display a line "This square is shrouded in silence" wherever applicable. We might also need to display silence with tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10521 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index a640200b54..242befcd6e 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -3434,7 +3434,12 @@ static void _describe_cell(const coord_def& where, bool in_range)
#endif
if (is_sanctuary(where))
- mpr("This square lies inside a sanctuary.");
+ {
+ mprf("This square lies inside a sanctuary%s.",
+ silenced(where) ? ", and is shrouded in silence" : "");
+ }
+ else if (silenced(where))
+ mpr("This square is shrouded in silence.");
if (env.cgrid(where) != EMPTY_CLOUD)
{