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

Function jelly_ok

src/apply.c:3606–3613  ·  view source on GitHub ↗

getobj callback for object to rub royal jelly on */

Source from the content-addressed store, hash-verified

3604
3605/* getobj callback for object to rub royal jelly on */
3606staticfn int
3607jelly_ok(struct obj *obj)
3608{
3609 if (obj && obj->otyp == EGG)
3610 return GETOBJ_SUGGEST;
3611
3612 return GETOBJ_EXCLUDE;
3613}
3614
3615staticfn int
3616use_royal_jelly(struct obj **optr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected