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

Function carrying_stoning_corpse

src/invent.c:1507–1516  ·  view source on GitHub ↗

return inventory object of type that will petrify on touch */

Source from the content-addressed store, hash-verified

1505
1506/* return inventory object of type that will petrify on touch */
1507struct obj *
1508carrying_stoning_corpse(void)
1509{
1510 struct obj *otmp;
1511
1512 for (otmp = gi.invent; otmp; otmp = otmp->nobj)
1513 if (otmp->otyp == CORPSE && touch_petrifies(&mons[otmp->corpsenm]))
1514 break;
1515 return otmp;
1516}
1517
1518/* Fictional and not-so-fictional currencies.
1519 * http://concord.wikia.com/wiki/List_of_Fictional_Currencies

Callers 1

better_not_take_that_offFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected