Revisit the Valkyrie goal level hack

Instead of hardcoding the lava terrain change in core, if the stairs
are created in a fixed location, force the terrain to room floor first.
Move the surrounding lava changing to room floor to the Val-goal lua
file.
This commit is contained in:
Pasi Kallinen
2022-04-15 18:52:46 +03:00
parent a15b587b81
commit cb02ce88c5
5 changed files with 17 additions and 24 deletions

View File

@@ -32,6 +32,8 @@ xxxxxxxxx..................xxxxxxxx
des.region(selection.area(00,00,34,16), "lit")
-- Stairs
-- Note: The up stairs are *intentionally* off of the map.
-- if the stairs are surrounded by lava, maybe give some room
des.replace_terrain({ region = {44,09, 46,11}, fromterrain='L', toterrain='.', chance=50 });
des.stair("up", 45,10)
-- Non diggable walls
des.non_diggable(selection.area(00,00,34,16))