From 5eb7566ebaaab6b33b43a80c093e1d44bfdeafee Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 6 Dec 2024 17:36:31 +0200 Subject: [PATCH] Prevent two possible ways to die in the tutorial --- dat/tut-1.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dat/tut-1.lua b/dat/tut-1.lua index 2136056bc..f6a31cf82 100644 --- a/dat/tut-1.lua +++ b/dat/tut-1.lua @@ -220,7 +220,7 @@ des.door({ coord = { 38,6 }, state = "closed" }); des.engraving({ coord = { 39,6 }, type = "engrave", text = "You loot containers with '" .. tut_key("loot") .. "'", degrade = false }); -des.object({ coord = { 42,6 }, id = "large box", broken = true, +des.object({ coord = { 42,6 }, id = "large box", broken = true, trapped = false, contents = function(obj) des.object({ id = "secret door detection", class = "/", spe = 30 }); end }); @@ -248,8 +248,7 @@ des.engraving({ coord = { 48,1 }, type = "burn", text = "Use '" .. tut_key("eat" des.object({ coord = { 50,3 }, id = "apple", buc = "not-cursed" }); des.object({ coord = { 50,3 }, id = "candy bar", buc = "not-cursed" }); -local otmp = des.object({ coord = { 50,3 }, id = "corpse", montype = "newt", buc = "not-cursed" }); -otmp:stop_timer("rot-corpse"); +des.object({ coord = { 50,3 }, id = "corpse", montype = "lichen", buc = "not-cursed" }); --