diff options
author | Pekka Lampila <pekka.lampila@iki.fi> | 2014-01-27 07:51:44 +0200 |
---|---|---|
committer | Pekka Lampila <pekka.lampila@iki.fi> | 2014-01-27 08:02:15 +0200 |
commit | 4968c949967f0a8cbe67adadf62ad346a93d0845 (patch) | |
tree | a62f44ec4fbe24a4c7eae863137976151911d8d7 /crawl-ref/source/itemname.h | |
parent | a16377748fa15ec9d0da5e2fdb5f51e6a1cfc68e (diff) | |
download | crawl-ref-4968c949967f0a8cbe67adadf62ad346a93d0845.tar.gz crawl-ref-4968c949967f0a8cbe67adadf62ad346a93d0845.zip |
Give a message when inventory item is identified in certain ways
Those ways being figuring out the last targeted scroll or what a potion
tried by a monster must be.
Also a minor clean up for set_ident_type code.
Diffstat (limited to 'crawl-ref/source/itemname.h')
-rw-r--r-- | crawl-ref/source/itemname.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index fa223399e7..c3e46bed15 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -112,8 +112,9 @@ item_type_id_state_type get_ident_type(object_class_type basetype, int subtype); void set_ident_type(item_def &item, item_type_id_state_type setting, bool force = false); -void set_ident_type(object_class_type basetype, int subtype, +bool set_ident_type(object_class_type basetype, int subtype, item_type_id_state_type setting, bool force = false); +void pack_item_identify_message(int base_type, int sub_type); void identify_healing_pots(); string item_prefix(const item_def &item, bool temp = true); |