Add helltweaks to wizard1
This commit is contained in:
+24
-15
@@ -9,21 +9,26 @@
|
|||||||
des.level_init({ style="mazegrid", bg ="-" });
|
des.level_init({ style="mazegrid", bg ="-" });
|
||||||
|
|
||||||
des.level_flags("mazelevel", "noteleport", "hardfloor")
|
des.level_flags("mazelevel", "noteleport", "hardfloor")
|
||||||
des.map([[
|
|
||||||
----------------------------.
|
local tmpbounds = selection.match("-");
|
||||||
|.......|..|.........|.....|.
|
local bnds = tmpbounds:bounds();
|
||||||
|.......S..|.}}}}}}}.|.....|.
|
local bounds2 = selection.fillrect(bnds.lx, bnds.ly + 1, bnds.hx - 2, bnds.hy - 1);
|
||||||
|..--S--|..|.}}---}}.|---S-|.
|
|
||||||
|..|....|..|.}--.--}.|..|..|.
|
local wiz1 = des.map({ halign = "center", valign = "center", map = [[
|
||||||
|..|....|..|.}|...|}.|..|..|.
|
----------------------------x
|
||||||
|..--------|.}--.--}.|..|..|.
|
|.......|..|.........|.....|x
|
||||||
|..|.......|.}}---}}.|..|..|.
|
|.......S..|.}}}}}}}.|.....|x
|
||||||
|..S.......|.}}}}}}}.|..|..|.
|
|..--S--|..|.}}---}}.|---S-|x
|
||||||
|..|.......|.........|..|..|.
|
|..|....|..|.}--.--}.|..|..|x
|
||||||
|..|.......|-----------S-S-|.
|
|..|....|..|.}|...|}.|..|..|x
|
||||||
|..|.......S...............|.
|
|..--------|.}--.--}.|..|..|x
|
||||||
----------------------------.
|
|..|.......|.}}---}}.|..|..|x
|
||||||
]]);
|
|..S.......|.}}}}}}}.|..|..|x
|
||||||
|
|..|.......|.........|..|..|x
|
||||||
|
|..|.......|-----------S-S-|x
|
||||||
|
|..|.......S...............|x
|
||||||
|
----------------------------x
|
||||||
|
]], contents = function(rm)
|
||||||
des.levregion({ type="stair-up", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
des.levregion({ type="stair-up", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
||||||
des.levregion({ type="stair-down", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
des.levregion({ type="stair-down", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
||||||
des.levregion({ type="branch", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
des.levregion({ type="branch", region={01,00,79,20}, region_islev=1, exclude={0,0,28,12} })
|
||||||
@@ -90,4 +95,8 @@ des.object("?")
|
|||||||
des.object("+")
|
des.object("+")
|
||||||
des.object("+")
|
des.object("+")
|
||||||
des.object("+")
|
des.object("+")
|
||||||
|
end
|
||||||
|
});
|
||||||
|
|
||||||
|
local protected = bounds2:negate() | wiz1;
|
||||||
|
hell_tweaks(protected);
|
||||||
|
|||||||
Reference in New Issue
Block a user