summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 01:50:34 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 01:50:34 +0000
commit12f4ddfc4601e0ea1f71c873cf205b4479a4a26d (patch)
tree0b301cad1056e18a4b628e0c31de1bc33af795bb /crawl-ref/source/misc.cc
parent2aa69c8f83e2afd25a355bc1c70acb646f425b9f (diff)
downloadcrawl-ref-12f4ddfc4601e0ea1f71c873cf205b4479a4a26d.tar.gz
crawl-ref-12f4ddfc4601e0ea1f71c873cf205b4479a4a26d.zip
Outsource names of roaring animals and smells.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5277 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 8815dfbfaa..6424b506af 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2392,6 +2392,24 @@ std::string weird_writing()
return result;
}
+std::string weird_roaring_animal()
+{
+ std::string result = getRandNameString("roaring_animal_name");
+
+ lowercase(result);
+
+ return result;
+}
+
+std::string weird_smell()
+{
+ std::string result = getRandNameString("smell_name");
+
+ lowercase(result);
+
+ return result;
+}
+
bool scramble(void)
{
if (you.attribute[ATTR_TRANSFORMATION] == TRAN_STATUE)