Add additional sink potion #dipping effects

Also put "Nothing seems to happen." into c_common_strings, since it's
used all over several files.
This commit is contained in:
Michael Meyer
2023-10-25 14:16:09 -04:00
committed by PatR
parent 3fac63749a
commit 674b8c6b07
10 changed files with 80 additions and 38 deletions

View File

@@ -29,6 +29,7 @@ extern NEARDATA const struct c_color_names c_color_names;
/* common_strings */
extern const struct c_common_strings c_common_strings;
#define nothing_happens c_common_strings.c_nothing_happens
#define nothing_seems_to_happen c_common_strings.c_nothing_seems_to_happen
#define thats_enough_tries c_common_strings.c_thats_enough_tries
#define silly_thing_to c_common_strings.c_silly_thing_to
#define shudder_for_moment c_common_strings.c_shudder_for_moment

View File

@@ -977,6 +977,7 @@ extern int wash_hands(void);
extern void breaksink(coordxy, coordxy);
extern void drinksink(void);
extern void dipsink(struct obj *);
extern void sink_backs_up(coordxy, coordxy);
/* ### hack.c ### */

View File

@@ -270,11 +270,11 @@ struct c_color_names {
};
struct c_common_strings {
const char *const c_nothing_happens, *const c_thats_enough_tries,
*const c_silly_thing_to, *const c_shudder_for_moment,
*const c_something, *const c_Something, *const c_You_can_move_again,
*const c_Never_mind, *c_vision_clears, *const c_the_your[2],
*const c_fakename[2];
const char *const c_nothing_happens, *const c_nothing_seems_to_happen,
*const c_thats_enough_tries, *const c_silly_thing_to,
*const c_shudder_for_moment, *const c_something, *const c_Something,
*const c_You_can_move_again, *const c_Never_mind, *c_vision_clears,
*const c_the_your[2], *const c_fakename[2];
};
struct container {