diff options
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index c42e4cd503..2765c45562 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -386,6 +386,8 @@ public: // Returns index in mitm array. Results are undefined if this item is // not in the array! int index() const; + + int armour_rating() const; bool launched_by(const item_def &launcher) const; @@ -1053,6 +1055,7 @@ public: bool pickup_melee_weapon(item_def &item, int near); bool pickup_throwable_weapon(item_def &item, int near); bool pickup_weapon(item_def &item, int near, bool force); + bool pickup_armour(item_def &item, int near, bool force); bool pickup_misc(item_def &item, int near); bool pickup_missile(item_def &item, int near, bool force); bool eat_corpse(item_def &carrion, int near); @@ -1155,6 +1158,7 @@ private: bool drop_item(int eslot, int near); bool wants_weapon(const item_def &item) const; + bool wants_armour(const item_def &item) const; bool can_throw_rocks() const; void lose_pickup_energy(); bool check_set_valid_home(const coord_def &place, |