diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-11 22:22:08 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-11 22:22:08 +1000 |
commit | 85b70c927bf2e95c88530500d01a6ba5f1a9acb7 (patch) | |
tree | 6fc471f28b0beaf1723f6388f4605456fa7e1a18 /crawl-ref/source/monspeak.h | |
parent | e4d5c6039f79b6952919882a74482695bffba6f9 (diff) | |
download | crawl-ref-85b70c927bf2e95c88530500d01a6ba5f1a9acb7.tar.gz crawl-ref-85b70c927bf2e95c88530500d01a6ba5f1a9acb7.zip |
Move monster speech calculations to monspeak.cc. Make Yiuf chattier.
Crazy Yiuf now speaks with more regularity than normal; this is a
special case, and could probably be converted to a flag (M_CHATTY) or
something similar for other uniques.
The monster-speaking chance code seems to make more sense being in
monspeak.cc, so moved it there under maybe_mons_speaks.
Diffstat (limited to 'crawl-ref/source/monspeak.h')
-rw-r--r-- | crawl-ref/source/monspeak.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/monspeak.h b/crawl-ref/source/monspeak.h index 674aaa1257..9191cebce2 100644 --- a/crawl-ref/source/monspeak.h +++ b/crawl-ref/source/monspeak.h @@ -8,6 +8,7 @@ #include "externs.h" +void maybe_mons_speaks(monsters *monster); bool mons_speaks(monsters *monster); bool mons_speaks_msg(monsters *monster, const std::string &msg, const msg_channel_type def_chan = MSGCH_TALK, |