does 'obj' use the 'nomerge' flag persistently? */
| 3275 | |
| 3276 | /* does 'obj' use the 'nomerge' flag persistently? */ |
| 3277 | staticfn boolean |
| 3278 | nomerge_exception(struct obj *obj) |
| 3279 | { |
| 3280 | /* special prize objects for achievement tracking are set 'nomerge' |
| 3281 | until they get picked up by the hero */ |
| 3282 | if (is_mines_prize(obj) || is_soko_prize(obj)) |
| 3283 | return TRUE; |
| 3284 | |
| 3285 | return FALSE; |
| 3286 | } |
| 3287 | |
| 3288 | /* This must stay consistent with the defines in obj.h. */ |
| 3289 | static const char *const obj_state_names[NOBJ_STATES] = { |