Add themeroom filler "Storeroom"

Contains mostly mimics (pretending to be chests), and possibly some chests.
This commit is contained in:
Pasi Kallinen
2022-12-22 21:47:10 +02:00
parent c77b8b8073
commit 37f6eee147

View File

@@ -160,6 +160,18 @@ themeroom_fills = {
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 = {