diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-04 23:38:05 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-04 23:38:05 +0000 |
commit | 380661f014abdc14c12dc5a9bf10a73be822821c (patch) | |
tree | 185540123dbbf5993db75e947b1153b7084cb8b7 /crawl-ref/source/enum.h | |
parent | 24c7f48b5401889a28462a809303545a7f4933df (diff) | |
download | crawl-ref-380661f014abdc14c12dc5a9bf10a73be822821c.tar.gz crawl-ref-380661f014abdc14c12dc5a9bf10a73be822821c.zip |
Added trapdoor spider (not yet randomly generated). If a trapdoor
spider can't see any enemies and is on a floor square it will "submurge"
into the floor and only come out if an enemy moves right next to it or if
something attacks it from a distance. Most of this is done with the new
monster behavour BEH_LURK.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5477 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index a267d894af..1a906c9303 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -1794,7 +1794,7 @@ enum monster_type // (int) menv[].type MONS_BALL_LIGHTNING, // replacing the dorgi -- bwr 380 MONS_ORB_OF_FIRE, // Swords renamed to fit -- bwr MONS_QUOKKA, // Quokka are a type of wallaby, returned -- bwr 382 - // 383 + MONS_TRAPDOOR_SPIDER, // 384 MONS_EYE_OF_DEVASTATION = 385, // 385 MONS_MOTH_OF_WRATH, @@ -1867,6 +1867,8 @@ enum beh_type BEH_CORNERED, BEH_PANIC, // like flee but without running away BEH_INVESTIGATE, // investigating an ME_DISTURB + BEH_LURK, // stay still until discovered or + // enemy closeby NUM_BEHAVIOURS, // max # of legal states BEH_CHARMED, // hostile-but-charmed; create only BEH_FRIENDLY, // used during creation only |