65 for (tmp = victim->
inv; tmp; tmp = next) {
111 "The shopkeeper gives you a friendly wave.", NULL);
112 else if (opinion > 0.75)
114 "The shopkeeper waves to you.", NULL);
115 else if (opinion > 0.5)
117 "The shopkeeper ignores you.", NULL);
120 "The shopkeeper glares at you with contempt.", NULL);
int is_in_shop(object *ob)
int teleport(object *teleporter, uint8 tele_type, object *user)
void leave(player *pl, int draw_exit)
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
short freearr_x[SIZEOFFREE]
void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage)
short freearr_y[SIZEOFFREE]
void remove_ob(object *op)
void init_type_shop_mat(void)
#define MSG_TYPE_SHOP_MISC
void register_move_on(int ob_type, move_on_func method)
double shopkeeper_approval(const mapstruct *map, const object *player)
#define QUERY_FLAG(xyz, p)
#define CLEAR_FLAG(xyz, p)
object * insert_ob_in_map(object *op, mapstruct *m, object *originator, int flag)
void esrv_map_scroll(socket_struct *ns, int dx, int dy)
void common_post_ob_move_on(object *trap, object *victim, object *originator)
#define MSG_TYPE_APPLY_SUCCESS
int get_payment(object *pl, object *op)
int find_free_spot(const object *ob, mapstruct *m, int x, int y, int start, int stop)
static method_ret shop_mat_type_move_on(ob_methods *context, object *trap, object *victim, object *originator)
void LOG(LogLevel logLevel, const char *format,...)
int transfer_ob(object *op, int x, int y, int randomly, object *originator)