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

Function is_pool_or_lava

src/dbridge.c:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76boolean
77is_pool_or_lava(coordxy x, coordxy y)
78{
79 if (is_pool(x, y) || is_lava(x, y))
80 return TRUE;
81 else
82 return FALSE;
83}
84
85boolean
86is_ice(coordxy x, coordxy y)

Callers 15

Amulet_offFunction · 0.85
boulder_hits_poolFunction · 0.85
dodownFunction · 0.85
wizterrainwishFunction · 0.85
test_moveFunction · 0.85
avoid_moving_on_liquidFunction · 0.85
pooleffectsFunction · 0.85
lookaroundFunction · 0.85
levitation_dialogueFunction · 0.85
dig_checkFunction · 0.85
liquid_flowFunction · 0.85
digholeFunction · 0.85

Calls 2

is_poolFunction · 0.85
is_lavaFunction · 0.85

Tested by 1

test_moveFunction · 0.68