From 9d74ad5fb0661a0fc2ac424adcbed85761954d25 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 16 Sep 2007 16:44:48 +0000 Subject: Yet another change to monster speech and silencing... I found my previous change to block all messages passed through MSGCH_TALK when silenced was too restrictive, so I've added another channel MSGCH_TALK_VISUAL and adapted the monster speech files accordingly. For example, imps can now also "talk" when silenced, but only the visual stuff will actually be output. (This automatically takes care of lowering the output likelihood.) And no, this doesn't hurt any, as visual talk also won't interrupt travel or resting. And I added a how-to file on monster speech, which was the main reason for my silence during the last couple of hours. It's not that the database system is that complicated but it surely can't hurt to give players who want to add something an idea of what is possible and how to go about it. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2108 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mpr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/mpr.h') diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h index 34094e3a14..02772989e0 100644 --- a/crawl-ref/source/mpr.h +++ b/crawl-ref/source/mpr.h @@ -31,6 +31,7 @@ enum msg_channel_type MSGCH_RECOVERY, // recovery from disease/stat/poison condition MSGCH_SOUND, // messages about things the player hears MSGCH_TALK, // monster talk (param is monster type) + MSGCH_TALK_VISUAL, // silent monster "talk" (not restricted by silence) MSGCH_INTRINSIC_GAIN, // player level/stat/species-power gains MSGCH_MUTATION, // player gain/lose mutations MSGCH_MONSTER_SPELL, // monsters casting spells -- cgit v1.2.3-54-g00ecf