summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-equip.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-12-22 18:37:33 +0000
committerChris Campbell <chriscampbell89@gmail.com>2013-12-22 18:43:16 +0000
commit48c4fedd086ded91b21e3b822b2f695932486f4e (patch)
tree03036841b7849047f4f8d97e01a6ae73d37d86b4 /crawl-ref/source/player-equip.cc
parentbfa08eb324f32ff3d3259f5f3b972c7c5aa41381 (diff)
downloadcrawl-ref-48c4fedd086ded91b21e3b822b2f695932486f4e.tar.gz
crawl-ref-48c4fedd086ded91b21e3b822b2f695932486f4e.zip
Make noisy randarts only make noise when hitting things
They now don't give messages or make noise at all when just travelling or exploring, only when hitting things. Also reduce their noise level slightly.
Diffstat (limited to 'crawl-ref/source/player-equip.cc')
-rw-r--r--crawl-ref/source/player-equip.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/player-equip.cc b/crawl-ref/source/player-equip.cc
index 457eb0bfd2..a3a89c0546 100644
--- a/crawl-ref/source/player-equip.cc
+++ b/crawl-ref/source/player-equip.cc
@@ -335,9 +335,6 @@ static void _equip_artefact_effect(item_def &item, bool *show_msgs, bool unmeld)
artefact_wpn_learn_prop(item, ARTP_CURSED);
}
- if (proprt[ARTP_NOISES])
- you.attribute[ATTR_NOISES] = 1;
-
if (!alreadyknown && dangerous)
{
// Xom loves it when you use an unknown random artefact and
@@ -401,9 +398,6 @@ static void _unequip_artefact_effect(item_def &item,
notify_stat_change(STAT_DEX, -proprt[ARTP_DEXTERITY], !msg, item,
true);
- if (proprt[ARTP_NOISES] != 0)
- you.attribute[ATTR_NOISES] = 0;
-
if (proprt[ARTP_FLY] != 0 && you.cancellable_flight()
&& !you.evokable_flight())
{