Crossfire Server, Trunk
|
Go to the source code of this file.
Functions | |
void | do_light (object *item, const char *lighter_name, object *applier) |
This file contains methods used for lighting objects, whether via applying the tool or by applying the lightable object.
Definition in file light_object.cpp.
Common code for both lighting an item for applying the lighter and for lighting the lightable object.
item | The item to light. |
lighter_name | The name of the tool used to light the item |
applier | The object applying the lighter/lightable |
Definition at line 36 of file light_object.cpp.
References AT_FIRE, disinfect::count, draw_ext_info_format(), fix_object(), MAX_BUF, MSG_TYPE_APPLY, MSG_TYPE_APPLY_FAILURE, MSG_TYPE_APPLY_SUCCESS, NDI_UNIQUE, object_get_player_container(), safe_strncpy, and save_throw_object().
Referenced by lightable_type_apply(), and lighter_type_apply().