| 3297 | } |
| 3298 | |
| 3299 | BOOL SmithItemOk(int i) |
| 3300 | { |
| 3301 | BOOL rv; |
| 3302 | |
| 3303 | rv = TRUE; |
| 3304 | if (AllItemsList[i].itype == ITYPE_MISC) |
| 3305 | rv = FALSE; |
| 3306 | if (AllItemsList[i].itype == ITYPE_GOLD) |
| 3307 | rv = FALSE; |
| 3308 | if (AllItemsList[i].itype == ITYPE_0E) |
| 3309 | rv = FALSE; |
| 3310 | if (AllItemsList[i].itype == ITYPE_STAFF) |
| 3311 | rv = FALSE; |
| 3312 | if (AllItemsList[i].itype == ITYPE_RING) |
| 3313 | rv = FALSE; |
| 3314 | if (AllItemsList[i].itype == ITYPE_AMULET) |
| 3315 | rv = FALSE; |
| 3316 | |
| 3317 | return rv; |
| 3318 | } |
| 3319 | |
| 3320 | int RndSmithItem(int lvl) |
| 3321 | { |