ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/item.C
(Generate patch)

Comparing deliantra/server/common/item.C (file contents):
Revision 1.42 by root, Wed Apr 9 14:36:47 2008 UTC vs.
Revision 1.44 by root, Sun Apr 13 21:22:47 2008 UTC

574 break; 574 break;
575 575
576 case ALTAR: 576 case ALTAR:
577 case TRIGGER_ALTAR: 577 case TRIGGER_ALTAR:
578 case IDENTIFY_ALTAR: 578 case IDENTIFY_ALTAR:
579 case CONVERTER:
579 if (op->slaying == shstr_money) 580 if (op->slaying == shstr_money)
580 { 581 {
581 bool wrap = !!buf.size (); 582 bool wrap = !!buf.size ();
582 583
583 if (wrap) buf << " ["; 584 if (wrap) buf << " [";
589 if (op->stats.food % coin->value == 0) 590 if (op->stats.food % coin->value == 0)
590 break; 591 break;
591 592
592 sint32 coins = op->stats.food / coin->value; 593 sint32 coins = op->stats.food / coin->value;
593 594
594 buf.printf ("drop %d %s", coins, coins == 1 ? &coin->name : &coin->name_pl); 595 buf.printf ("drop %d %s (or equivalent)", coins, coins == 1 ? &coin->name : &coin->name_pl);
595 596
596 if (wrap) buf << ']'; 597 if (wrap) buf << ']';
597 } 598 }
598 break; 599 break;
599 600

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines