summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index f758fd84bc..624607b165 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1160,20 +1160,30 @@ static void _append_non_item(std::string &desc, std::string key)
unsigned int flags = get_spell_flags(type);
if (flags & SPFLAG_DEVEL)
+ {
desc += "$This spell is still being developed, and is only available "
"via the &Z wizard command.";
+ }
else if (flags & SPFLAG_TESTING)
+ {
desc += "$This is a testing spell, only available via the "
"&Z wizard command.";
+ }
else if (flags & SPFLAG_MONSTER)
+ {
desc += "$This is a monster-only spell, only available via the "
"&Z wizard command.";
+ }
else if (flags & SPFLAG_CARD)
+ {
desc += "$This is a card-effect spell, unavailable in ordinary "
"spellbooks.";
+ }
else
+ {
desc += "$Odd, this spell can't be found anywhere. Please "
"file a bug report.";
+ }
#ifdef WIZARD
if (!you.wizard)
@@ -1182,8 +1192,10 @@ static void _append_non_item(std::string &desc, std::string key)
#endif
{
if (flags & (SPFLAG_TESTING | SPFLAG_MONSTER | SPFLAG_DEVEL))
+ {
desc += "$$You aren't in wizard mode, so you shouldn't be "
"seeing this entry. Please file a bug report.";
+ }
}
}