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

Function picked_container

src/shk.c:3084–3100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3082}
3083
3084void
3085picked_container(struct obj *obj)
3086{
3087 struct obj *otmp;
3088
3089 /* the "top" container is treated in the calling fn */
3090 for (otmp = obj->cobj; otmp; otmp = otmp->nobj) {
3091 if (otmp->oclass == COIN_CLASS)
3092 continue;
3093
3094 if (otmp->no_charge)
3095 otmp->no_charge = 0;
3096
3097 if (Has_contents(otmp))
3098 picked_container(otmp);
3099 }
3100}
3101
3102staticfn boolean
3103special_stock(

Callers 6

addinv_core0Function · 0.85
mon_leaveFunction · 0.85
impact_dropFunction · 0.85
ship_objectFunction · 0.85
billableFunction · 0.85
addtobillFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected