Kicking a grave may topple the gravestone
...with similar alignment hit as when digging up a grave.
This commit is contained in:
@@ -892,6 +892,7 @@ add messages for trying to pick up some terrain features
|
|||||||
boomerang makes noise when hitting a sink
|
boomerang makes noise when hitting a sink
|
||||||
non-pet rust monsters would eat rust-proofed non-digestibles but ignore
|
non-pet rust monsters would eat rust-proofed non-digestibles but ignore
|
||||||
those non-digestibles otherwise
|
those non-digestibles otherwise
|
||||||
|
kicking a grave may topple the gravestone
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
23
src/dokick.c
23
src/dokick.c
@@ -991,7 +991,28 @@ dokick()
|
|||||||
exercise(A_DEX, TRUE);
|
exercise(A_DEX, TRUE);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
if(IS_GRAVE(maploc->typ) || maploc->typ == IRONBARS)
|
if (IS_GRAVE(maploc->typ)) {
|
||||||
|
if(Levitation) goto dumb;
|
||||||
|
if (rn2(4)) goto ouch;
|
||||||
|
exercise(A_WIS, FALSE);
|
||||||
|
if (Role_if(PM_ARCHEOLOGIST) ||
|
||||||
|
Role_if(PM_SAMURAI) ||
|
||||||
|
((u.ualign.type == A_LAWFUL) && (u.ualign.record > -10))) {
|
||||||
|
adjalign(-sgn(u.ualign.type));
|
||||||
|
}
|
||||||
|
maploc->typ = ROOM;
|
||||||
|
maploc->doormask = 0;
|
||||||
|
(void) mksobj_at(ROCK, x,y, TRUE, FALSE);
|
||||||
|
del_engr_at(x,y);
|
||||||
|
if (Blind)
|
||||||
|
pline("Crack! %s broke!", Something);
|
||||||
|
else {
|
||||||
|
pline_The("headstone topples over and breaks!");
|
||||||
|
newsym(x,y);
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if(maploc->typ == IRONBARS)
|
||||||
goto ouch;
|
goto ouch;
|
||||||
if(IS_TREE(maploc->typ)) {
|
if(IS_TREE(maploc->typ)) {
|
||||||
struct obj *treefruit;
|
struct obj *treefruit;
|
||||||
|
|||||||
Reference in New Issue
Block a user