diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-04-28 13:02:16 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-04-28 13:07:45 -0400 |
commit | 89a5294bf5ff38eb4450b238cdc5de00b04a6a1a (patch) | |
tree | 0c114e4f82a82e7ce774f72d37b1ee748c18d394 /crawl-ref/source/player-equip.cc | |
parent | 93205b7cdbdeb31f15daf6328d3dc11f94ad7b77 (diff) | |
download | crawl-ref-89a5294bf5ff38eb4450b238cdc5de00b04a6a1a.tar.gz crawl-ref-89a5294bf5ff38eb4450b238cdc5de00b04a6a1a.zip |
Remove some equip/unequip messages.
The ones that tell the player that they can evoke a new ability
don't seem all that useful, given the fairly clear inscription
system on artefacts. The remaining jewellery items that give a
message on equip are mostly ones that are potentially dangerous,
such as ring of fire/ice and amulet of stasis.
Diffstat (limited to 'crawl-ref/source/player-equip.cc')
-rw-r--r-- | crawl-ref/source/player-equip.cc | 65 |
1 files changed, 2 insertions, 63 deletions
diff --git a/crawl-ref/source/player-equip.cc b/crawl-ref/source/player-equip.cc index f9fc3a8db0..f4a13a2c8d 100644 --- a/crawl-ref/source/player-equip.cc +++ b/crawl-ref/source/player-equip.cc @@ -228,7 +228,6 @@ static void _equip_artefact_effect(item_def &item, bool *show_msgs, bool unmeld) artefact_known_props_t known; artefact_wpn_properties(item, proprt, known); - // Only give property messages for unknown properties. if (proprt[ARTP_EYESIGHT]) autotoggle_autopickup(false); @@ -244,29 +243,6 @@ static void _equip_artefact_effect(item_def &item, bool *show_msgs, bool unmeld) notify_stat_change(STAT_DEX, proprt[ARTP_DEXTERITY], !(msg && unknown_proprt(ARTP_DEXTERITY)), item); - // For evokable stuff, check whether other equipped items yield - // the same ability. If not, and if the ability granted hasn't - // already been discovered, give a message. - if (unknown_proprt(ARTP_FLY)) - { - if (msg && !items_give_ability(item.link, ARTP_FLY)) - { - if (you.airborne()) - mpr("You feel vaguely more buoyant than before."); - else - mpr("You feel buoyant."); - } - } - - if (unknown_proprt(ARTP_INVISIBLE) && !you.duration[DUR_INVIS] && msg) - mpr("You become transparent for a moment."); - - if (unknown_proprt(ARTP_BERSERK) && msg && !items_give_ability(item.link, ARTP_BERSERK)) - mpr("You feel a brief urge to hack something to bits."); - - if (unknown_proprt(ARTP_BLINK) && msg && !items_give_ability(item.link, ARTP_BLINK)) - mpr("You feel jittery for a moment."); - if (unknown_proprt(ARTP_MUTAGENIC) && msg) mpr("You feel a build-up of mutagenic energy."); @@ -308,26 +284,6 @@ static void _unequip_artefact_effect(item_def &item, artefact_wpn_properties(item, proprt, known); const bool msg = !show_msgs || *show_msgs; - if (proprt[ARTP_AC]) - { - you.redraw_armour_class = true; - if (!known[ARTP_AC] && msg) - { - mprf("You feel less %s.", - proprt[ARTP_AC] > 0? "well-protected" : "vulnerable"); - } - } - - if (proprt[ARTP_EVASION]) - { - you.redraw_evasion = true; - if (!known[ARTP_EVASION] && msg) - { - mprf("You feel less %s.", - proprt[ARTP_EVASION] > 0? "nimble" : "awkward"); - } - } - if (proprt[ARTP_HP]) _calc_hp_artefact(); @@ -1178,11 +1134,6 @@ static void _equip_jewellery_effect(item_def &item, bool unmeld) you.redraw_armour_class = true; break; - case RING_INVISIBILITY: - mprf("You become %stransparent for a moment.", - you.duration[DUR_INVIS] ? "more " : ""); - break; - case RING_EVASION: you.redraw_evasion = true; break; @@ -1212,10 +1163,6 @@ static void _equip_jewellery_effect(item_def &item, bool unmeld) break; - case RING_FLIGHT: - mprf("You feel %sbuoyant.", you.airborne() ? "more " : ""); - break; - case RING_TELEPORTATION: if (crawl_state.game_is_sprint()) mpr("You feel a slight, muted jump rush through you."); @@ -1225,16 +1172,6 @@ static void _equip_jewellery_effect(item_def &item, bool unmeld) (player_teleport(false) > 8) ? "more " : ""); break; - case RING_TELEPORT_CONTROL: - mprf("You feel %scontrolled for a moment.", - you.duration[DUR_CONTROL_TELEPORT] ? "more " : ""); - break; - - case AMU_RAGE: - mprf("You feel a %sbrief urge to hack something to bits.", - you.can_go_berserk() ? "" : "very "); - break; - case AMU_FAITH: mprf(MSGCH_GOD, "You feel a %ssurge of divine interest.", you_worship(GOD_NO_GOD) ? "strange " : ""); @@ -1288,6 +1225,8 @@ static void _equip_jewellery_effect(item_def &item, bool unmeld) you.duration[DUR_BERSERK] = 0; you.duration[DUR_FINESSE] = 0; } + else + mprf("You feel %s static.", you.species == SP_FORMICID ? "familiarly" : "strangely"); } // Artefacts have completely different appearance than base types |