summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 18:28:38 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-08 18:28:38 +0000
commit60bdc5258f24366aa9031738183841edafc8572b (patch)
treecffdcbe6cef4efd9d18e3f203e21cb67d075d8ad /crawl-ref/source/itemname.cc
parente9c382cd386ff8f33a2927af3a7c6690abc9fdae (diff)
downloadcrawl-ref-60bdc5258f24366aa9031738183841edafc8572b.tar.gz
crawl-ref-60bdc5258f24366aa9031738183841edafc8572b.zip
Implement the returning brand for ammunition. This mostly uses the same
code as weapons of returning, but such ammunition has the same chance of being randomly destroyed when thrown as non-returning ammunition. Note that the brand is not actually generated anywhere yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3024 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index cbcee48703..394a1c7160 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1118,6 +1118,9 @@ std::string item_def::name_aux( description_level_type desc,
case SPMSL_POISONED:
case SPMSL_CURARE:
break;
+ case SPMSL_RETURNING:
+ buff << ((terse) ? " (return)" : " of returning");
+ break;
default:
buff << " (buggy)";
}