From b6864f8db9ca2dc9e10f46cdde866f36f4e62074 Mon Sep 17 00:00:00 2001 From: kinther Date: Wed, 20 Aug 2025 09:28:37 -0700 Subject: [PATCH] Remove junk vanishment --- src/act.item.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/act.item.c b/src/act.item.c index 91dc849..a3cca73 100644 --- a/src/act.item.c +++ b/src/act.item.c @@ -436,8 +436,6 @@ static void perform_drop_gold(struct char_data *ch, int amount, byte mode, room_ } } -#define VANISH(mode) ((mode == SCMD_JUNK) ? \ - " It vanishes in a puff of smoke!" : "") static int perform_drop(struct char_data *ch, struct obj_data *obj, byte mode, const char *sname, room_rnum RDR) { @@ -463,10 +461,10 @@ static int perform_drop(struct char_data *ch, struct obj_data *obj, return (0); } - snprintf(buf, sizeof(buf), "You %s $p.%s", sname, VANISH(mode)); + snprintf(buf, sizeof(buf), "You %s $p.", sname); act(buf, FALSE, ch, obj, 0, TO_CHAR); - snprintf(buf, sizeof(buf), "$n %ss $p.%s", sname, VANISH(mode)); + snprintf(buf, sizeof(buf), "$n %ss $p.", sname); act(buf, TRUE, ch, obj, 0, TO_ROOM); obj_from_char(obj); @@ -500,7 +498,7 @@ ACMD(do_drop) switch (subcmd) { case SCMD_JUNK: - sname = "junk"; + sname = "discard"; mode = SCMD_JUNK; break; default: @@ -537,7 +535,7 @@ ACMD(do_drop) /* Can't junk or donate all */ if ((dotmode == FIND_ALL) && (subcmd == SCMD_JUNK)) { if (subcmd == SCMD_JUNK) - send_to_char(ch, "You need to specify what you want to junk.\r\n"); + send_to_char(ch, "You need to specify what you want to discard.\r\n"); return; } if (dotmode == FIND_ALL) {