summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-06-19 13:46:42 -0400
committerNeil Moore <neil@s-z.org>2013-06-19 13:54:39 -0400
commit9a5bc4b55ebb0f2acc26546cf57fa88a8c057b1a (patch)
treea33582ec9d84c878a94dbaf254b472ea5a4659a2 /crawl-ref/source/mon-info.h
parent97b0cfd0a31283b8ae1f1af0ee2ef16fbe37d139 (diff)
downloadcrawl-ref-9a5bc4b55ebb0f2acc26546cf57fa88a8c057b1a.tar.gz
crawl-ref-9a5bc4b55ebb0f2acc26546cf57fa88a8c057b1a.zip
Avoid "friendly 9 bone dragons" in "You can see" dump.
There are still some problems: *"the neutral the Enchantress" (but "the neutral Lernaean hydra"); and *"Lernaean hydra" (but "the Enchantress").
Diffstat (limited to 'crawl-ref/source/mon-info.h')
-rw-r--r--crawl-ref/source/mon-info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-info.h b/crawl-ref/source/mon-info.h
index 6ad37e658b..df8eed3218 100644
--- a/crawl-ref/source/mon-info.h
+++ b/crawl-ref/source/mon-info.h
@@ -165,7 +165,8 @@ struct monster_info : public monster_info_base
return *this;
}
- void to_string(int count, string& desc, int& desc_colour, bool fullname = true) const;
+ void to_string(int count, string& desc, int& desc_colour,
+ bool fullname = true, const char *adjective = nullptr) const;
/* only real equipment is visible, miscellany is for mimic items */
unique_ptr<item_def> inv[MSLOT_LAST_VISIBLE_SLOT + 1];