fix 'Couldn't place lregion type 1' on Orc town

Stairs up from Orcish Town variation of Mine Town were being forced
to be near the bottom of the left side of the level due to a bogus
exclusion region in the level description.  If that small area was all
solid rock then a warning was issued and no stairs up were created.
This commit is contained in:
PatR
2020-01-31 12:58:24 -08:00
parent fe664435dc
commit 625a9a7b79
2 changed files with 12 additions and 7 deletions
+8 -5
View File
@@ -35,11 +35,14 @@ des.map([[
.....................................
]]);
-- Don't let the player fall into his likely death
des.teleport_region({ region={01,01,20,19}, region_islev=1, exclude={20,00,70,19}, exclude_islev=1 })
des.region(selection.area(00,00,36,16),"lit")
des.levregion({ type="stair-up", region={01,03,20,19}, region_islev=1, exclude={00,00,36,15}, exclude_islev=1 });
des.levregion({ type="stair-down", region={61,03,75,19}, region_islev=1, exclude={00,00,36,15} })
-- 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.region(selection.area(01,01,35,17), "lit")
des.levregion({ type="stair-up", region={01,03,20,19}, region_islev=1,
exclude={00,01,36,17} });
des.levregion({ type="stair-down", region={61,03,75,19}, region_islev=1,
exclude={00,01,36,17} })
-- shame we can't make polluted fountains
des.feature("fountain",16,09)