59 if (originator == NULL || originator->
type !=
PLAYER) {
82 ob_describe(marked, originator, desc,
sizeof(desc)));
86 "The item has a story:", NULL);
95 for (
id = originator->
inv;
id;
id = id->
below) {
102 "You have %s.",
"You have %s.",
ob_describe(
id, originator, desc,
sizeof(desc)));
105 "The item has a story:", NULL);
114 LOG(
llevError,
"check_id_altar: Couldn't do sacrifice when we should have been able to\n");
121 "You have nothing that needs identifying", NULL);
static method_ret identify_altar_type_move_on(ob_methods *context, object *altar, object *money, object *originator)
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
#define MSG_TYPE_APPLY_FAILURE
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,...)
void register_move_on(int ob_type, move_on_func method)
void identify(object *op)
object * find_marked_object(object *op)
#define QUERY_FLAG(xyz, p)
char * ob_describe(const object *op, const object *observer, char *buf, size_t size)
int need_identify(const object *op)
void common_post_ob_move_on(object *trap, object *victim, object *originator)
#define MSG_TYPE_APPLY_SUCCESS
void init_type_identify_altar(void)
void LOG(LogLevel logLevel, const char *format,...)