Lines Matching refs:otyp
192 if(otmp->otyp == TIN){ in doeat()
194 switch(uwep->otyp) { in doeat()
234 ftmp = &objects[otmp->otyp]; in doeat()
236 if(otmp->otyp >= CORPSE && eatcorpse(otmp)) goto eatx; in doeat()
237 if(!rn2(7) && otmp->otyp != FORTUNE_COOKIE) { in doeat()
262 switch(otmp->otyp){ in doeat()
289 if(otmp->otyp >= CORPSE) in doeat()
294 if(otmp->otyp == DEAD_LIZARD && (Confusion > 2)) in doeat()
298 if(otmp->otyp == CARROT && !Blind){ in doeat()
304 if(otmp->otyp == FORTUNE_COOKIE) { in doeat()
311 if(otmp->otyp == LUMP_OF_ROYAL_JELLY) { in doeat()
437 #define CORPSE_I_TO_C(otyp) (char) ((otyp >= DEAD_ACID_BLOB)\ argument
438 ? 'a' + (otyp - DEAD_ACID_BLOB)\
439 : '@' + (otyp - DEAD_HUMAN))
443 return(strchr(POISONOUS, CORPSE_I_TO_C(otmp->otyp)) != 0); in poisonous()
450 char let = CORPSE_I_TO_C(otmp->otyp); in eatcorpse()
458 u.usick_cause = objects[otmp->otyp].oc_name; in eatcorpse()