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

Function rnd_treefruit_at

src/mkobj.c:1983–1987  ·  view source on GitHub ↗

called when a tree is kicked; never returns Null */

Source from the content-addressed store, hash-verified

1981
1982/* called when a tree is kicked; never returns Null */
1983struct obj *
1984rnd_treefruit_at(coordxy x, coordxy y)
1985{
1986 return mksobj_at(ROLL_FROM(treefruits), x, y, TRUE, FALSE);
1987}
1988
1989/* for describing objects embedded in trees */
1990boolean

Callers 3

digFunction · 0.85
mdig_tunnelFunction · 0.85
kick_nondoorFunction · 0.85

Calls 1

mksobj_atFunction · 0.85

Tested by

no test coverage detected