summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-08 21:10:50 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-03-08 21:10:50 +0100
commitcad36baf77032961249231f8a40842d9e63945ab (patch)
tree0e32ae7e689f001b2164c59de59d33134bb60f5d /crawl-ref/source/item_use.h
parent4ba3ca2b2624177a26f47509b9e78e5ae2de98a1 (diff)
downloadcrawl-ref-cad36baf77032961249231f8a40842d9e63945ab.tar.gz
crawl-ref-cad36baf77032961249231f8a40842d9e63945ab.zip
Reintroduce item stat loss prompts.
While not fatal, having a stat lowered to zero or below can have nasty consequences. Thus, prompt if we're trying to put on an item known to have this effect.
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index 1a1bc0f4b9..6e596e1f6e 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -49,6 +49,7 @@ void drink(int slot = -1);
bool elemental_missile_beam(int launcher_brand, int ammo_brand);
+bool safe_to_remove_or_wear(const item_def &item, bool remove, bool quiet = false);
bool safe_to_remove(const item_def &item, bool quiet = false);
void examine_object(void);