Lines Matching refs:otyp
165 int delay = -objects[otmp->otyp].oc_delay;
171 switch (otmp->otyp) {
202 if (otmp->otyp == HELMET) {
208 } else if (otmp->otyp == SHIELD) {
211 if (uwep && uwep->otyp == TWO_HANDED_SWORD)
215 } else if (otmp->otyp == PAIR_OF_GLOVES) {
226 if (otmp->otyp != ELVEN_CLOAK || uarm2) {
243 delay = -objects[otmp->otyp].oc_delay;
303 oldprop = u.uprops[PROP(otmp->otyp)].p_flgs;
304 u.uprops[PROP(otmp->otyp)].p_flgs |= mask;
305 switch (otmp->otyp) {
336 if (!(u.uprops[PROP(obj->otyp)].p_flgs & mask))
338 u.uprops[PROP(obj->otyp)].p_flgs &= ~mask;
339 switch (obj->otyp) {
382 if (uleft && uleft->otyp == RIN_PROTECTION)
384 if (uright && uright->otyp == RIN_PROTECTION)
440 otmph->otyp == ELVEN_CLOAK ||
441 otmph->otyp == LEATHER_ARMOR ||
442 otmph->otyp == STUDDED_LEATHER_ARMOR) {