diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-15 12:44:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-15 12:44:35 +0000 |
commit | 148d336e808fb9552692b46f750e8aaa35c92210 (patch) | |
tree | cf514ee380edc5cc356bc81f463c939691c29a5e /crawl-ref/source/tutorial.cc | |
parent | 9fc1df65621c76cb9edbb781df61fabb21f61342 (diff) | |
download | crawl-ref-148d336e808fb9552692b46f750e8aaa35c92210.tar.gz crawl-ref-148d336e808fb9552692b46f750e8aaa35c92210.zip |
Cleaned up abilities screen information for tutorial.
Small additions to Beogh.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1589 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 7cf37d0414..e1863f7dca 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1320,3 +1320,21 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) Options.tutorial_events[seen_what] = 0; Options.tutorial_left--; } + +void tut_describe_abilities() +{ + const int bottom_line = (get_number_of_lines() > 30) ? 30 : get_number_of_lines(); + textcolor(MAGENTA); + gotoxy(1, bottom_line-5); + std::string text = + "This screen shows your character's set of talents. You can gain new " EOL + "abilities via certain items, through religion or by way of mutations. " EOL + "Activation of an ability usually comes at a cost, e.g. nutrition or " EOL + "Magic power. "; + if (you.religion == GOD_TROG) text += + "<w>Renounce Religion<magenta> will make your character leave your god" EOL + "(and usually anger said god), while <w>Berserk<magenta> temporarily increases your" EOL + "damage output in melee fights."; + + formatted_string::parse_block(text, false).display(); +} |