summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc25
1 files changed, 24 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index b383f6cb99..704ec52e2e 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -334,7 +334,7 @@ static const char *trap_names[] =
{
"dart", "arrow", "spear", "axe",
"teleport", "amnesia", "blade",
- "bolt", "zot", "needle",
+ "bolt", "net", "zot", "needle",
};
const char *trap_name(trap_type trap)
@@ -1374,6 +1374,29 @@ static std::string describe_ammo( const item_def &item )
description += "Unfortunately, it is too long and awkward "
"for you to use.";
break;
+ case MI_THROWING_NET:
+ description += "A throwing net as used by gladiators. ";
+ if (!is_throwable(item, you.body_size()))
+ description += "Unfortunately, it is too large for you to throw. ";
+ if (item.plus < 0)
+ {
+ std::string how;
+ if (item.plus > -3)
+ how = "a little";
+ else if (item.plus > -5)
+ how = "somewhat";
+ else if (item.plus > -7)
+ how = "very";
+ else
+ how = "extremely";
+
+ description += "It looks ";
+ description += how;
+ description += " worn.";
+ }
+ else if (item.plus > 1)
+ description += "The net looks brand-new!";
+ break;
case MI_NONE: // was eggplant
description += "A purple vegetable. "
"The presence of this object in the game indicates a bug. ";