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

Function holetime

src/dig.c:596–602  ·  view source on GitHub ↗

When will hole be finished? Very rough indication used by shopkeeper. */

Source from the content-addressed store, hash-verified

594
595/* When will hole be finished? Very rough indication used by shopkeeper. */
596int
597holetime(void)
598{
599 if (go.occupation != dig || !*u.ushops)
600 return -1;
601 return ((250 - svc.context.digging.effort) / 20);
602}
603
604/* Return typ of liquid to fill a hole with, or ROOM, if no liquid nearby */
605schar

Callers 1

shk_moveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected