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

Function tinnable

src/apply.c:2166–2174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2164}
2165
2166boolean
2167tinnable(struct obj *corpse)
2168{
2169 if (corpse->oeaten)
2170 return 0;
2171 if (!mons[corpse->corpsenm].cnutrit)
2172 return 0;
2173 return 1;
2174}
2175
2176staticfn void
2177use_tinning_kit(struct obj *obj)

Callers 2

tin_okFunction · 0.85
floorfoodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected