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

Function Goodbye

src/role.c:2142–2157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2140}
2141
2142const char *
2143Goodbye(void)
2144{
2145 switch (Role_switch) {
2146 case PM_KNIGHT:
2147 return "Fare thee well"; /* Olde English */
2148 case PM_SAMURAI:
2149 return "Sayonara"; /* Japanese */
2150 case PM_TOURIST:
2151 return "Aloha"; /* Hawaiian */
2152 case PM_VALKYRIE:
2153 return "Farvel"; /* Norse */
2154 default:
2155 return "Goodbye";
2156 }
2157}
2158
2159/* if pmindex is any player race (not necessarily the hero's),
2160 return a pointer to the races[] entry for it; if pmindex is for some

Callers 2

really_doneFunction · 0.85
losexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected