summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_feat.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-30 22:58:24 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-31 00:09:03 +0200
commit57aec7d2a0ae1095fb1babd8f0fcc276927bf8e5 (patch)
tree49101ac1f89ecfc1dfd662ff9dd1af5d2e96f003 /crawl-ref/source/l_feat.cc
parent4a749203263be27ef869e3921ea9628be4b04cfc (diff)
downloadcrawl-ref-57aec7d2a0ae1095fb1babd8f0fcc276927bf8e5.tar.gz
crawl-ref-57aec7d2a0ae1095fb1babd8f0fcc276927bf8e5.zip
Runed doors.
They're meant to stop autoexplore, and maybe request a confirmation for being opened. This is not yet implemented, but we can use them for converting secret doors that were used for marking a place as interesting.
Diffstat (limited to 'crawl-ref/source/l_feat.cc')
-rw-r--r--crawl-ref/source/l_feat.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/l_feat.cc b/crawl-ref/source/l_feat.cc
index feccefd731..d73d358f8b 100644
--- a/crawl-ref/source/l_feat.cc
+++ b/crawl-ref/source/l_feat.cc
@@ -36,6 +36,7 @@ FEATF(_feat_is_solid, feat_is_solid)
FEATF(_feat_has_solid_floor, feat_has_solid_floor)
FEATF(_feat_is_opaque, feat_is_opaque)
FEATF(_feat_is_door, feat_is_door)
+FEATF(_feat_is_closed_door, feat_is_closed_door)
FEATF(_feat_is_statue_or_idol, feat_is_statue_or_idol)
FEATF(_feat_is_rock, feat_is_rock)
FEATF(_feat_is_permarock, feat_is_permarock)
@@ -61,6 +62,7 @@ const struct luaL_reg feat_dlib[] =
{ "has_solid_floor", _feat_has_solid_floor },
{ "is_opaque", _feat_is_opaque },
{ "is_door", _feat_is_door },
+{ "is_closed_door", _feat_is_closed_door },
{ "is_statue_or_idol", _feat_is_statue_or_idol },
{ "is_rock", _feat_is_rock },
{ "is_permarock", _feat_is_permarock },