summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-05-12 04:21:25 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-05-12 05:00:38 +0100
commit4f0ef79f26417a680cfc16018a6655407fd977ee (patch)
tree02eeebe7cfe039dfcee983ca67a6775e53b6df27 /crawl-ref/source/misc.cc
parent020cafce5921f89eabdaa160e78ceaf4ff955e4e (diff)
downloadcrawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.tar.gz
crawl-ref-4f0ef79f26417a680cfc16018a6655407fd977ee.zip
Remove various references to use-IDing jewellery that now identifies on equip
There's probably a bunch more obsolete code for this still lying around.
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc16
1 files changed, 1 insertions, 15 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 4ea3de5b55..be5647e46b 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1312,7 +1312,6 @@ bool go_berserk(bool intentional, bool potion)
return false;
if (stasis_blocks_effect(true,
- true,
"%s thrums violently and saps your rage.",
3,
"%s vibrates violently and saps your rage."))
@@ -2457,7 +2456,7 @@ void swap_with_monster(monster* mon_to_swap)
ASSERT(mon.alive());
const coord_def newpos = mon.pos();
- if (stasis_blocks_effect(true, true, "%s emits a piercing whistle.",
+ if (stasis_blocks_effect(true, "%s emits a piercing whistle.",
20, "%s makes your neck tingle."))
{
return;
@@ -2531,19 +2530,6 @@ void swap_with_monster(monster* mon_to_swap)
}
}
-/**
- * Identify a worn piece of jewellery's type.
- */
-void wear_id_type(item_def &item)
-{
- if (item_type_known(item))
- return;
- set_ident_type(item.base_type, item.sub_type, ID_KNOWN_TYPE);
- set_ident_flags(item, ISFLAG_KNOW_TYPE);
- mprf("You are wearing: %s",
- item.name(DESC_INVENTORY_EQUIP).c_str());
-}
-
void auto_id_inventory()
{
for (int i = 0; i < ENDOFPACK; i++)