1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* hack.timeout.c - version 1.0.3 */
3 /* $FreeBSD: src/games/hack/hack.timeout.c,v 1.3 1999/11/16 02:57:12 billf Exp $ */
4 /* $DragonFly: src/games/hack/hack.timeout.c,v 1.4 2006/08/21 19:45:32 pavalos Exp $ */
8 static void stoned_dialogue(void);
17 for (upp
= u
.uprops
; upp
< u
.uprops
+ SIZE(u
.uprops
); upp
++)
18 if ((upp
->p_flgs
& TIMEOUT
) && !--upp
->p_flgs
) {
22 switch (upp
- u
.uprops
) {
24 killer
= "cockatrice";
28 pline("You die because of food poisoning.");
29 killer
= u
.usick_cause
;
33 pline("You feel yourself slowing down.");
36 pline("You feel less confused now.");
39 pline("You can see again.");
44 pline("You are no longer invisible.");
53 /* He is being petrified - dialogue by inmet!tower */
54 static const char *stoned_texts
[] = {
55 "You are slowing down.", /* 5 */
56 "Your limbs are stiffening.", /* 4 */
57 "Your limbs have turned to stone.", /* 3 */
58 "You have turned to stone.", /* 2 */
59 "You are a statue." /* 1 */
65 long i
= (Stoned
& TIMEOUT
);
67 if (i
> 0 && i
<= SIZE(stoned_texts
))
68 pline(stoned_texts
[SIZE(stoned_texts
) - i
]);