From 8784d423f3ba3834d8d75310dc06202f458fa3f9 Mon Sep 17 00:00:00 2001 From: Alex MacDonald Date: Fri, 13 Nov 2009 16:13:41 -0500 Subject: Tied up loose ends regarding prayer to offer corpses to gods. Kiku now invokes torment when corpses are offered via prayer, in the same way that other gods accept corpses for piety. god_likes_butchery() has been removed and tutorial messages referencing the old style of offering corpses have been updated. --- crawl-ref/source/tutorial.cc | 43 ++++++++++--------------------------------- 1 file changed, 10 insertions(+), 33 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 6414ca1548..8ff6ca998d 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -981,7 +981,7 @@ void tutorial_dissection_reminder(bool healthy) return; } - if (!god_likes_butchery(you.religion)) + if (!god_likes_fresh_corpses(you.religion)) return; if (Options.tutorial_events[TUT_OFFER_CORPSE]) @@ -991,7 +991,7 @@ void tutorial_dissection_reminder(bool healthy) Options.tut_just_triggered = true; std::string text; - text += "If you don't want to eat it, consider chopping this " + text += "If you don't want to eat it, consider offering this " "corpse up under prayer as a sacrifice to "; text += god_name(you.religion); #ifdef USE_TILE @@ -1947,11 +1947,11 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) "click."; #endif - if (god_likes_butchery(you.religion)) + if (god_likes_fresh_corpses(you.religion)) { - text << " During prayer you can offer corpses to " + text << " You can offer corpses to " << god_name(you.religion) - << " by chopping them up, as well. Note that the gods will " + << " by praying over them to offer them. Note that the gods will " << "not accept rotting flesh."; } text << "\nDuring the tutorial you can reread this information at " @@ -2655,20 +2655,10 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) "viewing a corpse or chunk on the floor or by having a " "look at it in your inventory."; #endif - - if (you.duration[DUR_PRAYER] - && (god_likes_butchery(you.religion) - || god_hates_butchery(you.religion))) - { - text << "\nRemember, though, to wait until your prayer is over, " - "or the corpse will instead be sacrificed to " - << god_name(you.religion) - << "."; - } break; case TUT_OFFER_CORPSE: - if (!god_likes_butchery(you.religion) + if (!god_likes_fresh_corpses(you.religion) || you.hunger_state < HS_SATIATED) { return; @@ -2677,21 +2667,8 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) text << "Hey, that monster left a corpse! If you don't need it for " "food or other purposes, you can sacrifice it to " << god_name(you.religion) - << " by chopping it while praying. "; + << " by praying over it to offer it. "; - if (_cant_butcher()) - { - text << "(Or you could sacrifice it if it weren't for " - "the fact that you can't let go of your cursed " - "non-chopping weapon)"; - } - else if (_num_butchery_tools() == 0) - { - text << "(Or you could sacrifice it if you had a " - "chopping weapon; you should pick up the first knife, " - "dagger, sword or axe you find if you want to be able " - "to chop up corpses)"; - } break; case TUT_SHIFT_RUN: @@ -4023,11 +4000,11 @@ void tutorial_describe_item(const item_def &item) "a sharp implement to produce chunks for food (though they " "may not be healthy)"; - if (!food_is_rotten(item) && god_likes_butchery(you.religion)) + if (!food_is_rotten(item) && god_likes_fresh_corpses(you.religion)) { - ostr << ", or as a sacrifice to " + ostr << ", or offered as a sacrifice by " << god_name(you.religion) - << " (while praying)"; + << " praying over them."; } ostr << ". "; -- cgit v1.2.3-54-g00ecf