summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-22 05:35:55 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-22 05:35:55 +0000
commitfa35b186224f8fb390c2ee37f3abd73935f47da9 (patch)
treefc11c5240032ae01e139351ecc6f0ffcbb3d8126 /crawl-ref/source/libutil.cc
parentfb3043bc74f98ecf6307b134e176a6c912b879ed (diff)
downloadcrawl-ref-fa35b186224f8fb390c2ee37f3abd73935f47da9.tar.gz
crawl-ref-fa35b186224f8fb390c2ee37f3abd73935f47da9.zip
Two cosmetic-only changes to Xom miscasts:
1) For zero-level (message only) miscasts there's a 1 in 20 chance that a non-standard message will be given, like "Your shield spins", "The scales of your dragon armour briefly wiggle", and so on. 2) For all other miscasts the string used for "your hands" will be randomized to only sometimes be normal, to get messages like "Your nose glows momentarily" or "Noxious gasses pour from your feet". This can lead to some bizarre messages like "Sparks play between your ears", but then, this *is* Xom. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7906 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index cc7066aedf..9005ab4132 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -390,6 +390,8 @@ std::string pluralise(const std::string &name,
// efreet -> efreeti. Not sure this is correct.
return name + "i";
}
+ else if (name == "foot")
+ return "feet";
return name + "s";
}