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

Function avoid_ceiling

src/dungeon.c:1700–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1698}
1699
1700boolean
1701avoid_ceiling(d_level *lev)
1702{
1703 /* The quest is challenging since parts of the level
1704 may have ceilings and other parts may not; Avoid
1705 the ambiguity there by testing with avoid_ceiling()
1706 and using alternative messaging that avoids the term
1707 ceiling altogether there */
1708 if (In_quest(lev) || !has_ceiling(lev))
1709 return TRUE;
1710 return FALSE;
1711}
1712
1713const char *
1714ceiling(coordxy x, coordxy y)

Callers 1

seffect_earthFunction · 0.85

Calls 2

In_questFunction · 0.85
has_ceilingFunction · 0.85

Tested by

no test coverage detected