summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-05 05:16:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-05 05:16:58 +0000
commitdf45205d9a9bc427963f2343935ca3b424ee8a5c (patch)
tree55e712bf14ca05254c11eb080d233da5823f7f09
parent922342473b6af1fcf53bd1173b4e85627518479d (diff)
downloadcrawl-ref-df45205d9a9bc427963f2343935ca3b424ee8a5c.tar.gz
crawl-ref-df45205d9a9bc427963f2343935ca3b424ee8a5c.zip
In the special missile descriptions, use SPMSL_* values instead of
numbers, and add a description of curare. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2999 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/describe.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index d0eb4c543c..25f9928145 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1558,22 +1558,25 @@ static std::string describe_ammo( const item_def &item )
}
}
- if (item.special != 0 && item_type_known(item))
+ if (item.special && item_type_known(item))
{
switch (item.special)
{
- case 1:
+ case SPMSL_FLAME:
description += "$When fired from an appropriate launcher, "
"it turns into a bolt of flame. ";
break;
- case 2:
+ case SPMSL_ICE:
description += "$When fired from an appropriate launcher, "
"it turns into a bolt of ice. ";
break;
- case 3:
- case 4:
+ case SPMSL_POISONED:
+ case SPMSL_POISONED_II:
description += "$It is coated with poison. ";
break;
+ case SPMSL_CURARE:
+ description += "$It is tipped with asphyxiating poison. ";
+ break;
}
}