summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
authorJon Knapp <thann@linux.com>2012-07-25 02:43:09 -0700
committerNeil Moore <neil@s-z.org>2012-08-01 22:30:52 -0400
commit43c9643ff835cfc2889f74e664ca13c6ddd5521f (patch)
tree0c3dea79f8c455f22dcf6dfb4585bd314c9d9b7d /crawl-ref/source/libutil.cc
parent7b358e689a90b0139353f75f4a9f4a57b3876355 (diff)
downloadcrawl-ref-43c9643ff835cfc2889f74e664ca13c6ddd5521f.tar.gz
crawl-ref-43c9643ff835cfc2889f74e664ca13c6ddd5521f.zip
Add more item types to the AP menu.
This is a combination of 4 commits: added food and misc items to the AP menu catagorized foods in the AP menu and added gold reduced food categories to two small autopickup menu bugfixes
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index 2a3aaaea72..ac7216c6df 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -486,7 +486,8 @@ std::string pluralise(const std::string &name,
|| ends_with(name, "tengu") || ends_with(name, "shedu")
|| ends_with(name, "swine") || ends_with(name, "efreet")
// "shedu" is male, "lammasu" is female of the same creature
- || ends_with(name, "lammasu") || ends_with(name, "lamassu"))
+ || ends_with(name, "lammasu") || ends_with(name, "lamassu")
+ || ends_with(name, "gold"))
{
return name;
}