Bigroom 3 may have some walls replaced with other terrain
This commit is contained in:
@@ -30,6 +30,14 @@ des.map([[
|
||||
-- Dungeon Description
|
||||
des.region(selection.area(01,01,73,16), "lit");
|
||||
|
||||
-- replace some walls
|
||||
if percent(66) then
|
||||
local sel = selection.match("[.w.]");
|
||||
local terrains = { "F", "T", "W", "Z" };
|
||||
local choice = terrains[math.random(1, #terrains)];
|
||||
des.terrain(sel, choice);
|
||||
end
|
||||
|
||||
-- Stairs
|
||||
des.stair("up");
|
||||
des.stair("down");
|
||||
|
||||
Reference in New Issue
Block a user