buried punishment ball

Prevent burying a ball from ending your punishment.

When you bury the ball, internally NetHack Punishment
ceases, but a new trap type of TT_BURIEDBALL  immediately
kicks in (acting similar to TT_INFLOOR in some ways).
You can eventually work the ball free (or teleport, etc.),
but that will just return you back to normal Punishment.
This commit is contained in:
nethack.allison
2003-03-11 03:40:17 +00:00
parent 9fe995d2a3
commit 176d31c980
14 changed files with 198 additions and 29 deletions

View File

@@ -598,7 +598,8 @@ hurtle(dx, dy, range, verbose)
} else if (u.utrap) {
You("are anchored by the %s.",
u.utraptype == TT_WEB ? "web" : u.utraptype == TT_LAVA ? "lava" :
u.utraptype == TT_INFLOOR ? surface(u.ux,u.uy) : "trap");
u.utraptype == TT_INFLOOR ? surface(u.ux,u.uy) :
u.utraptype == TT_BURIEDBALL ? "buried ball" : "trap");
nomul(0);
return;
}