(as well as when praying at an altar) and when searching the database. Texts might need to be tweaked a bit but it's a huge improvement. (Thanks to whoever had that idea!)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6216 c06c8d41-db1a-0410-9941-cceddc491573
VXWDDKBETFFMU7LMGN4UGB74NNKXW456KFJMWWEVOTWH35NZZZHAC
6MTXWT5SWRGXPDBRU5SQIPJRZD4GF5VZZGHSYGYBKENCTWFKCLAAC
L57WEZMVIHTFRLWVIPWOIOWHCF2I53TVUVYJ2V6IZ64R56FVTZZAC
EC26XYXTRI5NAO7FHLP57FS7Y3XI2FTHTS4JXWNHABUT2TBKYVWAC
HQTS3VQ6PNUZKHNVEWMML7JNAAAKL4DSW3KFSRCCSLGYTDHZFCCAC
DF5LOTJFSXOT7UBDHLBDLGA22OY4L7ZF6CVFP6H3KL4N5CHB5C5QC
77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC
NK2TBKWOQBD2ZRGAO4Z3HMZPIN7UX3HNUS2YHEIJUUINUTRMPODQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
KVBY4K2MCJZXNFVJZPKTYUXRXPH5LE6ZOJW4LTHOZPO6TD555IVQC
YBMFAWOYHSTLXUXTVCMSYMRXO7CGZ5XF6U4NOTN6JEC5PMVBYFJQC
2M4SUDST42HH4TBWD6DVSYCGE5BNXCQSKNZVSOLJOVA5EMGBRVRQC
DK362IHKSDADMUPD35NOTKM4WESQM37KG2PNOJRV2FGELDWULYPQC
W2KRIXSCRJPS6WDIYTHVF5IRMF3V5DWECRAWUPVTB7VZ6A2BLD4QC
NXVPOFYKJFWQWKVPQUMWH2Y2KJEZX44BUOBFJ4JD4KFGPEGYHG4QC
BINKDWGFGUPTOA7IE5KK4ZIELGU5WC3X47MYXOWU4X43EGAC5DUAC
formatted_message_history(print_god_likes(you.religion, true).c_str(),
MSGCH_TUTORIAL, 0, _get_tutorial_cols());
formatted_message_history(print_god_dislikes(you.religion, true).c_str(),
MSGCH_TUTORIAL, 0, _get_tutorial_cols());
text.str("");
std::string print_god_likes(god_type which_god, bool verbose = false);
std::string print_god_dislikes(god_type which_god, bool verbose = false);
std::string get_god_powers(god_type which_god);
std::string get_god_likes(god_type which_god, bool verbose = false);
std::string get_god_dislikes(god_type which_god, bool verbose = false);
// Only TSO, Yredelemnul, and Beogh do this, but if you switch from
// TSO to another good god, you keep your (non-daeva) permanent
// Only TSO, Yredelemnul, Kikubaaqudgha and Beogh do this, but if you
// switch from TSO to another good god, you keep your (non-daeva) permanent
std::string broken = print_god_likes(which_god, true);
std::string broken = get_god_powers(which_god);
if (!broken.empty())
{
linebreak_string2(broken, width);
formatted_string::parse_block(broken, false).display();
cprintf(EOL);
cprintf(EOL);
}
broken = get_god_likes(which_god, true);
broken = "Under prayer, there is a chance, depending on your "
"piety, that Elyvilon will protect you from deadly "
"damage. On the other hand, Elyvilon will put you "
"under penance should you be praying and attack a "
"being which is neither evil nor undead. "
broken = "Under prayer, with a chance depending on piety, Elyvilon "
"may protect you from deadly damage. "
"On the other hand, should you be praying and attack a "
"being which is neither evil nor undead, you'll be put "
"under penance."
"You can use your divine healing abilities on "
"monsters. This may turn hostile ones neutral, "
"temporarily or permanently. Neutralising works "
"better on natural beasts and worse on demons and "
"undead. If the neutralisation does not succeed, the "
"Magic will be spent, but the monster will not be "
"healed. If you manage to neutralise the monster, you "
"gain piety and the monster is healed. Should a "
"monster become permanently neutral, then you gain "
"half of its experience value and the monster tries "
"to leave the level as quickly as possible (and "
"vanishes thereafter).";
"If you use your healing abilities on monsters, this may "
"turn hostile ones neutral, temporarily or permanently. "
"Neutralising works better on natural beasts and worse on "
"demons and undead. If the neutralisation does not "
"succeed, the Magic will be spent, but the monster will "
"not be healed. If you manage to neutralise the monster, "
"you gain piety and the monster is healed. Should a "
"monster become permanently neutral, you'll gain "
"half of its experience value and the monster will "
"leave the level as quickly as possible.";
%%%%
Zin powers
Zin grants followers the ability to preach to the unenlightened masses
with various results. Later, followers will gain a power to help them
purify and strengthen their body, and eventually they can find
temporary safety in a divine refuge. Apart from that, Zin may
occasionally directly intervene to save a follower's life.
%%%%
The Shining One powers
Followers will gain use of a divine shield to protect them in battle.
Later, they can hurl blasts of cleansing flame that are particularly
effective against unholy creatures, and eventually they can ask
the Shining One to send them help in the form of a Daeva, a powerful
divine being. The Shining One may occasionally directly intervene to
save a follower's life.
%%%%
Kikubaaqudgha powers
Kikubaaqudgha offers a power to recall your undead followers to your
near surroundings, will protect you against side effects of necromantic
magic, and allow you to permanently enslave undead creatures.
Eventually, you can summon an emissary of death to fight with you.
%%%%
Yredelemnul powers
Yredelemnul gives you powers to raise corpses to fight on your side, to
recall your undead followers to your vicinity, and to drain the life
force of living creatures. Eventually, you'll gain a power to sway
hostile undeads' loyalties and make them fight for you instead.
Sometimes, Yredelemnul may directly intervene to save a follower's life.
%%%%
# no active powers of Vehumet
%%%%
Okawaru powers
Followers will soon gain the ability to temporarily increase their
strength, and, much later, to haste themselves. Okawaru will eventually
gift followers with weapons and armour.
%%%%
Makhleb powers
Makhleb offers followers various means to inflict immense damage and to
call in help from powerful demons.
%%%%
Sif Muna powers
Followers of Sif Muna can channel magical energy when they need it the
most and they gain a power to forget any spell at will, so as to learn
new ones. Sif Muna protects spellcasters against the negative effects
of miscasting a spell. Over time, followers will receive any spellbook
to be found in the realm.
Trog powers
Trog offers various powers to help you in battle, namely the ability to
go berserk at will and the ability to make wounds heal more quickly.
Later, followers may call in powerful raging allies. Eventually, Trog
will gift followers with weapons focused on damage.
%%%%
Nemelex Xobeh powers
Followers of Nemelex Xobeh gain various ways to influence fate when
playing cards.
%%%%
Elyvilon powers
The healer god offers followers various means to heal themselves and
others, including ones to rid their body from effects surpassing those
of simple damage. Elyvilon will occasionally directly intervene to
save a follower's life, and is almost certain to do so during prayer.
%%%%
Lugonu powers
Followers of Lugonu gain powers to depart the Abyss at will, to banish
monsters there, and eventually to gate themselves into this realm of
chaos - at the cost of a part of their soul.
Apart from that, they may cause great damage to monsters, and gain an
ability to corrupt the ordered world, enabling them to open a gate for
creatures of the Abyss to pass through.
%%%%
Beogh powers
Beogh encourages followers to make use of orcish gear to be found in
the dungeon. Followers can smite their foes and may even gain orcish
followers of their own who may be blessed by Beogh in battle, and can
be recalled within a level as needed. Eventually, they'll gain the
power to walk on water.
Beogh will sometimes directly intervene to save a follower's life.
%%%%