Home | History | Annotate | Download | only in hack

Lines Matching defs:otyp

170 			(obj->otyp == TRIPE_RATION) ? DOGFOOD :
171 (obj->otyp < CARROT) ? ACCFOOD :
172 (obj->otyp < CORPSE) ? MANFOOD :
174 obj->otyp == DEAD_COCKATRICE)
201 xchar gx = 0, gy = 0, gtyp, otyp; /* current goal */
251 if ((otyp = dogfood(obj)) <= CADAVER) {
278 otyp = dogfood(obj);
279 if (otyp > gtyp || otyp == UNDEF)
283 if (otyp < MANFOOD &&
285 if (otyp < gtyp || (otyp == gtyp &&
289 gtyp = otyp;
338 if (obj->otyp == TRIPE_RATION) {
399 (otyp = dogfood(obj)) < MANFOOD &&
400 (otyp < ACCFOOD || edog->hungrytime <= moves)) {
411 moves + obj->quan * objects[obj->otyp].oc_delay;
415 5 * obj->quan * objects[obj->otyp].nutrition;
420 if (otyp != CADAVER)
512 objects[obj->otyp].oc_name);