git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1214 c06c8d41-db1a-0410-9941-cceddc491573
ONKB2ZZ2MWY7UGPBHW6EE4N3EEPJONPRRALEFZZR2YTZHNEIGV5AC std::string god_prayer_reaction(){std::string result;result += god_name(you.religion);result += " is ";result +=(you.piety > 130) ? "exalted by your worship" :(you.piety > 100) ? "extremely pleased with you" :(you.piety > 70) ? "greatly pleased with you" :(you.piety > 40) ? "most pleased with you" :(you.piety > 20) ? "pleased with you" :(you.piety > 5) ? "noncommittal": "displeased";
strcat(info, (you.piety > 130) ? "exalted by your worship" :(you.piety > 100) ? "extremely pleased with you" :(you.piety > 70) ? "greatly pleased with you" :(you.piety > 40) ? "most pleased with you" :(you.piety > 20) ? "pleased with you" :(you.piety > 5) ? "noncommittal": "displeased");strcat(info, ".");mpr( info, MSGCH_PRAY, you.religion );
if (you.religion != GOD_XOM){ // Xom doesn't caretext += god_name(you.religion);text += " is ";text += ((you.piety <= 5) ? "displeased" :(you.piety <= 20) ? "noncommittal" :(you.piety <= 40) ? "pleased with you" :(you.piety <= 70) ? "most pleased with you" :(you.piety <= 100) ? "greatly pleased with you" :(you.piety <= 130) ? "extremely pleased with you": "exalted by your worship");text += ".";
if (you.religion != GOD_XOM) // Xom doesn't care{text += god_prayer_reaction();