summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-06-09 12:25:26 -0400
committerNeil Moore <neil@s-z.org>2014-06-09 12:38:13 -0400
commit3b29f72d670d9e01ce1794679a6f86bc44debc72 (patch)
treea09ed995b1a714964a1d64a588b1ba4d5029ad9d /crawl-ref/source/itemname.cc
parent9704825b45559350f541c90b30445c14e84f8abc (diff)
downloadcrawl-ref-3b29f72d670d9e01ce1794679a6f86bc44debc72.tar.gz
crawl-ref-3b29f72d670d9e01ce1794679a6f86bc44debc72.zip
Remove vestiges of Simulacrum-chunk interactions.
Wieldability, usefulness of butchery and chunks, tile wield tip, and monster food pickup.
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc15
1 files changed, 3 insertions, 12 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 43a7d28f22..65645ad48d 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -3308,12 +3308,8 @@ bool is_useless_item(const item_def &item, bool temp)
case OBJ_POTIONS:
{
// Not useless, even if you can't quaff it.
- if (you.has_spell(SPELL_SUBLIMATION_OF_BLOOD)
- && (item.sub_type == POT_BLOOD
- || item.sub_type == POT_BLOOD_COAGULATED))
- {
+ if (you.has_spell(SPELL_SUBLIMATION_OF_BLOOD) && is_blood_potion(item))
return false;
- }
// Mummies can't use potions.
if (you.species == SP_MUMMY)
@@ -3485,9 +3481,6 @@ bool is_useless_item(const item_def &item, bool temp)
return false;
}
- if (food_is_meaty(item) && you.has_spell(SPELL_SIMULACRUM))
- return false;
-
if (is_fruit(item) && you_worship(GOD_FEDHAS))
return false;
@@ -3499,17 +3492,15 @@ bool is_useless_item(const item_def &item, bool temp)
if (you.has_spell(SPELL_ANIMATE_DEAD)
|| you.has_spell(SPELL_ANIMATE_SKELETON)
+ || you.has_spell(SPELL_SIMULACRUM)
|| you_worship(GOD_YREDELEMNUL) && !you.penance[GOD_YREDELEMNUL]
&& you.piety >= piety_breakpoint(0))
{
return false;
}
- if (you.has_spell(SPELL_SUBLIMATION_OF_BLOOD)
- || you.has_spell(SPELL_SIMULACRUM))
- {
+ if (you.has_spell(SPELL_SUBLIMATION_OF_BLOOD))
return false;
- }
return true;