]> granicus.if.org Git - nethack/commitdiff
R792 - crocodile kicking
authorcohrs <cohrs>
Mon, 22 Apr 2002 03:58:41 +0000 (03:58 +0000)
committercohrs <cohrs>
Mon, 22 Apr 2002 03:58:41 +0000 (03:58 +0000)
Based on the limited research I've done, it does not appear that crocodiles
of any size have legs that can effectively kick doors, chests, et al.  They
could kick objects, but kicking a monster would be more of a claw attack.
It's simpler to just print a message in all cases.

doc/fixes34.1
src/dokick.c

index 5c05daaf2a7111ed73802766c7ee40ab360b4720..186042ac9c2195e9ae9ebd98a3eb0c0f65da7542 100644 (file)
@@ -88,6 +88,7 @@ attaching a single candle to fill candelabrum's last slot gave message with
        poor grammar: "The candelabrum now has seven candle attached."
 vault guards won't ask who you are if you're unconscious or paralyzed
 monsters should not repeatedly try to teleport on noteleport levels
+crocodiles legs are not designed for kicking open doors, chests, et al.
 
 
 Platform- and/or Interface-Specific Fixes
index aff4e29870b549d096f05c834a872f9f747549a3..a81023a58a3df82a9829452947eb206276e9efdb 100644 (file)
@@ -628,6 +628,9 @@ dokick()
        } else if (near_capacity() > SLT_ENCUMBER) {
                Your("load is too heavy to balance yourself for a kick.");
                no_kick = TRUE;
+       } else if (youmonst.data->mlet == S_LIZARD) {
+               Your("legs cannot kick effectively.");
+               no_kick = TRUE;
        } else if (u.uinwater && !rn2(2)) {
                Your("slow motion kick doesn't hit anything.");
                no_kick = TRUE;