blanking novels

Simplify converting novels into blank spellbooks via water damage.
Since that can occur, update cancellation to do it too.
This commit is contained in:
PatR
2024-03-28 23:44:34 -07:00
parent b4cd1d6ee0
commit e4ffda7386
3 changed files with 25 additions and 14 deletions

View File

@@ -3799,6 +3799,7 @@ extern struct monst *revive(struct obj *, boolean) NONNULLARG1;
extern int unturn_dead(struct monst *) NONNULLARG1;
extern void unturn_you(void);
extern void cancel_item(struct obj *) NONNULLARG1;
extern void blank_novel(struct obj *) NONNULLARG1;
extern boolean drain_item(struct obj *, boolean) NO_NNARGS; /* tests !obj */
extern boolean obj_unpolyable(struct obj *) NONNULLARG1;
extern struct obj *poly_obj(struct obj *, int) NONNULLARG1;