diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-27 22:42:56 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-27 22:42:56 +1000 |
commit | 1f6a372b1d013ce9068bee8c175fb7c11c28de5e (patch) | |
tree | ee6a40cf4424d15041ab54fab6d1b5bc78c648fc | |
parent | 61355ed8d15da8e07e762c38f84698b4d77b605a (diff) | |
download | crawl-ref-1f6a372b1d013ce9068bee8c175fb7c11c28de5e.tar.gz crawl-ref-1f6a372b1d013ce9068bee8c175fb7c11c28de5e.zip |
Documentation on the various speech_XXX props.
-rw-r--r-- | crawl-ref/docs/develop/levels/advanced.txt | 8 |
1 files changed, 8 insertions, 0 deletions
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", \ |