/* add this to act_obj.c and the appropriate places * IE interp.c and interp.h, rm *.o and a remake * and youll be ready to go :) * just recently installed nemon@ar get/put/drop/etc code * so i hopefully will make an addition to it for junk * so you can type junk all.obj junk all junk n*obj etc * any suggestions, or any help....email me at * chancedj@peaknet.net */ void do_junk( CHAR_DATA *ch, char *argument ) { char arg1[MAX_INPUT_LENGTH]; OBJ_DATA *obj; if ( argument[0] == '\0' ) { send_to_char( "Junk what?\n\r", ch ); return; } argument = one_argument( argument, arg1 ); if ( ( obj = get_obj_carry( ch, arg1, ch ) ) == NULL ) { send_to_char( "You do not have that item.\n\r", ch ); return; } if ( !can_drop_obj( ch, obj ) ) { send_to_char( "You can't let go of it.\n\r", ch ); return; } do_drop( ch, arg1 ); do_sacrifice( ch, arg1 ); }