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.76 by root, Fri Mar 26 15:18:46 2010 UTC vs.
Revision 1.77 by root, Sat Apr 3 02:27:24 2010 UTC

47 * Note that using the term 'human' may not be very accurate, humanoid 47 * Note that using the term 'human' may not be very accurate, humanoid
48 * may be better. 48 * may be better.
49 * Basically, for the use/nonuse, the code does something like: 49 * Basically, for the use/nonuse, the code does something like:
50 * "This item goes %s\n", with the use/nonuse values filling in the %s 50 * "This item goes %s\n", with the use/nonuse values filling in the %s
51 */ 51 */
52// see include/object.h
52Body_Locations body_locations[NUM_BODY_LOCATIONS] = { 53Body_Locations body_locations[NUM_BODY_LOCATIONS] = {
53 {KW_body_skill , "You can use it as your skill" , "It is used as a skill"}, 54 {KW_body_skill , "You can use it as your skill" , "It is used as a skill"},
54 {KW_body_combat , "You can wield it as your weapon" , "It is used as a combat weapon"}, 55 {KW_body_combat , "You can wield it as your weapon" , "It is used as a combat weapon"},
55 {KW_body_range , "You can use it as your range weapon" , "It is used as a range weapon"}, 56 {KW_body_range , "You can use it as your range weapon" , "It is used as a range weapon"},
56 {KW_body_shield , "You can wield it as a shield" , "It is used as a shield"}, 57 {KW_body_shield , "You can wield it as a shield" , "It is used as a shield"},
625 { 626 {
626 case BOW: 627 case BOW:
627 case WAND: 628 case WAND:
628 case ROD: 629 case ROD:
629 case HORN: 630 case HORN:
630 buf << (op->env && op->env->current_weapon == op ? " (readied)" : " (applied)"); 631 buf << " (applied)";
631 break; 632 break;
632 case WEAPON: 633 case WEAPON:
633 buf << (op->env && op->env->current_weapon == op ? " (wielded)" : " (applied)"); 634 buf << " (applied)";
634 break; 635 break;
635 case ARMOUR: 636 case ARMOUR:
636 case HELMET: 637 case HELMET:
637 case SHIELD: 638 case SHIELD:
638 case RING: 639 case RING:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines