Adjust some themerooms
This commit is contained in:
@@ -79,12 +79,17 @@ themerooms = {
|
|||||||
-- Boulder room
|
-- Boulder room
|
||||||
function()
|
function()
|
||||||
des.room({ type = "themed",
|
des.room({ type = "themed",
|
||||||
contents = function()
|
contents = function(rm)
|
||||||
for i = 1, 3 + d(6) do
|
for x = 0, rm.width do
|
||||||
des.object("boulder");
|
for y = 0, rm.height do
|
||||||
end
|
if (percent(30)) then
|
||||||
for i = 1, d(4) do
|
if (percent(50)) then
|
||||||
des.trap("rolling boulder");
|
des.object("boulder");
|
||||||
|
else
|
||||||
|
des.trap("rolling boulder");
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
});
|
});
|
||||||
@@ -93,9 +98,13 @@ themerooms = {
|
|||||||
-- Spider nest
|
-- Spider nest
|
||||||
function()
|
function()
|
||||||
des.room({ type = "themed",
|
des.room({ type = "themed",
|
||||||
contents = function()
|
contents = function(rm)
|
||||||
for i = 1, d(3,3) do
|
for x = 0, rm.width do
|
||||||
des.trap("web");
|
for y = 0, rm.height do
|
||||||
|
if (percent(30)) then
|
||||||
|
des.trap("web", x, y);
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
});
|
});
|
||||||
@@ -111,7 +120,7 @@ themerooms = {
|
|||||||
shuffle(traps);
|
shuffle(traps);
|
||||||
for x = 0, rm.width do
|
for x = 0, rm.width do
|
||||||
for y = 0, rm.height do
|
for y = 0, rm.height do
|
||||||
if (percent(75)) then
|
if (percent(30)) then
|
||||||
des.trap(traps[1], x, y);
|
des.trap(traps[1], x, y);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user