summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-24 14:54:49 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-24 14:54:49 +0000
commit9cf0e84a1244ca68c3c884f5bc8f4250e477edc3 (patch)
tree06cc50f35a78e9d2a0548cfa9d3af923af80aeb2
parentac738ba838f899d98ff0570e1070cdd62d6b77c5 (diff)
downloadcrawl-ref-9cf0e84a1244ca68c3c884f5bc8f4250e477edc3.tar.gz
crawl-ref-9cf0e84a1244ca68c3c884f5bc8f4250e477edc3.zip
Add "forget level" command to manual, and change wording of
the deformed body mutation for Centaurs and Nagas (FR 1814790). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2538 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/docs/crawl_manual.txt1
-rw-r--r--crawl-ref/source/mutation.cc34
2 files changed, 34 insertions, 1 deletions
diff --git a/crawl-ref/docs/crawl_manual.txt b/crawl-ref/docs/crawl_manual.txt
index 20f9e3aaf7..c7b0e5c993 100644
--- a/crawl-ref/docs/crawl_manual.txt
+++ b/crawl-ref/docs/crawl_manual.txt
@@ -2223,6 +2223,7 @@ level_map_title option to get rid of that.
/ Cycles backward through stashes.
Ctrl-C Clear level and main maps (from temporarily
seen monsters, clouds etc.).
+ Ctrl-F Forget level map.
Waypoints can be set on the level map. You can travel to waypoints
using Ctrl-G. Check the option show_waypoints. The commands are
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 82cd64ec9d..a246b8d9da 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -78,6 +78,18 @@ const char *naga_speed_descrip[4] = {
"You cover ground quickly." // 6*14/10 = 8
};
+const char *centaur_deformed_descrip[3] = {
+ "Armour fits poorly on your equine body.",
+ "Armour fits poorly on your deformed equine body.",
+ "Armour fits poorly on your badly deformed equine body."
+};
+
+const char *naga_deformed_descrip[3] = {
+ "Armour fits poorly on your serpentine body.",
+ "Armour fits poorly on your deformed serpentine body.",
+ "Armour fits poorly on your badly deformed serpentine body."
+};
+
const char *mutation_descrip[][3] = {
{"You have tough skin (AC +1).", "You have very tough skin (AC +2).",
"You have extremely tough skin (AC +3)."},
@@ -965,7 +977,14 @@ formatted_string describe_mutations()
break;
case SP_NAGA:
+ if ( you.mutation[MUT_DEFORMED] > 1)
+ result += "<cyan>";
+ result += naga_deformed_descrip[you.mutation[MUT_DEFORMED] - 1];
+ if ( you.mutation[MUT_DEFORMED] > 1)
+ result += "</cyan><lightblue>";
+ result += EOL;
result += "You cannot wear boots." EOL;
+
// breathe poison replaces spit poison:
if (!you.mutation[MUT_BREATHE_POISON])
result += "You can spit poison." EOL;
@@ -992,6 +1011,17 @@ formatted_string describe_mutations()
have_any = true;
break;
+ case SP_CENTAUR:
+ if ( you.mutation[MUT_DEFORMED] > 1)
+ result += "<cyan>";
+ result += centaur_deformed_descrip[you.mutation[MUT_DEFORMED] - 1];
+ if ( you.mutation[MUT_DEFORMED] > 1)
+ result += "</cyan><lightblue>";
+ result += EOL;
+ have_any = true;
+ break;
+
+
case SP_GHOUL:
result += "Your body is rotting away." EOL;
result += troll_claw_descrip[you.mutation[MUT_CLAWS]];
@@ -1175,10 +1205,12 @@ formatted_string describe_mutations()
// this is already handled above:
if (you.species == SP_NAGA &&
- (i == MUT_BREATHE_POISON || i == MUT_FAST))
+ (i == MUT_BREATHE_POISON || i == MUT_FAST || i == MUT_DEFORMED))
continue;
if (you.species == SP_TROLL && i == MUT_CLAWS)
continue;
+ if (you.species == SP_CENTAUR && i == MUT_DEFORMED)
+ continue;
const char* colourname = "";
if ( you.species == SP_DEMONSPAWN )