Go to the documentation of this file.
50 ||
op->env->stats.hp < 0) {
53 LOG(
llevDebug,
"Found POISONING with invalid env. Removing...\n");
57 if (
op->stats.food == 1) {
65 "You feel much better now.");
73 op->env->stats.food--;
76 "You feel very sick...");
void LOG(LogLevel logLevel, const char *format,...)
#define QUERY_FLAG(xyz, p)
#define MSG_TYPE_ATTRIBUTE
void fix_object(object *op)
void register_process(int ob_type, process_func method)
void object_free_drop_inventory(object *ob)
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START
static method_ret poisoning_type_process(object *op)
void init_type_poisoning(void)
int hit_player(object *op, int dam, object *hitter, uint32_t type, int full_hit)
#define CLEAR_FLAG(xyz, p)
#define MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
void object_remove(object *op)