62 int is_player_env = 0;
73 "You need to mark a lightable object.", NULL);
81 if (lighter->
nrof > 1) {
91 "You fail to light the %s with a used up %s.",
105 strncpy(item_name, item->
name,
sizeof(item_name));
113 if ((nrof != item->
nrof) || (count != item->
count)) {
115 "You light the %s with the %s.",
117 item_name, lighter->
name);
125 "You attempt to light the %s with the %s and fail.",
void save_throw_object(object *op, uint32 type, object *originator)
#define MSG_TYPE_APPLY_FAILURE
static method_ret lighter_type_apply(ob_methods *context, object *lighter, object *applier, int aflags)
void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...)
object * get_player_container(object *op)
void register_apply(int ob_type, apply_func method)
object * find_marked_object(object *op)
object * insert_ob_in_ob(object *op, object *where)
void init_type_lighter(void)
#define MSG_TYPE_APPLY_SUCCESS
#define MSG_TYPE_APPLY_ERROR
object * get_split_ob(object *orig_ob, uint32 nr, char *err, size_t size)
void fix_object(object *op)