From 109b1f61f71f35ea33bd2229d74dffde69a3ec56 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 22 Sep 2022 16:50:41 -0700 Subject: [PATCH] vibrating square Give a [probably pointless] hint if the player tries to move '>' while on the vibrating square. --- src/do.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/do.c b/src/do.c index 9e2fd69a3..6137d6aac 100644 --- a/src/do.c +++ b/src/do.c @@ -979,7 +979,8 @@ menu_drop(int retry) if (!otmp2 || !otmp2->bypass) continue; /* found next selected invent item */ - n_dropped += ((menudrop_split(otmp, pick_list[i].count) == ECMD_TIME) ? 1 : 0); + n_dropped += (menudrop_split(otmp, pick_list[i].count) + == ECMD_TIME) ? 1 : 0; } bypass_objlist(g.invent, FALSE); /* reset g.invent to normal */ free((genericptr_t) pick_list); @@ -1099,7 +1100,9 @@ dodown(void) if (flags.autodig && !g.context.nopick && uwep && is_pick(uwep)) { return use_pick_axe2(uwep); } else { - You_cant("go down here."); + You_cant("go down here%s.", + (trap && trap->ttyp == VIBRATING_SQUARE) ? " yet" + : ""); return ECMD_OK; } }