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:
3
src/do.c
3
src/do.c
@@ -7,7 +7,6 @@
|
||||
|
||||
#include "hack.h"
|
||||
|
||||
static void polymorph_sink(void);
|
||||
static boolean teleport_sink(void);
|
||||
static void dosinkring(struct obj *);
|
||||
static int drop(struct obj *);
|
||||
@@ -352,7 +351,7 @@ trycall(struct obj *obj)
|
||||
|
||||
/* Transforms the sink at the player's position into
|
||||
a fountain, throne, altar or grave. */
|
||||
static void
|
||||
void
|
||||
polymorph_sink(void)
|
||||
{
|
||||
uchar sym = S_sink;
|
||||
|
||||
Reference in New Issue
Block a user