summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-10 17:58:53 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-10 18:20:18 +1000
commitc06a6dcbe24d55c008a4179fc28892ad67ab073e (patch)
tree5e4fa6b3bfd5b788513613f9f4b199702663325b /crawl-ref/docs
parent2c6f84f7b21882feeded0a197803acd612afe659 (diff)
downloadcrawl-ref-c06a6dcbe24d55c008a4179fc28892ad67ab073e.tar.gz
crawl-ref-c06a6dcbe24d55c008a4179fc28892ad67ab073e.zip
Overriding monster tiles in vault definitions.
It is now possible to specify a tile for monsters when specifying monsters in vault definitions. The syntax is "tile:<tile name>". All tiles that don't start with "mons_" will have this prefixed, therefore "tile:giant_bat" will become "tile:mons_giant_bat", but "tile:mons_rat" will remain unchanged.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r--crawl-ref/docs/develop/levels/syntax.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/levels/syntax.txt b/crawl-ref/docs/develop/levels/syntax.txt
index 1598f04719..642e7f5564 100644
--- a/crawl-ref/docs/develop/levels/syntax.txt
+++ b/crawl-ref/docs/develop/levels/syntax.txt
@@ -557,6 +557,16 @@ MONS: (list of monsters)
The colour "any" can be given, in which case a random colour
will be chosen when the monster is placed.
+ You can override the displayed monster tile using the "tile:"
+ specifier as follows:
+ MONS: rat tile:giant_bat
+
+ In tiles version, this would create a monster that uses the
+ 'giant_bat' tile, but is otherwise identical to a rat. Obviously, this
+ substition of one monster onto another should never be used, but it
+ can be useful for customised vault monsters if an alternate tile
+ exists. In ASCII mode, this will do nothing.
+
Note that 8, 9, 0 also place monsters (see the table).
If you want to place a random monster suitable for the level