Add helltweaks to fake wiz towers
This commit is contained in:
@@ -7,7 +7,11 @@ des.level_init({ style="mazegrid", bg ="-" });
|
||||
|
||||
des.level_flags("mazelevel");
|
||||
|
||||
des.map([[
|
||||
local tmpbounds = selection.match("-");
|
||||
local bnds = tmpbounds:bounds();
|
||||
local bounds2 = selection.fillrect(bnds.lx, bnds.ly + 1, bnds.hx - 2, bnds.hy - 1);
|
||||
|
||||
local fakewiz1 = des.map({ halign = "center", valign = "center", map = [[
|
||||
.........
|
||||
.}}}}}}}.
|
||||
.}}---}}.
|
||||
@@ -16,10 +20,11 @@ des.map([[
|
||||
.}--.--}.
|
||||
.}}---}}.
|
||||
.}}}}}}}.
|
||||
]]);
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="stair-up" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="stair-down" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="branch" });
|
||||
.........
|
||||
]], contents = function(rm)
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="stair-up" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="stair-down" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="branch" });
|
||||
des.teleport_region({ region={01,00,79,20}, region_islev=1,exclude={2,2,6,6} })
|
||||
des.levregion({ region={4,4,4,4}, type="portal", name="wizard3" })
|
||||
des.mazewalk(08,05,"east")
|
||||
@@ -32,4 +37,8 @@ des.trap("board",04,03)
|
||||
des.trap("board",04,05)
|
||||
des.trap("board",03,04)
|
||||
des.trap("board",05,04)
|
||||
end
|
||||
});
|
||||
|
||||
local protected = bounds2:negate() | fakewiz1;
|
||||
hell_tweaks(protected);
|
||||
|
||||
@@ -7,7 +7,11 @@ des.level_init({ style="mazegrid", bg ="-" });
|
||||
|
||||
des.level_flags("mazelevel");
|
||||
|
||||
des.map([[
|
||||
local tmpbounds = selection.match("-");
|
||||
local bnds = tmpbounds:bounds();
|
||||
local bounds2 = selection.fillrect(bnds.lx, bnds.ly + 1, bnds.hx - 2, bnds.hy - 1);
|
||||
|
||||
local fakewiz2 = des.map({ halign = "center", valign = "center", map = [[
|
||||
.........
|
||||
.}}}}}}}.
|
||||
.}}---}}.
|
||||
@@ -16,10 +20,11 @@ des.map([[
|
||||
.}--.--}.
|
||||
.}}---}}.
|
||||
.}}}}}}}.
|
||||
]]);
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="stair-up" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="stair-down" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,7}, type="branch" });
|
||||
.........
|
||||
]], contents = function(rm)
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="stair-up" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="stair-down" })
|
||||
des.levregion({ region={01,00,79,20}, region_islev=1, exclude={0,0,8,8}, type="branch" });
|
||||
des.teleport_region({ region={01,00,79,20}, region_islev=1,exclude={2,2,6,6} })
|
||||
des.mazewalk(08,05,"east")
|
||||
des.monster("L",04,04)
|
||||
@@ -32,3 +37,8 @@ des.trap("board",03,04)
|
||||
des.trap("board",05,04)
|
||||
-- treasures
|
||||
des.object("\"",04,04)
|
||||
end
|
||||
});
|
||||
|
||||
local protected = bounds2:negate() | fakewiz2;
|
||||
hell_tweaks(protected);
|
||||
|
||||
Reference in New Issue
Block a user