3.6 tribute */
| 1573 | |
| 1574 | /* 3.6 tribute */ |
| 1575 | struct obj * |
| 1576 | u_have_novel(void) |
| 1577 | { |
| 1578 | struct obj *otmp; |
| 1579 | |
| 1580 | for (otmp = gi.invent; otmp; otmp = otmp->nobj) |
| 1581 | if (otmp->otyp == SPE_NOVEL) |
| 1582 | return otmp; |
| 1583 | return (struct obj *) 0; |
| 1584 | } |
| 1585 | |
| 1586 | struct obj * |
| 1587 | o_on(unsigned int id, struct obj *objchn) |