From 3682d4cf655c7fa6d73a6b2fcaacf60b036d7fb0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Jun 2022 20:30:50 +0100 Subject: [PATCH] script; Add some piece descriptions to messages Signed-off-by: Ian Jackson --- templates/script.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/script.ts b/templates/script.ts index 3d6375f7..bb878a48 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -1378,9 +1378,11 @@ function drag_mousemove(e: MouseEvent) { continue; } else if (tp.moveable == "IfWresting") { if (wresting) continue; - add_log_message('That piece can only be moved when Wresting.'); + add_log_message( + `That piece (${tp.desc}) can only be moved when Wresting.`); } else { - add_log_message('That piece cannot be moved at the moment.'); + add_log_message( + `That piece (${tp.desc}) cannot be moved at the moment.`); } return ddr2; } -- 2.30.2