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

Function onquest

src/quest.c:89–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void
90onquest(void)
91{
92 if (u.uevent.qcompleted || Not_firsttime)
93 return;
94 if (!Is_special(&u.uz))
95 return;
96
97 if (Is_qstart(&u.uz))
98 on_start();
99 else if (Is_qlocate(&u.uz))
100 on_locate();
101 else if (Is_nemesis(&u.uz))
102 on_goal();
103 return;
104}
105
106void
107nemdead(void)

Callers 1

goto_levelFunction · 0.85

Calls 4

Is_specialFunction · 0.85
on_startFunction · 0.85
on_locateFunction · 0.85
on_goalFunction · 0.85

Tested by

no test coverage detected