MCPcopy Create free account
hub / github.com/NetHack/NetHack / fix_petrification

Function fix_petrification

src/eat.c:866–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866void
867fix_petrification(void)
868{
869 char buf[BUFSZ];
870
871 if (Hallucination)
872 Sprintf(buf, "What a pity--you just ruined a future piece of %sart!",
873 ACURR(A_CHA) > 15 ? "fine " : "");
874 else
875 Strcpy(buf, "You feel limber!");
876 make_stoned(0L, buf, 0, (char *) 0);
877}
878
879/*
880 * If you add an intrinsic that can be gotten by eating a monster, add it

Callers 3

peffect_acidFunction · 0.85
cprefxFunction · 0.85
zapyourselfFunction · 0.85

Calls 1

make_stonedFunction · 0.85

Tested by

no test coverage detected