From 751b296e3b504e6394746a1b2b502d6fff98141b Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 30 Jun 2025 18:00:08 +0300 Subject: [PATCH] Tutorial: boulders and a trapdoor --- dat/tut-1.lua | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/dat/tut-1.lua b/dat/tut-1.lua index 7f8dba5c5..548fcaa7d 100644 --- a/dat/tut-1.lua +++ b/dat/tut-1.lua @@ -45,9 +45,9 @@ des.map([[ |........|.|......|.|...F...|# ........|.....+...|....|.....|............| |.P......-S|......|------.---# .........|.....|...|....-------............| |..........|......+.|...|.|.S# ..--S-----.....|LLL|.......................| -|.W......---......|.|.|.|.|.|# ..|......|.....|LLL|.......................| -|....Z.L.S.F......|.|.|.|.---# |......+.....|...|.......................| -|........|--......|...|.....|####+......|.....|...+.......................| +|.W......---......|.|.|.|.|.|# ..|......|.....|LLL|...................|.--| +|....Z.L.S.F......|.|.|.|.---# |......+.....|...|...................|.|.| +|........|--......|...|.....|####+......|.....|...+...................|...| --------------------------------------------------------------------------- ]]); @@ -287,6 +287,15 @@ des.engraving({ coord = { 65,3 }, type = "burn", text = "UNDER CONSTRUCTION", de des.trap({ type = "magic portal", coord = { 66,2 }, seen = true }); +-- + +-- try to squeeze over boulders, find a trap door + +des.object({ id = "boulder", coord = {71,16} }); +des.object({ id = "boulder", coord = {72,16} }); +des.object({ id = "boulder", coord = {73,16} }); +des.trap({ type = "trap door", coord = { 73,15 } }); + ---------------- -- entering and leaving tutorial _branch_ now handled by core