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

Function can_ooze

src/monmove.c:2355–2361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2353}
2354
2355boolean
2356can_ooze(struct monst *mtmp)
2357{
2358 if (!amorphous(mtmp->data) || stuff_prevents_passage(mtmp))
2359 return FALSE;
2360 return TRUE;
2361}
2362
2363/* monster can change form into a fog if necessary */
2364boolean

Callers 3

test_moveFunction · 0.85
findtravelpathFunction · 0.85
set_apparxyFunction · 0.85

Calls 1

stuff_prevents_passageFunction · 0.85

Tested by 1

test_moveFunction · 0.68