Lines Matching refs:TestBit
56 if ((TestBit(from, value) || tempwiz) && heavy && bulky && !TestBit(inven, value)) { in take()
61 if (TestBit(from, value)) in take()
68 } else if (TestBit(inven, value)) in take()
71 else if (!TestBit(from, value)) in take()
91 if (TestBit(from, SWORD)) { in take()
95 if (TestBit(from, TWO_HANDED)) { in take()
105 if (TestBit(from, MAID)) { in take()
110 else if (TestBit(from, DEADWOOD)) { in take()
115 else if (TestBit(from, DEADNATIVE)) { in take()
120 else if (TestBit(from, DEADGOD)) { in take()
132 if (TestBit(location[position].objects, AMULET)) { in take()
143 if (TestBit(location[position].objects, MEDALION)) { in take()
151 if (TestBit(location[position].objects, TALISMAN)) { in take()
158 …if (TestBit(location[position].objects, BATHGOD) && (TestBit(wear, AMULET) || TestBit(inven, AMULE… in take()
168 if (!TestBit(location[position].objects, BATHGOD)) in take()
220 if (deposit && TestBit(location[position].objects, value)) { in throw()
247 if (value == GRENADE && TestBit(location[position].objects, value)) { in throw()
273 if (TestBit(inven, MAID) || TestBit(location[position].objects, MAID)) in drop()
275 if (TestBit(inven, DEADWOOD) || TestBit(location[position].objects, DEADWOOD)) in drop()
277 if (TestBit(inven, DEADGOD) || TestBit(location[position].objects, DEADGOD)) in drop()
279 if (TestBit(inven, DEADTIME) || TestBit(location[position].objects, DEADTIME)) in drop()
281 if (TestBit(inven, DEADNATIVE) || TestBit(location[position].objects, DEADNATIVE)) in drop()
296 if (TestBit(inven, value)) { in drop()
316 if (TestBit(location[position].objects, value)) { in drop()
322 } else if (TestBit(location[position].objects, value)) in drop()
324 else if (TestBit(wear, value)) in drop()
389 if (TestBit(inven, value) && ourtime > ate - CYCLE && in eat()
390 TestBit(inven, KNIFE)) { in eat()
398 } else if (!TestBit(inven, value)) in eat()
400 else if (!TestBit(inven, KNIFE)) in eat()