summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-06-17 02:01:12 -0230
committerDracoOmega <draco_omega@live.com>2013-06-24 02:21:16 -0230
commit5ca2590c59e12085d70c8ab3ece661cf246705af (patch)
tree06def480fdd043f7bfb0244f6c2323ff82a4d1b2 /crawl-ref/source/libutil.cc
parent2bc9049610a18aea88688b1e59d06ff161d7c6a6 (diff)
downloadcrawl-ref-5ca2590c59e12085d70c8ab3ece661cf246705af.tar.gz
crawl-ref-5ca2590c59e12085d70c8ab3ece661cf246705af.zip
New water monster for Forest: Thorn Lotus
These are very slow moving (but faster acting) aquatic plants that can fire volleys of thorns, intended to fill a lower-tier support role for water encounters. They are permaconfused, with the intent of this randomized movement being to simulate 'drifting' along the currents of the water.
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index d30c66b0bc..fb32e4da78 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -438,8 +438,11 @@ string pluralise(const string &name, const char *qualifiers[],
if (ends_with(name, "us"))
{
- // Fungus, ufetubus, for instance.
- return name.substr(0, name.length() - 2) + "i";
+ if (ends_with(name, "lotus"))
+ return name + "es";
+ else
+ // Fungus, ufetubus, for instance.
+ return name.substr(0, name.length() - 2) + "i";
}
else if (ends_with(name, "larva") || ends_with(name, "amoeba")
|| ends_with(name, "antenna"))