Home | History | Annotate | Download | only in hack

Lines Matching refs:otyp

134 	if (obj->otyp == CRYSKNIFE)
135 obj->otyp = WORM_TOOTH;
377 if (obj->otyp == EXPENSIVE_CAMERA) {
380 } else if (obj->otyp == EGG) {
392 } else if (obj->otyp == BOOMERANG) {
399 if (obj->otyp == PICK_AXE && shkcatch(obj))
402 mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 :
414 if (obj->otyp < ROCK) {
416 uwep->otyp != obj->otyp + (BOW - ARROW))
421 } else if (obj->otyp == BOOMERANG)
428 cutworm(mon, bhitpos.x, bhitpos.y, obj->otyp);
433 if (obj->otyp < BOOMERANG && rn2(3)) {
439 miss(objects[obj->otyp].oc_name, mon);
440 } else if (obj->otyp == HEAVY_IRON_BALL) {
464 if (obj->dknown && objects[obj->otyp].oc_name_known) {
465 if (objects[obj->otyp].g_val > 0) {
487 if (obj->otyp == CRYSKNIFE)
488 obj->otyp = WORM_TOOTH;