Lines Matching defs:value

46 	int     firstnumber, heavy, bulky, value;
58 value = wordvalue[wordnumber];
59 printf("%s:\n", objsht[value]);
60 heavy = (carrying + objwt[value]) <= WEIGHT;
61 bulky = (encumber + objcumber[value]) <= CUMBER;
62 if ((testbit(from, value) || wiz || tempwiz) &&
63 heavy && bulky && !testbit(inven, value)) {
64 setbit(inven, value);
65 carrying += objwt[value];
66 encumber += objcumber[value];
68 if (testbit(from, value))
72 clearbit(from, value);
73 if (value == MEDALION)
75 } else if (testbit(inven, value))
77 A_OR_AN_OR_BLANK(value),
78 objsht[value]);
79 else if (!testbit(from, value))
81 objsht[value]);
83 printf("The %s %stoo heavy.\n", objsht[value],
84 IS_OR_ARE(value));
87 objsht[value], IS_OR_ARE(value));
216 int first, value;
249 value = wordvalue[wordnumber];
251 testbit(location[position].objects, value)) {
252 clearbit(location[position].objects, value);
253 if (value != GRENADE)
255 value);
265 if (value == ROPE && position == FINAL)
282 if (value == GRENADE &&
284 value)) {
304 int firstnumber, value;
310 value = wordvalue[wordnumber];
311 if (value == BODY) { /* special case */
315 value = MAID;
318 value = DEADWOOD;
321 value = DEADGOD;
324 value = DEADTIME;
327 value = DEADNATIVE;
329 if (wordtype[wordnumber] == NOUNS && value == DOOR) {
334 } else if (objsht[value] == NULL) {
340 printf("%s:\n", objsht[value]);
341 if (testbit(inven, value)) {
342 clearbit(inven, value);
343 carrying -= objwt[value];
344 encumber -= objcumber[value];
345 if (value == BOMB) {
352 if (value != AMULET && value != MEDALION &&
353 value != TALISMAN)
355 value);
366 objsht[value]);
368 value)) {
375 value))
377 else if (testbit(wear, value))
410 int firstnumber, value;
415 value = wordvalue[wordnumber];
416 if (wordtype[wordnumber] != OBJECT || objsht[value] == NULL)
417 value = -2;
418 switch (value) {
430 A_OR_AN_OR_BLANK(value), objsht[value]);
439 printf("%s:\n", objsht[value]);
440 if (testbit(inven, value) &&
443 clearbit(inven, value);
444 carrying -= objwt[value];
445 encumber -= objcumber[value];
451 } else if (!testbit(inven, value)) {
453 objsht[value]);