Add themeroom filler "Storeroom"
Contains mostly mimics (pretending to be chests), and possibly some chests.
This commit is contained in:
@@ -160,6 +160,18 @@ themeroom_fills = {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
-- Storeroom
|
||||||
|
function(rm)
|
||||||
|
local locs = selection.room():percentage(30);
|
||||||
|
local func = function(x,y)
|
||||||
|
if (percent(25)) then
|
||||||
|
des.object("chest");
|
||||||
|
else
|
||||||
|
des.monster({ class = "m", appear_as = "obj:chest" });
|
||||||
|
end
|
||||||
|
end;
|
||||||
|
locs:iterate(func);
|
||||||
|
end,
|
||||||
};
|
};
|
||||||
|
|
||||||
themerooms = {
|
themerooms = {
|
||||||
|
|||||||
Reference in New Issue
Block a user