summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-13 07:40:43 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-13 07:40:43 +0000
commit5754ed018e6b1611d7e4fc85a6b85836301966b2 (patch)
treec77f2ec09363f3563db83b5efff2c9e3bcf0a0ae
parent6ba9d6040bb157abd71e13505cf6f0f20fb961e8 (diff)
downloadcrawl-ref-5754ed018e6b1611d7e4fc85a6b85836301966b2.tar.gz
crawl-ref-5754ed018e6b1611d7e4fc85a6b85836301966b2.zip
Add an explanatory message for bazaars/labyrinths.
Problems: * I don't know if there's any way to break the mpr statement in lua onto different lines. * Even though it's a single mpr, you cannot recolour (or mute) the message as a whole, only the submessages once it's broken. * In trunk, I can't create bazaar and labyrinth entries (with ^L) because while the marker is placed, the minivault isn't. No idea, why. Anyway, that'd make testing this a matter of chance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6816 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/dat/clua/lm_tmsg.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/clua/lm_tmsg.lua b/crawl-ref/source/dat/clua/lm_tmsg.lua
index 55d934281a..1939e39bc1 100644
--- a/crawl-ref/source/dat/clua/lm_tmsg.lua
+++ b/crawl-ref/source/dat/clua/lm_tmsg.lua
@@ -49,6 +49,12 @@ function TimedMessaging:init(tmarker, cm, verbose)
if verbose and #self.initmsg > 0 and you.hear_pos(cm:pos()) then
crawl.mpr(self.initmsg, "sound")
+ if lab then
+ crawl.mpr("Behold! There is an entrance to a minotaur's labyrinth on this level. Find the entrance quickly before it seals the gate!",
+ "sound")
+ else
+ crawl.mpr("An interdimensional caravan has stopped on this level and set up a bazaar. Hurry and find its entrance before they move on!", "sound")
+ end
end
end