summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs/develop
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-15 16:00:24 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 16:00:24 +1000
commit5bba7e89fd395a2cde9cbf596208785508e22331 (patch)
treea27cb5ca7f89fefe7ce2ac41d3f9b00c25b3cb8d /crawl-ref/docs/develop
parent098c6bcea1a8eb775124fd705e8ceab8df45b051 (diff)
downloadcrawl-ref-5bba7e89fd395a2cde9cbf596208785508e22331.tar.gz
crawl-ref-5bba7e89fd395a2cde9cbf596208785508e22331.zip
Allow MonPropsMarker to set monster descriptions and quotes.
Diffstat (limited to 'crawl-ref/docs/develop')
-rw-r--r--crawl-ref/docs/develop/levels/advanced.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/levels/advanced.txt b/crawl-ref/docs/develop/levels/advanced.txt
index a9d986daf6..816497e4b9 100644
--- a/crawl-ref/docs/develop/levels/advanced.txt
+++ b/crawl-ref/docs/develop/levels/advanced.txt
@@ -742,6 +742,20 @@ dungeon cell which they are on:
* veto_shatter: If this property is set to "veto" then the cell will
be unaffected by the Shatter spell.
+Special monster-related Lua marker properties
+---------------------------------------------
+
+Using the MonPropsMarker allows you to permanantly alter or mark a monster that
+the marker is placed upon. The options currently available are:
+
+* description: If this property is set, the monster's full description (accessed
+ via the 'xv' command) will be set to whatever string you pass it.
+
+* quote: Setting this property to a string will set the monster's quote.
+
+* monster_dies_lua_key: If this property is set to a function, that function
+ will be executed upon the monster's death.
+
Lua API reference
-----------------
a. The Map.