summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-27 16:15:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-27 16:15:37 +0000
commitd03ad7b05a931a1bd0bc69eb809d30fca8177cb6 (patch)
tree8d5d564a84a8d8cc9beb29dcd2f6220a318f268b /crawl-ref/source/quiver.cc
parentd360a8a9373ac6d5760d1869617685d553c7b9fb (diff)
downloadcrawl-ref-d03ad7b05a931a1bd0bc69eb809d30fca8177cb6.tar.gz
crawl-ref-d03ad7b05a931a1bd0bc69eb809d30fca8177cb6.zip
Add a new command for firing without quivering on 'F'.
Use puff of fire/ice tiles for ammo of flame/ice being fired. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index 521923133e..5f764b5eb5 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -159,13 +159,13 @@ void choose_item_for_quiver()
ammo_t t = _get_weapon_ammo_type(you.weapon());
you.m_quiver->empty_quiver(t);
- mprf("Emptying quiver for %s.",
+ mprf("Reset %s quiver to default.",
t == AMMO_THROW ? "throwing" :
- t == AMMO_BLOWGUN ? "blowguns" :
- t == AMMO_SLING ? "slings" :
- t == AMMO_BOW ? "bows" :
- t == AMMO_CROSSBOW ? "crossbows"
- : "hand crossbows");
+ t == AMMO_BLOWGUN ? "blowgun" :
+ t == AMMO_SLING ? "sling" :
+ t == AMMO_BOW ? "bow" :
+ t == AMMO_CROSSBOW ? "crossbow"
+ : "hand crossbow");
return;
}
else if (slot == you.equip[EQ_WEAPON])
@@ -194,13 +194,13 @@ void choose_item_for_quiver()
t = _get_weapon_ammo_type(weapon);
you.m_quiver->set_quiver(you.inv[slot], t);
- mprf("Quivering %s %s.", you.inv[slot].name(DESC_INVENTORY).c_str(),
- t == AMMO_THROW ? "as throwing weapon" :
- t == AMMO_BLOWGUN ? "for blowguns" :
- t == AMMO_SLING ? "for slings" :
- t == AMMO_BOW ? "for bows" :
- t == AMMO_CROSSBOW ? "for crossbows"
- : "for hand crossbows");
+ mprf("Quivering %s for %s.", you.inv[slot].name(DESC_INVENTORY).c_str(),
+ t == AMMO_THROW ? "throwing" :
+ t == AMMO_BLOWGUN ? "blowguns" :
+ t == AMMO_SLING ? "slings" :
+ t == AMMO_BOW ? "bows" :
+ t == AMMO_CROSSBOW ? "crossbows"
+ : "hand crossbows");
}
// Notification that item was fired with 'f'.