From a6f2d01db02e468ece617edd3f70d0365d43bfe3 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Mon, 2 Nov 2009 22:00:47 -0500 Subject: Remove Feawn's prayer ability, make plant walking a passive bonus. Experimentally set the movement delay for walking on plants to 1.5 * normal movement delay. Maybe it should be higher? --- crawl-ref/source/acr.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 5565d8e2ec..06383b6d69 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3868,7 +3868,26 @@ static void _move_player(coord_def move) monsters* targ_monst = monster_at(targ); if (feawn_passthrough(targ_monst)) + { + // Moving on a plant takes 1.5 x normal move delay. We + // will print a message about it but only when moving + // from open space->plant (hopefully this will cut down + // on the message spam). + you.time_taken = div_rand_round(you.time_taken * 3, 2); + + monsters * current = monster_at(you.pos()); + if(!current || !feawn_passthrough(current)) + { + // Probably need a better messages. -cao + if(mons_genus(targ_monst->type == MONS_FUNGUS)) + { + mprf("You walk carefully through the fungus."); + } + else + mprf("You walk carefully throuh the plants."); + } targ_monst = NULL; + } const bool targ_pass = you.can_pass_through(targ); -- cgit v1.2.3-54-g00ecf