Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
boolean
77
is_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
85
boolean
86
is_ice(coordxy x, coordxy y)
Callers
15
Amulet_off
Function · 0.85
boulder_hits_pool
Function · 0.85
dodown
Function · 0.85
wizterrainwish
Function · 0.85
test_move
Function · 0.85
avoid_moving_on_liquid
Function · 0.85
pooleffects
Function · 0.85
lookaround
Function · 0.85
levitation_dialogue
Function · 0.85
dig_check
Function · 0.85
liquid_flow
Function · 0.85
dighole
Function · 0.85
Calls
2
is_pool
Function · 0.85
is_lava
Function · 0.85
Tested by
1
test_move
Function · 0.68