MCPcopy Index your code
hub / github.com/NetHack/NetHack / cannot_push_msg

Function cannot_push_msg

src/hack.c:246–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246staticfn void
247cannot_push_msg(struct obj *otmp, coordxy sx, coordxy sy)
248{
249 const char *what;
250
251 what = the(xname(otmp));
252 if (u.usteed)
253 pline("%s tries to move %s, but cannot.",
254 YMonnam(u.usteed), what);
255 else
256 You("try to move %s, but in vain.", what);
257 if (Blind)
258 feel_location(sx, sy);
259}
260
261staticfn int
262cannot_push(struct obj *otmp, coordxy sx, coordxy sy)

Callers 1

moverock_coreFunction · 0.85

Calls 6

theFunction · 0.85
xnameFunction · 0.85
YMonnamFunction · 0.85
YouFunction · 0.85
feel_locationFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected