HomeSort by: relevance | last modified time | path
    Searched refs:quantity (Results 1 - 9 of 9) sorted by relevancy

  /src/games/rogue/
throw.c 97 if ((weapon->in_use_flags & BEING_WIELDED) && (weapon->quantity <= 1)) {
146 t = weapon->quantity;
147 weapon->quantity = 1;
149 weapon->quantity = t;
230 new_weapon->quantity = 1;
255 t = weapon->quantity;
256 weapon->quantity = 1;
259 weapon->quantity = t;
object.c 237 obj->quantity = get_rand((2 * cur_level), (16 * cur_level));
239 obj->quantity += obj->quantity / 2;
305 retstring = obj->quantity > 1 ? "scrolls " : "scroll ";
308 retstring = obj->quantity > 1 ? "potions " : "potion ";
323 retstring=obj->quantity > 1 ? "darts " : "dart ";
326 retstring=obj->quantity > 1 ? "arrows " : "arrow ";
329 retstring=obj->quantity > 1 ? "daggers " : "dagger ";
332 retstring=obj->quantity > 1?"shurikens ":"shuriken ";
539 obj->quantity = get_rand(3, 15)
    [all...]
pack.c 134 rogue.gold += obj->quantity;
197 if ((obj->quantity > 1) && (obj->what_is != WEAPON)) {
198 obj->quantity--;
201 new->quantity = 1;
237 op->quantity += obj->quantity;
479 count += obj->quantity;
inventory.c 544 snprintf(desc, desclen, "%d pieces of gold", obj->quantity);
567 if (obj->quantity > 1) {
569 "%d rations of %s", obj->quantity,
579 desc_count(&db, obj->quantity);
592 desc_count(&db, obj->quantity);
604 desc_count(&db, obj->quantity);
619 desc_count(&db, obj->quantity);
646 desc_count(&db, obj->quantity);
spec_hit.c 215 t = obj->quantity;
216 obj->quantity = 1;
221 obj->quantity = ((obj->what_is != WEAPON) ? t : 1);
258 obj->quantity = get_rand((cur_level * 15), (cur_level * 30));
score.c 571 val *= obj->quantity;
587 val = id_scrolls[wc].value * obj->quantity;
590 val = id_potions[wc].value * obj->quantity;
use.c 221 ((rogue.weapon->quantity <= 1) ? "s" : ""),
302 if (obj->quantity > 1) {
303 obj->quantity--;
rogue.h 206 #define hp_to_kill quantity
223 short quantity; /* hit points to kill */ member in struct:obj
init.c 189 obj->quantity = get_rand(25, 35);

Completed in 16 milliseconds