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

Function accessory_has_effect

src/eat.c:2257–2262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2255}
2256
2257staticfn void
2258accessory_has_effect(struct obj *otmp)
2259{
2260 pline("Magic spreads through your body as you digest the %s.",
2261 (otmp->oclass == RING_CLASS) ? "ring" : "amulet");
2262}
2263
2264staticfn void
2265eataccessory(struct obj *otmp)

Callers 1

eataccessoryFunction · 0.85

Calls 1

plineFunction · 0.70

Tested by

no test coverage detected