diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-09-02 13:12:59 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-09-05 23:20:16 +0200 |
commit | 24a352c91eed6991927e31a292f9fbbeba3117f1 (patch) | |
tree | e3d9fb3cd1563fadfe38ecb460267a6565aed449 /crawl-ref/source/items.h | |
parent | f5fb98b1b463c537788ae796ec9c0ba7fd93d703 (diff) | |
download | crawl-ref-24a352c91eed6991927e31a292f9fbbeba3117f1.tar.gz crawl-ref-24a352c91eed6991927e31a292f9fbbeba3117f1.zip |
Item mimics use the new generation algorithm too.
Also remove the teleport and change behaviour. Speed is reduced to 8 so they
are still easy to escape.
They start being generated at dungeon level 7. Any item has 1 chance in 500 of
being a mimic.
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r-- | crawl-ref/source/items.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h index 97f9c6893b..712d147046 100644 --- a/crawl-ref/source/items.h +++ b/crawl-ref/source/items.h @@ -149,6 +149,7 @@ bool get_item_by_name(item_def *item, char* specs, bool create_for_real = false); void move_items(const coord_def r, const coord_def p); +monster_type get_item_mimic_type(const item_def &item); // Returns the Orb's position on the ground, or origin() coord_def orb_position(); |