#if defined(macintosh) #include <types.h> #else #include <sys/types.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include "merc.h" #include "player.h" void do_eatmortal(CHAR_DATA *ch, char *argument) { // CHAR_DATA *vict; // OBJ_DATA *obj; // OBJ_DATA *obj2; send_to_char( "Temporarily Disabled. --Eterared\n\r", ch ); return; } /* if (IS_NPC(ch)) return; if (!*argument) { send_to_char( "Eat whom?\n\r", ch); return; } if ((vict = get_char_world(ch, argument)) == NULL) { send_to_char( "They aren't close enough to your stomach! (not in this realm)\n\r", ch); return; } if ((obj = get_obj_carry(ch, "stomach")) == NULL) { obj = create_object(get_obj_index(OBJ_VNUM_PROTOPLASM),0); obj_to_char(obj, ch);} obj2 = create_object(get_obj_index(OBJ_VNUM_PROTOPLASM),0); sprintf(log_buf, "#4a large #lstomach#n"); free_string(obj->short_descr); obj->short_descr = str_dup(log_buf); sprintf(log_buf, "a large stomach"); free_string(obj->name); obj->name = str_dup(log_buf); obj->item_type = ITEM_CONTAINER; char_from_room(vict); obj_to_obj(obj2, obj); sprintf(log_buf, "#2Torn up pieces of %s#n", PERS(vict,ch)); free_string(obj2->short_descr); obj2->short_descr = str_dup(log_buf); sprintf(log_buf, "%s pieces torn", ch->pcdata->switchname); free_string(obj2->name); obj2->name = str_dup(log_buf); sprintf(log_buf, "#2Some torn up pieces of %s are here.\n\r", PERS(vict,ch)); free_string(obj2->description); obj2->description = str_dup(log_buf); sprintf(log_buf, "\rYou are in here for sins against the gods, and you will remain \runtil told to move. HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA\rHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA\rHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA\rHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA\rHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA\r Sucks to be you. - %s\n\r", ch->pcdata->switchname); free_string(obj->description); obj->description = str_dup(log_buf); vict->pcdata->obj_vnum = 0; obj2->chobj = vict; vict->pcdata->chobj = obj2; SET_BIT(vict->affected_by, AFF_POLYMORPH); SET_BIT(vict->extra, EXTRA_OSWITCH); free_string(vict->morph); vict->morph = str_dup(obj2->short_descr); do_help(vict, "---head"); return; } */