Lines Matching refs:otyp
197 if (otmp->otyp == TIN) { in doeat()
199 switch (uwep->otyp) { in doeat()
240 ftmp = &objects[otmp->otyp]; in doeat()
242 if (otmp->otyp >= CORPSE && eatcorpse(otmp)) in doeat()
244 if (!rn2(7) && otmp->otyp != FORTUNE_COOKIE) { in doeat()
269 switch (otmp->otyp) { in doeat()
298 if (otmp->otyp >= CORPSE) in doeat()
303 if (otmp->otyp == DEAD_LIZARD && (Confusion > 2)) in doeat()
307 if (otmp->otyp == CARROT && !Blind) { in doeat()
313 if (otmp->otyp == FORTUNE_COOKIE) { in doeat()
319 } else if (otmp->otyp == LUMP_OF_ROYAL_JELLY) { in doeat()
452 #define CORPSE_I_TO_C(otyp) (char) ((otyp >= DEAD_ACID_BLOB)\ argument
453 ? 'a' + (otyp - DEAD_ACID_BLOB)\
454 : '@' + (otyp - DEAD_HUMAN))
458 return (strchr(POISONOUS, CORPSE_I_TO_C(otmp->otyp)) != 0); in poisonous()
465 char let = CORPSE_I_TO_C(otmp->otyp); in eatcorpse()
472 u.usick_cause = objects[otmp->otyp].oc_name; in eatcorpse()