summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-25 10:13:49 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-25 10:13:49 +0000
commitc5f945ee7a4616a77a568245ebb0fcd7c8b859b1 (patch)
tree6990a8687f28fe01b4232712c634a93f81c52b35 /crawl-ref/source/externs.h
parent299e58e1cac6a28bde782516f08532f6fe08aec9 (diff)
downloadcrawl-ref-c5f945ee7a4616a77a568245ebb0fcd7c8b859b1.tar.gz
crawl-ref-c5f945ee7a4616a77a568245ebb0fcd7c8b859b1.zip
FR #2083661: when polymorphed, unique (and named) monsters now retain their
name (but not spells, yet), and use their old speech text if it makes sense for them to be able to do so. Polymorphed monsters now retain some of their old flags, like MF_CREATED_FRIENDLY and MF_GOT_HALF_XP. If the Royal Jelly is polymorphed into something else then the Slime:6 vaults will unlock when that monster is killed. If the Royal Jelly is banished the player will be given a hint that it's gone and that the vaults will remain locked. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7970 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 5ffddad96c..301b663592 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1418,6 +1418,10 @@ public:
// "orc priest".
std::string base_name(description_level_type type,
bool force_visible = false) const;
+ // Full name of the monster. For an orc priest named Arbolt, full_name()
+ // will return "Arbolt the orc priest".
+ std::string full_name(description_level_type type,
+ bool use_comma = false) const;
std::string pronoun(pronoun_type pro, bool force_visible = false) const;
std::string conj_verb(const std::string &verb) const;
std::string hand_name(bool plural, bool *can_plural = NULL) const;