diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-25 21:28:10 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-25 21:28:10 +0000 |
commit | 71fc85edf61aed46b589a2ee5bc7b8ef55c5cc77 (patch) | |
tree | 28605521888e8692c3b12133bd39916fd8d1d6e7 /crawl-ref/source/newgame.cc | |
parent | db417e511fceb9c4f39cb8e563ef3308265af94b (diff) | |
download | crawl-ref-71fc85edf61aed46b589a2ee5bc7b8ef55c5cc77.tar.gz crawl-ref-71fc85edf61aed46b589a2ee5bc7b8ef55c5cc77.zip |
* A few corrections and changes to the tutorial.
* Reintroduce protection from harm while praying for Ely and Yred
(This weakens Ely's healing effect in comparison to Zin and TSO,
so maybe Ely should get both the 1/10 AND the prayer bonus.)
* FR 1829904: add '%' shortcut to character selection menu
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2914 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r-- | crawl-ref/source/newgame.cc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index e3f4489a46..4690556c06 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -2836,7 +2836,7 @@ spec_query: cprintf(" (Press T to enter a tutorial.)"); cprintf(EOL EOL); textcolor( CYAN ); - cprintf("You can be: (Press ? for more information)"); + cprintf("You can be: (Press ? for more information, %% for a list of aptitudes)"); cprintf(EOL EOL); textcolor( LIGHTGREY ); @@ -2918,6 +2918,11 @@ spec_query: list_commands(false, '1'); return choose_race(); } + else if ( keyn == '%' ) + { + list_commands(false, '%'); + return choose_race(); + } if ((keyn == '\r' || keyn == '\n') && Options.prev_race && prevraceok) keyn = Options.prev_race; @@ -3036,7 +3041,7 @@ job_query: cprintf(EOL EOL); textcolor( CYAN ); - cprintf("You can be: (Press ? for more information)" EOL EOL); + cprintf("You can be: (Press ? for more information, %% for a list of aptitudes)" EOL EOL); textcolor( LIGHTGREY ); int j = 0; @@ -3110,6 +3115,11 @@ job_query: list_commands(false, '2'); return choose_class(); } + else if ( keyn == '%' ) + { + list_commands(false, '%'); + return choose_class(); + } if ((keyn == '\r' || keyn == '\n') && Options.prev_cls && prevclassok) keyn = Options.prev_cls; |