Module engine.generator.map.Roomer
Functions
_M:generate (lev, old_lev) | Make rooms and connect them with tunnels |
_M:makeStairsInside (lev, old_lev, spots) | Create the stairs inside the level |
_M:makeStairsSides (lev, old_lev, sides, rooms, spots) | Create the stairs on the sides |
Functions
- _M:generate (lev, old_lev)
-
Make rooms and connect them with tunnels
Parameters
- lev:
- old_lev:
- _M:makeStairsInside (lev, old_lev, spots)
-
Create the stairs inside the level
Parameters
- lev:
- old_lev:
- spots:
- _M:makeStairsSides (lev, old_lev, sides, rooms, spots)
-
Create the stairs on the sides
Parameters
- lev:
- old_lev:
- sides:
- rooms:
- spots: