… | |
… | |
129 | {AMULET, "amulet", "amulets", SK_JEWELER, 0}, |
129 | {AMULET, "amulet", "amulets", SK_JEWELER, 0}, |
130 | {PLAYERMOVER, "player mover", "player movers", 0, 0}, |
130 | {PLAYERMOVER, "player mover", "player movers", 0, 0}, |
131 | {TELEPORTER, "teleporter", "teleporters", 0, 0}, |
131 | {TELEPORTER, "teleporter", "teleporters", 0, 0}, |
132 | {CREATOR, "creator", "creators", 0, 0}, |
132 | {CREATOR, "creator", "creators", 0, 0}, |
133 | {SKILL, "skill", "skills", 0, 0}, |
133 | {SKILL, "skill", "skills", 0, 0}, |
134 | {EXPERIENCE, "experience", "experience", 0, 0}, |
|
|
135 | {EARTHWALL, "earthwall", "earthwalls", 0, 0}, |
134 | {EARTHWALL, "earthwall", "earthwalls", 0, 0}, |
136 | {GOLEM, "golem", "golems", 0, 0}, |
135 | {GOLEM, "golem", "golems", 0, 0}, |
137 | {THROWN_OBJ, "projectile", "projectiles", 0, 0}, |
136 | {THROWN_OBJ, "projectile", "projectiles", 0, 0}, |
138 | {BLINDNESS, "blindness", "blindness", 0, 0}, |
137 | {BLINDNESS, "blindness", "blindness", 0, 0}, |
139 | {GOD, "god", "gods", 0, 0}, |
138 | {GOD, "god", "gods", 0, 0}, |
… | |
… | |
1502 | LOG (llevDebug, "need_identify: %s does not need to be id'd\n", op->name); |
1501 | LOG (llevDebug, "need_identify: %s does not need to be id'd\n", op->name); |
1503 | #endif |
1502 | #endif |
1504 | return 0; |
1503 | return 0; |
1505 | } |
1504 | } |
1506 | |
1505 | |
1507 | |
|
|
1508 | /* |
1506 | /* |
1509 | * Supposed to fix face-values as well here, but later. |
1507 | * Supposed to fix face-values as well here, but later. |
1510 | */ |
1508 | */ |
1511 | |
|
|
1512 | void |
1509 | void |
1513 | identify (object *op) |
1510 | identify (object *op) |
1514 | { |
1511 | { |
1515 | object *pl; |
1512 | object *pl; |
1516 | |
1513 | |
… | |
… | |
1538 | /* If the object is on a map, make sure we update its face */ |
1535 | /* If the object is on a map, make sure we update its face */ |
1539 | if (op->map) |
1536 | if (op->map) |
1540 | update_object (op, UP_OBJ_FACE); |
1537 | update_object (op, UP_OBJ_FACE); |
1541 | else |
1538 | else |
1542 | { |
1539 | { |
1543 | pl = is_player_inv (op->env); |
1540 | pl = op->in_player (); |
1544 | if (pl) |
1541 | if (pl) |
1545 | /* A lot of the values can change from an update - might as well send |
1542 | /* A lot of the values can change from an update - might as well send |
1546 | * it all. |
1543 | * it all. |
1547 | */ |
1544 | */ |
1548 | esrv_send_item (pl, op); |
1545 | esrv_send_item (pl, op); |
1549 | } |
1546 | } |
1550 | } |
1547 | } |
|
|
1548 | |