From d4c0f6bb7524218d6668fb171a1fe6335ef6e115 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 13 Dec 2023 17:55:34 +0200 Subject: [PATCH] Fix minetn-1 regions Fuzzer encountered an error because the game couldn't place a level region; allow placing the stairs to the left or right edge of the fixed map part, just in case the randomly generated map didn't extend out of it. Fix the teleport region preventing falling into the orctown. --- dat/minetn-1.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dat/minetn-1.lua b/dat/minetn-1.lua index 22e14365a..590817bf4 100644 --- a/dat/minetn-1.lua +++ b/dat/minetn-1.lua @@ -37,11 +37,11 @@ des.map([[ -- Don't let the player fall into his likely death; used to explicitly exclude -- the town, but that meant that you couldn't teleport out as well as not in. -des.teleport_region({ region={01,01,20,19}, region_islev=1 }) +des.teleport_region({ region={01,01,75,19}, exclude={01,00,35,21}, region_islev=1 }) des.region(selection.area(01,01,35,17), "lit") -des.levregion({ type="stair-up", region={01,03,20,19}, region_islev=1, +des.levregion({ type="stair-up", region={01,03,21,19}, region_islev=1, exclude={00,01,36,17} }); -des.levregion({ type="stair-down", region={61,03,75,19}, region_islev=1, +des.levregion({ type="stair-down", region={57,03,75,19}, region_islev=1, exclude={00,01,36,17} }) -- shame we can't make polluted fountains