summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-15 23:01:19 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-15 23:01:19 +1000
commitb9f88899502485762e54dec0509556ce744dbdf7 (patch)
treeb7fc86d3338dfcfed3839afa79d91efd69f67ca4 /crawl-ref/docs
parent5c67cc66179fd81781e0789a52ece870f8cc00ac (diff)
downloadcrawl-ref-b9f88899502485762e54dec0509556ce744dbdf7.tar.gz
crawl-ref-b9f88899502485762e54dec0509556ce744dbdf7.zip
Update documentation of MonPropsMarker to include example usage.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r--crawl-ref/docs/develop/levels/advanced.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/levels/advanced.txt b/crawl-ref/docs/develop/levels/advanced.txt
index 816497e4b9..56427ee3a1 100644
--- a/crawl-ref/docs/develop/levels/advanced.txt
+++ b/crawl-ref/docs/develop/levels/advanced.txt
@@ -756,6 +756,11 @@ 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.
+An example of MonPropsMarker to replace the description and quote of a monster:
+
+ MARKER: 8 = lua:MonPropsMarker:new {description="What a horrible sight!\n", \
+ quote='"They were filled with fear!'\n"}
+
Lua API reference
-----------------
a. The Map.