From 06ab2ce604cf492f8d650ca2a4d317c0a82c5bc5 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 10 Jul 2025 11:07:45 +0300 Subject: [PATCH] Tutorial: Knight jumping --- dat/tut-1.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dat/tut-1.lua b/dat/tut-1.lua index 511090b79..f57f9119e 100644 --- a/dat/tut-1.lua +++ b/dat/tut-1.lua @@ -80,6 +80,10 @@ local diagmovekeys = tut_key("movesouthwest") .. " " .. des.engraving({ coord = { 9,3 }, type = "engrave", text = "Move around with " .. movekeys, degrade = false }); des.engraving({ coord = { 5,2 }, type = "engrave", text = "Move diagonally with " .. diagmovekeys, degrade = false }); +if (u.role == "Knight") then + des.engraving({ coord = { 12,1 }, type = "engrave", text = "Knights can jump with '" .. tut_key("jump") .. "'", degrade = false }); +end + -- des.engraving({ coord = { 2,4 }, type = "engrave", text = "Some actions may require multiple tries before succeeding", degrade = false });