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

Function u_rooted

src/hack.c:1693–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1691}
1692
1693boolean
1694u_rooted(void)
1695{
1696 if (!gy.youmonst.data->mmove) {
1697 You("are rooted %s.",
1698 Levitation || Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)
1699 ? "in place"
1700 : "to the ground");
1701 nomul(0);
1702 return TRUE;
1703 }
1704 return FALSE;
1705}
1706
1707void
1708notice_mon(struct monst *mtmp)

Callers 3

dodownFunction · 0.85
doupFunction · 0.85
domove_coreFunction · 0.85

Calls 2

YouFunction · 0.85
nomulFunction · 0.85

Tested by

no test coverage detected