Home | History | Annotate | Download | only in hack

Lines Matching refs:otyp

86 mksobj_at(int otyp, int x, int y)
88 struct obj *otmp = mksobj(otyp);
113 mksobj(int otyp)
116 char let = objects[otyp].oc_olet;
124 otmp->otyp = otyp;
128 otmp->quan = (otmp->otyp <= ROCK) ? rn1(6, 6) : 1;
137 if (otmp->otyp >= CORPSE)
141 if (otmp->otyp == TIN)
167 if (otmp->otyp == WAN_WISHING)
171 (objects[otmp->otyp].bits & NODIR) ? 11 : 4);
174 if (objects[otmp->otyp].bits & SPEC) {
180 } else if (otmp->otyp == RIN_TELEPORTATION ||
181 otmp->otyp == RIN_AGGRAVATE_MONSTER ||
182 otmp->otyp == RIN_HUNGER || !rn2(9))
201 int wt = objects[obj->otyp].oc_weight;