| 2484 | } |
| 2485 | |
| 2486 | void GetItemStr(int i) |
| 2487 | { |
| 2488 | int nGold; |
| 2489 | |
| 2490 | if (item[i]._itype != ITYPE_GOLD) { |
| 2491 | if (item[i]._iIdentified) |
| 2492 | strcpy(infostr, item[i]._iIName); |
| 2493 | else |
| 2494 | strcpy(infostr, item[i]._iName); |
| 2495 | |
| 2496 | if (item[i]._iMagical == ITEM_QUALITY_MAGIC) |
| 2497 | infoclr = COL_BLUE; |
| 2498 | if (item[i]._iMagical == ITEM_QUALITY_UNIQUE) |
| 2499 | infoclr = COL_GOLD; |
| 2500 | } else { |
| 2501 | nGold = item[i]._ivalue; |
| 2502 | sprintf(infostr, "%i gold %s", nGold, get_pieces_str(nGold)); |
| 2503 | } |
| 2504 | } |
| 2505 | |
| 2506 | void CheckIdentify(int pnum, int cii) |
| 2507 | { |
no test coverage detected