Add basic sink #dipping effects
This is largely taken from xNetHack with a few minor changes. Dipping a potion into a sink can help with item identification by producing the potionbreathe effect (or a sink-specific effect, for a couple potions). Dipping other items will just run water over them. I also added the capability to wash your hands at a sink.
This commit is contained in:
@@ -472,6 +472,7 @@ extern int dodrop(void);
|
||||
extern boolean boulder_hits_pool(struct obj *, coordxy, coordxy, boolean);
|
||||
extern boolean flooreffects(struct obj *, coordxy, coordxy, const char *);
|
||||
extern void doaltarobj(struct obj *);
|
||||
extern void polymorph_sink(void);
|
||||
extern void trycall(struct obj *);
|
||||
extern boolean canletgo(struct obj *, const char *);
|
||||
extern void dropx(struct obj *);
|
||||
@@ -975,6 +976,7 @@ extern void dipfountain(struct obj *);
|
||||
extern int wash_hands(void);
|
||||
extern void breaksink(coordxy, coordxy);
|
||||
extern void drinksink(void);
|
||||
extern void dipsink(struct obj *);
|
||||
|
||||
/* ### hack.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user