diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-13 20:40:39 +0000 |
commit | 9fecb788095cc5315ef5f1485e0b736563a21460 (patch) | |
tree | 4dd717741b428607d8b91ce4a5dd05044c2e0d2f /crawl-ref/source/output.cc | |
parent | cab797009b47f77520b8db9f8b427ba9ea14f63c (diff) | |
download | crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.tar.gz crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.zip |
* Add stair repelling as a bad Xom effect.
* Experimentally make tension increase the odds for good effects.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index f4e638d309..7838ce124d 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1944,7 +1944,17 @@ static std::vector<formatted_string> _get_overview_stats() char god_colour_tag[20]; god_colour_tag[0] = 0; std::string godpowers(god_name(you.religion)); - if (you.religion != GOD_NO_GOD) + if (you.religion == GOD_XOM) + { + snprintf(god_colour_tag, sizeof god_colour_tag, "<%s>", + colour_to_str(god_colour(you.religion)).c_str()); + + if (you.gift_timeout == 0) + godpowers += " - BORED"; + else if (you.gift_timeout == 1) + godpowers += " - getting BORED"; + } + else if (you.religion != GOD_NO_GOD) { if (player_under_penance()) strcpy(god_colour_tag, "<red>*"); |