59 if (trap->
inv && (!originator || originator->
type !=
PLAYER)) {
70 "The altar casts %s.",
"The altar casts %s.", trap->
inv->
name);
void init_type_altar(void)
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...)
static method_ret altar_type_move_on(ob_methods *context, object *trap, object *victim, object *originator)
void register_move_on(int ob_type, move_on_func method)
void common_post_ob_move_on(object *trap, object *victim, object *originator)
#define MSG_TYPE_APPLY_SUCCESS
int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg)