Lines Matching refs:testbit

62 			if ((testbit(from, value) || wiz || tempwiz) &&  in take()
63 heavy && bulky && !testbit(inven, value)) { in take()
68 if (testbit(from, value)) in take()
75 } else if (testbit(inven, value)) in take()
79 else if (!testbit(from, value)) in take()
101 if (testbit(from, SWORD)) { in take()
105 if (testbit(from, TWO_HANDED)) { in take()
115 if (testbit(from, MAID)) { in take()
119 } else if (testbit(from, DEADWOOD)) { in take()
123 } else if (testbit(from, DEADNATIVE)) { in take()
128 if (testbit(from, DEADGOD)) { in take()
141 if (testbit(location[position].objects, AMULET)) { in take()
158 if (testbit(location[position].objects, MEDALION)) { in take()
170 if (testbit(location[position].objects, TALISMAN)) { in take()
178 if (testbit(location[position].objects, BATHGOD) && in take()
179 (testbit(wear, AMULET) || testbit(inven, AMULET))) { in take()
195 if (!testbit(location[position].objects, in take()
251 testbit(location[position].objects, value)) { in throw()
283 testbit(location[position].objects, in throw()
313 if (testbit(inven, MAID) || in drop()
314 testbit(location[position].objects, MAID)) in drop()
316 else if (testbit(inven, DEADWOOD) || in drop()
317 testbit(location[position].objects, DEADWOOD)) in drop()
319 else if (testbit(inven, DEADGOD) || in drop()
320 testbit(location[position].objects, DEADGOD)) in drop()
322 else if (testbit(inven, DEADTIME) || in drop()
323 testbit(location[position].objects, DEADTIME)) in drop()
325 else if (testbit(inven, DEADNATIVE) || in drop()
326 testbit(location[position].objects, DEADNATIVE)) in drop()
341 if (testbit(inven, value)) { in drop()
367 if (testbit(location[position].objects, in drop()
374 } else if (testbit(location[position].objects, in drop()
377 else if (testbit(wear, value)) in drop()
440 if (testbit(inven, value) && in eat()
442 testbit(inven, KNIFE)) { in eat()
451 } else if (!testbit(inven, value)) { in eat()
454 } else if (!testbit(inven, KNIFE)) in eat()