… | |
… | |
472 | * failing that, we go and identify stuff. |
472 | * failing that, we go and identify stuff. |
473 | */ |
473 | */ |
474 | for (tmp = get_map_ob (op->map, op->x, op->y); tmp != NULL; tmp = next) |
474 | for (tmp = get_map_ob (op->map, op->x, op->y); tmp != NULL; tmp = next) |
475 | { |
475 | { |
476 | next = tmp->above; |
476 | next = tmp->above; |
|
|
477 | |
477 | if (QUERY_FLAG (tmp, FLAG_IS_CAULDRON)) |
478 | if (QUERY_FLAG (tmp, FLAG_IS_CAULDRON)) |
478 | { |
479 | { |
479 | attempt_do_alchemy (op, tmp); |
480 | attempt_do_alchemy (op, tmp); |
|
|
481 | |
480 | if (QUERY_FLAG (tmp, FLAG_APPLIED)) |
482 | if (QUERY_FLAG (tmp, FLAG_APPLIED)) |
481 | esrv_send_inventory (op, tmp); |
483 | esrv_send_inventory (op, tmp); |
|
|
484 | |
482 | did_alc = 1; |
485 | did_alc = 1; |
483 | } |
486 | } |
484 | } |
487 | } |
|
|
488 | |
485 | if (did_alc == 0) |
489 | if (did_alc == 0) |
486 | exp = success = skill_ident (op, skill); |
490 | exp = success = skill_ident (op, skill); |
|
|
491 | |
487 | break; |
492 | break; |
488 | |
493 | |
489 | case SK_DET_MAGIC: |
494 | case SK_DET_MAGIC: |
490 | case SK_DET_CURSE: |
495 | case SK_DET_CURSE: |
491 | exp = success = skill_ident (op, skill); |
496 | exp = success = skill_ident (op, skill); |