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

Function Can_dig_down

src/dungeon.c:1648–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646}
1647
1648boolean
1649Can_dig_down(d_level *lev)
1650{
1651 return (boolean) (!svl.level.flags.hardfloor
1652 && !Is_botlevel(lev)
1653 && !Invocation_lev(lev));
1654}
1655
1656/*
1657 * Like Can_dig_down (above), but also allows falling through on the

Callers 6

dig_checkFunction · 0.85
digactualholeFunction · 0.85
Can_fall_thruFunction · 0.85
use_defensiveFunction · 0.85
do_break_wandFunction · 0.85
rndtrapFunction · 0.85

Calls 2

Is_botlevelFunction · 0.85
Invocation_levFunction · 0.85

Tested by

no test coverage detected