diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-23 10:12:03 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-23 10:12:03 +1000 |
commit | 7b22a3c233602f96171f5fc0555102c8608d4d8e (patch) | |
tree | 641eb5682566462cdf9bf465129bde1b97af80bf /crawl-ref/source/fprop.h | |
parent | 2fc79a6d0d709878025fa1f06cf2a5344098f333 (diff) | |
download | crawl-ref-7b22a3c233602f96171f5fc0555102c8608d4d8e.tar.gz crawl-ref-7b22a3c233602f96171f5fc0555102c8608d4d8e.zip |
Counterpart fprop for NO_RTELE_INTO: NO_CTELE_INTO.
NO_CTELE_INTO causes grid-cells marked as such to reject controlled
teleport into them, with the message: "A strong magical force throws you
back!".
NO_TELE_INTO combines both of these flags (NO_RTELE_INTO and
NO_CTELE_INTO) to prevent both controlled and random teleports into a
specific cell.
Also document both of these.
Diffstat (limited to 'crawl-ref/source/fprop.h')
-rw-r--r-- | crawl-ref/source/fprop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/fprop.h b/crawl-ref/source/fprop.h index cd8abcf51e..e6fe37e9a9 100644 --- a/crawl-ref/source/fprop.h +++ b/crawl-ref/source/fprop.h @@ -17,7 +17,9 @@ enum feature_property_type // NOTE: Bloody floor and sanctuary are exclusive. FPROP_FORCE_EXCLUDE = (1 << 6), FPROP_NO_CLOUD_GEN = (1 << 7), - FPROP_NO_RTELE_INTO = (1 << 8) + FPROP_NO_RTELE_INTO = (1 << 8), + FPROP_NO_CTELE_INTO = (1 << 9), + FPROP_NO_TELE_INTO = FPROP_NO_RTELE_INTO | FPROP_NO_CTELE_INTO }; #endif |