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