diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 20:18:40 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 20:18:40 +0000 |
commit | 7f1f52b6d4774fb6cc523ec035dbf4ac4cd4af48 (patch) | |
tree | a3dac50cafd840505cbe1a06e2aabc76a3e8b827 /crawl-ref/source/database.cc | |
parent | 1daa1c18ab74074b6d4d0bb4b3fb2c4e250516af (diff) | |
download | crawl-ref-7f1f52b6d4774fb6cc523ec035dbf4ac4cd4af48.tar.gz crawl-ref-7f1f52b6d4774fb6cc523ec035dbf4ac4cd4af48.zip |
Another of those commits on monster speech, hopefully the last one for
some time, though. I added a new prefix "related" if the player character
has the same genus as the monster. My new prefix additions (hostile,
related and religion) can now be skipped in the speech lookup, which fixes
a couple of problems where several monsters were forced silent because of
lookup problems.
Also clean up the lookup process for silence, allow charmed monsters to
sometimes speak (if rarely) and added several debugging statements that
are also mentioned in monster_speech.txt that is now clearer than ever
before (I hope).
Fixed a couple of bugs in the monster shape calculation where the old
glyphs were still being used. Also, a Draconian character eating any type
of Draconian will now count as cannibalism.
Also:
FR 1894060: Level annotations now prompt for confirmation if they contain
an exclamation mark (rather than "WARN").
Fix 1859443: Arriving on a square via staircase now calls request_autopickup
and will describe items on the square.
Oh, and fix init.txt to really allow reading in macros from external files.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3604 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r-- | crawl-ref/source/database.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc index 853d5a9a4a..fc33b797a8 100644 --- a/crawl-ref/source/database.cc +++ b/crawl-ref/source/database.cc @@ -742,6 +742,9 @@ std::string getSpeakString(const std::string &monst) int num_replacements = 0; +#ifdef DEBUG_MONSPEAK + mprf(MSGCH_DIAGNOSTICS, "monster speech lookup for %s", monst.c_str()); +#endif return getRandomizedStr(speakDB, monst, "", num_replacements); } |