summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-14 13:20:08 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-14 13:22:05 +1000
commitd39ce6d858545bf41a3b0b7e77e06807bc378ddc (patch)
tree0c24aa8774f13506920907c0060ff001986bbf38 /crawl-ref/docs
parent59caf0a6e21f6437e001c5ed07590f32b6ea86a7 (diff)
downloadcrawl-ref-d39ce6d858545bf41a3b0b7e77e06807bc378ddc.tar.gz
crawl-ref-d39ce6d858545bf41a3b0b7e77e06807bc378ddc.zip
New monster vault flags: name_descriptor, name_definite.
This changes the mechanics of naming slightly, allowing you to give a monster a name that is a descriptor and will be treated with the usual articles (your, the, a, etc) rather than as a name. See documentation.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r--crawl-ref/docs/develop/levels/syntax.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/levels/syntax.txt b/crawl-ref/docs/develop/levels/syntax.txt
index 337580013d..d06192dd99 100644
--- a/crawl-ref/docs/develop/levels/syntax.txt
+++ b/crawl-ref/docs/develop/levels/syntax.txt
@@ -612,6 +612,30 @@ MONS: (list of monsters)
Will result in "Durwent" rather than "Durwent the Kobold".
+ In combinaton with name_replace, there are two further tags that
+ can be used when renaming monsters, but not giving them an actual
+ "name": name_descriptor, and name_definite.
+
+ For example:
+ MONS: kobold name:goblin name_replace
+
+ Will result in "goblin hits you". However, adding name_descriptor
+ from the above flags will result in "The goblin hits you" and in the
+ description of the monster, "A goblin".
+ MONS: kobold name:goblin name_replace name_descriptor
+
+ The name_definite flag ensures that it is never referred to as "a" or
+ "an", but that the definite object is always used. Therefore, you will
+ see "The goblin hits you", as per above, but also "The goblin" in its
+ description. Setting name_definite will automatically set the flag
+ name_descriptor, therefore meaning that:
+ MONS: kobold name:goblin name_replace name_definite
+
+ Is exactly the smae as:
+ MONS: kobold name:goblin name_replace name_descriptor name_definite
+
+ This allows for shorter definitions.
+
Monster names should be used very sparingly.
Overriding Monster Spells: