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

Function on_start

src/quest.c:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23staticfn void prisoner_speaks(struct monst *);
24
25staticfn void
26on_start(void)
27{
28 if (!Qstat(first_start)) {
29 qt_pager("firsttime");
30 Qstat(first_start) = TRUE;
31 } else if ((u.uz0.dnum != u.uz.dnum) || (u.uz0.dlevel < u.uz.dlevel)) {
32 if (Qstat(not_ready) <= 2)
33 qt_pager("nexttime");
34 else
35 qt_pager("othertime");
36 }
37}
38
39staticfn void
40on_locate(void)

Callers 1

onquestFunction · 0.85

Calls 1

qt_pagerFunction · 0.85

Tested by

no test coverage detected