Go to the documentation of this file.
62 "You need to mark a lightable object.");
70 if (lighter->
nrof > 1) {
80 "You fail to light the %s with a used up %s.",
void init_type_lighter(void)
void register_apply(int ob_type, apply_func method)
void do_light(object *item, const char *lighter_name, object *applier)
static method_ret lighter_type_apply(object *lighter, object *applier, int aflags)
object * object_insert_in_ob(object *op, object *where)
#define MSG_TYPE_APPLY_FAILURE
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
#define MSG_TYPE_APPLY_ERROR
object * object_split(object *orig_ob, uint32_t nr, char *err, size_t size)
object * find_marked_object(object *op)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...)