summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 22:38:21 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 22:38:21 +0000
commitf3f93a328f7c076f46be200133af034e42956f6d (patch)
treed8491cc9b08a1f830c7479cca3146da2387bab49 /crawl-ref/source/output.cc
parent96d6e3e9f85e3be686bd1a0c56436affb0014365 (diff)
downloadcrawl-ref-f3f93a328f7c076f46be200133af034e42956f6d.tar.gz
crawl-ref-f3f93a328f7c076f46be200133af034e42956f6d.zip
Adding two new mutations for the heck of it:
* MUT_PAWS: "You have soft paws in place of feet." Similar to HOOVES and TALONS - incidentally, I resorted a few mutations for better grouping - but increases stealth. * MUT_EXTRA_EYES: grow up to three extra eyes that increase depth perception and thus accuracy. I'm still looking for a drawback to this mutation (other than looking weird). Also, could be related to ACUTE/BLURRY VISION somehow. Breaks saves, or at least mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2606 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc22
1 files changed, 19 insertions, 3 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 995039e0e5..b5b14fe1b2 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -2045,6 +2045,13 @@ std::string status_mut_abilities()
text += info;
have_any = true;
break;
+ case MUT_FANGS:
+ if (have_any)
+ text += ", ";
+ snprintf(info, INFO_SIZE, "sharp teeth %d", level);
+ text += info;
+ have_any = true;
+ break;
case MUT_HOOVES:
if (have_any)
text += ", ";
@@ -2057,11 +2064,10 @@ std::string status_mut_abilities()
text += "talons";
have_any = true;
break;
- case MUT_FANGS:
+ case MUT_PAWS:
if (have_any)
text += ", ";
- snprintf(info, INFO_SIZE, "sharp teeth %d", level);
- text += info;
+ text += "soft paws";
have_any = true;
break;
case MUT_BREATHE_POISON:
@@ -2097,6 +2103,16 @@ std::string status_mut_abilities()
text += info;
have_any = true;
break;
+ case MUT_EXTRA_EYES:
+ if (have_any)
+ text += ", ";
+ snprintf(info, INFO_SIZE, "%d extra eye%s",
+ level, level > 1? "s" : "");
+ text += info;
+ have_any = true;
+ break;
+
+ // scales -> calculate sum of AC bonus
case MUT_RED_SCALES:
AC_change += level;
if (level == 3)