From 1f6a372b1d013ce9068bee8c175fb7c11c28de5e Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Fri, 27 Nov 2009 22:42:56 +1000 Subject: Documentation on the various speech_XXX props. --- crawl-ref/docs/develop/levels/advanced.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/docs/develop') diff --git a/crawl-ref/docs/develop/levels/advanced.txt b/crawl-ref/docs/develop/levels/advanced.txt index 56427ee3a1..a477d446e5 100644 --- a/crawl-ref/docs/develop/levels/advanced.txt +++ b/crawl-ref/docs/develop/levels/advanced.txt @@ -756,6 +756,14 @@ the marker is placed upon. The options currently available are: * monster_dies_lua_key: If this property is set to a function, that function will be executed upon the monster's death. +* speech_key: This will override the initial key searched for in the speech + database. Setting this to "Edmund", for example, will give the relevant + monster Edmund's speech. + +* speech_prefix: This allows a single prefix to be added to the prefixes list. + These prefixes can be used to adjust monster speech dependant on + circumstances. + An example of MonPropsMarker to replace the description and quote of a monster: MARKER: 8 = lua:MonPropsMarker:new {description="What a horrible sight!\n", \ -- cgit v1.2.3-54-g00ecf