melting ice (trunk only)

add a new melt_ice_away timer for ice created via zapping
a wand/spell of cold.

Some follow-up adjustments to the length of time before
the ice melts may be necessary. Ideally, I'd like to
have it so that the shorter the length of time since
the ice was created, the lesser the chance that it will
melt out from under you.  Likewise, the longer it has
been, the more risky it will be to venture onto it.

At the moment, however, each spot of ice is just
getting a somewhat random time always greater
than 50, which is less than ideal.
This commit is contained in:
nethack.allison
2003-10-12 04:21:27 +00:00
parent f6425ee3c5
commit 6712fc1b04
6 changed files with 80 additions and 8 deletions

View File

@@ -28,7 +28,8 @@ typedef void FDECL((*timeout_proc), (genericptr_t, long));
#define BURN_OBJECT 3
#define HATCH_EGG 4
#define FIG_TRANSFORM 5
#define NUM_TIME_FUNCS 6
#define MELT_ICE_AWAY 6
#define NUM_TIME_FUNCS 7
/* used in timeout.c */
typedef struct fe {