MCPcopy Index your code
hub / github.com/NetHack/NetHack / offer_negative_valued

Function offer_negative_valued

src/pray.c:1591–1599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589}
1590
1591staticfn void
1592offer_negative_valued(boolean highaltar, aligntyp altaralign)
1593{
1594 if (altaralign != u.ualign.type && highaltar) {
1595 desecrate_altar(highaltar, altaralign);
1596 } else {
1597 gods_upset(altaralign);
1598 }
1599}
1600
1601staticfn void
1602offer_fake_amulet(

Callers 2

offer_fake_amuletFunction · 0.85
offer_corpseFunction · 0.85

Calls 2

desecrate_altarFunction · 0.85
gods_upsetFunction · 0.85

Tested by

no test coverage detected