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

Function gods_upset

src/pray.c:1435–1443  ·  view source on GitHub ↗

The g_align god is upset with you. */

Source from the content-addressed store, hash-verified

1433
1434/* The g_align god is upset with you. */
1435staticfn void
1436gods_upset(aligntyp g_align)
1437{
1438 if (g_align == u.ualign.type)
1439 u.ugangr++;
1440 else if (u.ugangr)
1441 u.ugangr--;
1442 angrygods(g_align);
1443}
1444
1445staticfn void
1446consume_offering(struct obj *otmp)

Callers 3

offer_too_soonFunction · 0.85
offer_negative_valuedFunction · 0.85
prayer_doneFunction · 0.85

Calls 1

angrygodsFunction · 0.85

Tested by

no test coverage detected