summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-13 14:19:42 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-13 14:19:42 +0000
commit1572e9c9223b1b45eada6fec2e1a82eb6950ebfd (patch)
tree722a3bd7d205b8ade2d81b39e5c68ddf77c7c099 /crawl-ref/source/mutation.cc
parent71c47c6d4e6a0b05f439f08dfabf6a83f481fa2f (diff)
downloadcrawl-ref-1572e9c9223b1b45eada6fec2e1a82eb6950ebfd.tar.gz
crawl-ref-1572e9c9223b1b45eada6fec2e1a82eb6950ebfd.zip
Added several new tutorial triggers including information on being caught
in a net, specific skills, magic resistance, and which stat to choose. In a given game you'll only ever see a small fraction of all tutorial events (we're at 71 now, and some of them are exclusive). In fact, a lot of the information is so generally useful (esp. on gods, skills and items) that I'm seriously considering opening up the general information (How do I use item x? What does Spellcasting do?) to a wider selection of characters. I don't think we'll want to explain the intricacies of Mummies, Ghouls, or Vampires, but a lot of this stuff even applies to them... (If we overhaul the tutorial, it's certainly not a 0.4 target, though.) Resetting the tutorial version to 8 as we somehow switched from digital version to binary and back to digital. It will take some time until we actually reach 110, and by then, I am sure the base files won't be save compatible anymore. :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5777 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r--crawl-ref/source/mutation.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 078cf67eae..7b8a24976f 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1069,15 +1069,15 @@ formatted_string describe_mutations()
break;
case SP_NAGA:
- if ( you.mutation[MUT_DEFORMED] > 1)
+ if (you.mutation[MUT_DEFORMED] > 1)
result += "</lightblue><cyan>";
result += naga_deformed_descrip[you.mutation[MUT_DEFORMED] - 1];
- if ( 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
+ // Breathe poison replaces spit poison.
if (!you.mutation[MUT_BREATHE_POISON])
result += "You can spit poison." EOL;
else
@@ -1086,8 +1086,8 @@ formatted_string describe_mutations()
"</cyan><lightblue>" EOL ;
}
- // slowness can be overridden
- if ( you.mutation[MUT_FAST] )
+ // Slowness can be overridden.
+ if (you.mutation[MUT_FAST])
result += "</lightblue><cyan>";
result += naga_speed_descrip[you.mutation[MUT_FAST]];
if ( you.mutation[MUT_FAST] )
@@ -1097,7 +1097,7 @@ formatted_string describe_mutations()
break;
case SP_TROLL:
- if ( you.mutation[MUT_CLAWS] )
+ if (you.mutation[MUT_CLAWS])
result += "</lightblue><cyan>";
result += troll_claw_descrip[you.mutation[MUT_CLAWS]];
if ( you.mutation[MUT_CLAWS] )
@@ -1107,10 +1107,10 @@ formatted_string describe_mutations()
break;
case SP_CENTAUR:
- if ( you.mutation[MUT_DEFORMED] > 1)
+ if (you.mutation[MUT_DEFORMED] > 1)
result += "</lightblue><cyan>";
result += centaur_deformed_descrip[you.mutation[MUT_DEFORMED] - 1];
- if ( you.mutation[MUT_DEFORMED] > 1)
+ if (you.mutation[MUT_DEFORMED] > 1)
result += "</cyan><lightblue>";
result += EOL;
have_any = true;