summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hints.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-04-13 03:25:21 +0200
committerShmuale Mark <shm.mark@gmail.com>2014-05-05 21:27:51 -0400
commit3da635bd8450af0fddbfd5c182afe593938136f2 (patch)
tree3f33a49f2a40312fec9b1cebd3a5fa09ec506ff1 /crawl-ref/source/hints.cc
parent332536bcd766995a9ad19bd580f9ad96df1e0863 (diff)
downloadcrawl-ref-3da635bd8450af0fddbfd5c182afe593938136f2.tar.gz
crawl-ref-3da635bd8450af0fddbfd5c182afe593938136f2.zip
Rename "bow" to "shortbow"
For a clear distinction of "bows" the skill, and from "longbow" the weapon.
Diffstat (limited to 'crawl-ref/source/hints.cc')
-rw-r--r--crawl-ref/source/hints.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/crawl-ref/source/hints.cc b/crawl-ref/source/hints.cc
index 84a2c28889..b74b096ae6 100644
--- a/crawl-ref/source/hints.cc
+++ b/crawl-ref/source/hints.cc
@@ -207,8 +207,9 @@ void pick_hints(newgame_def* choice)
Hints.hints_type = keyn - 'a';
choice->species = _get_hints_species(Hints.hints_type);
choice->job = _get_hints_job(Hints.hints_type);
- choice->weapon = choice->job == JOB_HUNTER ? WPN_BOW
- : WPN_HAND_AXE; // easiest choice for fighters
+ // easiest choice for fighters
+ choice->weapon = choice->job == JOB_HUNTER ? WPN_SHORTBOW
+ : WPN_HAND_AXE;
return;
}
@@ -948,23 +949,23 @@ void hints_monster_seen(const monster& mon)
if (Hints.hints_type == HINT_RANGER_CHAR)
{
text = "However, as a hunter you will want to deal with it using your "
- "bow. If you have a look at your bow from your "
+ "bow. If you have a look at your shortbow from your "
"<w>i</w>nventory, you'll find an explanation of how to do "
"this. ";
if (!you.weapon()
|| you.weapon()->base_type != OBJ_WEAPONS
- || you.weapon()->sub_type != WPN_BOW)
+ || you.weapon()->sub_type != WPN_SHORTBOW)
{
text += "First <w>w</w>ield it, then follow the instructions."
"<tiles>\nAs a short-cut you can also <w>right-click</w> on your "
- "bow to read its description, and <w>left-click</w> to wield "
+ "shortbow to read its description, and <w>left-click</w> to wield "
"it.</tiles>";
}
else
{
- text += "<tiles>Clicking with your <w>right mouse button</w> on your bow "
- "will also let you read its description.</tiles>";
+ text += "<tiles>Clicking with your <w>right mouse button</w> on your "
+ "shortbow will also let you read its description.</tiles>";
}
mprf(MSGCH_TUTORIAL, "%s", untag_tiles_console(text).c_str());
@@ -2534,7 +2535,7 @@ void learned_something_new(hints_event_type seen_what, coord_def gc)
if (Hints.hints_type == HINT_RANGER_CHAR && wpn != -1
&& you.inv[wpn].base_type == OBJ_WEAPONS
- && you.inv[wpn].sub_type == WPN_BOW)
+ && you.inv[wpn].sub_type == WPN_SHORTBOW)
{
text << "You can easily switch between weapons in slots a and "
"b by pressing <w>%</w>.";