Skip to content

Commit

Permalink
Remove separate quiver line in x-v
Browse files Browse the repository at this point in the history
Missiles are now shown in the Throw line of the attack table, and
for special darts and throwing nets, they are also described in the
unusual item description. Thus, the line "It is quivering javelins."
or similar is now redundant.
  • Loading branch information
NormalPerson7 committed Apr 28, 2024
1 parent 6b840a4 commit 7c1542e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions crawl-ref/source/describe.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5459,23 +5459,6 @@ static string _monster_attacks_description(const monster_info& mi)
return result.str();
}

static string _monster_missiles_description(const monster_info& mi)
{
item_def *missile = mi.inv[MSLOT_MISSILE].get();
if (!missile)
return "";

string desc;
desc += uppercase_first(mi.pronoun(PRONOUN_SUBJECTIVE));
desc += mi.pronoun_plurality() ? " are quivering " : " is quivering ";
if (missile->is_type(OBJ_MISSILES, MI_THROWING_NET))
desc += missile->name(DESC_A, false, false, true, false);
else
desc += pluralise(missile->name(DESC_PLAIN, false, false, true, false));
desc += ".\n";
return desc;
}

#define SPELL_LIST_BEGIN "[SPELL_LIST_BEGIN]"
#define SPELL_LIST_END "[SPELL_LIST_END]"

Expand Down Expand Up @@ -6267,7 +6250,6 @@ static string _monster_stat_description(const monster_info& mi, bool mark_spells
if (mon_explodes_on_death(mi.type))
_desc_mon_death_explosion(result, mi);

result << _monster_missiles_description(mi);
result << _monster_habitat_description(mi);
result << _monster_spells_description(mi, mark_spells);

Expand Down

0 comments on commit 7c1542e

Please sign in to comment.