diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-25 00:23:09 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-10-25 00:23:09 -0700 |
commit | a0ae32c8f8a04398b4b99880069eb31a26b43eff (patch) | |
tree | e619d8de305de18bb7c9fc1ead65ee33a1377f33 /crawl-ref/docs | |
parent | 83d7fbfa11973abf823ed07f4c7b39956fc6aa4a (diff) | |
download | crawl-ref-a0ae32c8f8a04398b4b99880069eb31a26b43eff.tar.gz crawl-ref-a0ae32c8f8a04398b4b99880069eb31a26b43eff.zip |
Let markers change the description of any feature
Allow markers to change the short and/or long description of any
feature, not just portal vault entrances. The feature_description() and
feature_description_long() functions have been removed from the mapmark
classes and turned into ordinary properties. Also added the marker
property "door_description_suffix", which can be used to alter the short
description of (known) doors by appending a string to them.
Diffstat (limited to 'crawl-ref/docs')
-rw-r--r-- | crawl-ref/docs/develop/level_design.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/docs/develop/level_design.txt b/crawl-ref/docs/develop/level_design.txt index 56e06d1715..be92973ab8 100644 --- a/crawl-ref/docs/develop/level_design.txt +++ b/crawl-ref/docs/develop/level_design.txt @@ -1856,6 +1856,18 @@ dungeon cell which they are on: forcing them to open and close as separate doors. See the Evil Zoo (minivault_9) in dat/mini.des for an example. +* door_description_suffix: A string to append to the description of + any door the marker is on. This should be used for doors + rather than the feature_description property since it elemintates + the need to track if the door is opened or closed, plus it will + have no effect on secret doors which have yet to be detected. + +* feature_description: What to use as the short description of the + cell's feature. + +* feature_description_long: What to use as the long description of the + cell's feature. + * veto_disintegrate: If this property is set to "veto" then the cell will be immune to disintegration. |