51 object *above = op->
above;
56 nabove = above->
above;
68 if (
rndm(0, 2) == 0) {
70 "You are down to your waist in the wet %s.",
71 "You are down to your waist in the wet %s.",
77 if (
rndm(0, 2) == 0) {
79 "You are down to your NECK in the dangerous %s.",
80 "You are down to your NECK in the dangerous %s.",
87 }
else if (
rndm(0, 4) == 0) {
90 "%s disappeared into a %s.",
"%s disappeared into a %s.",
126 "You are down to your knees in the %s.",
127 "You are down to your knees in the %s.", trap->
name);
void init_type_deep_swamp(void)
object * find_obj_by_type_subtype(const object *who, int type, int subtype)
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
static method_ret deep_swamp_type_process(ob_methods *context, object *op)
#define MSG_TYPE_ADMIN_PLAYER
void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...)
int rndm(int min, int max)
void register_move_on(int ob_type, move_on_func method)
#define FLAG_OVERLAY_FLOOR
#define QUERY_FLAG(xyz, p)
void common_post_ob_move_on(object *trap, object *victim, object *originator)
int snprintf(char *dest, int max, const char *format,...)
#define MSG_TYPE_VICTIM_SWAMP
static method_ret deep_swamp_type_move_on(ob_methods *context, object *trap, object *victim, object *originator)
void register_process(int ob_type, process_func method)
void LOG(LogLevel logLevel, const char *format,...)
void kill_player(object *op)