diff options
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r-- | crawl-ref/source/items.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h index 8dfcff9a20..1e0d548405 100644 --- a/crawl-ref/source/items.h +++ b/crawl-ref/source/items.h @@ -77,7 +77,8 @@ int get_item_slot( int reserve = 50 ); * *********************************************************************** */ void unlink_item(int dest); void destroy_item(int dest, bool never_created = false); -void destroy_item_stack( int x, int y ); +void destroy_item_stack( int x, int y, int cause = -1 ); +void lose_item_stack( int x, int y ); // last updated: 08jun2000 {dlb} /* *********************************************************************** @@ -164,9 +165,15 @@ void autopickup(); int find_free_slot(const item_def &i); bool is_rune(const item_def &item); +bool is_unique_rune(const item_def &item); bool need_to_autoinscribe(); void request_autoinscribe(bool do_inscribe = true); void autoinscribe(); +bool item_is_equipped(const item_def &item); + +void item_was_lost(const item_def &item); +void item_was_destroyed(const item_def &item, int cause = -1); + #endif |