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

Function histemple_at

src/priest.c:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152staticfn boolean
153histemple_at(struct monst *priest, coordxy x, coordxy y)
154{
155 return (boolean) (priest && priest->ispriest
156 && (EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE))
157 && on_level(&(EPRI(priest)->shrlevel), &u.uz));
158}
159
160boolean
161inhistemple(struct monst *priest)

Callers 3

inhistempleFunction · 0.85
pri_moveFunction · 0.85
findpriestFunction · 0.85

Calls 2

in_roomsFunction · 0.85
on_levelFunction · 0.85

Tested by

no test coverage detected