Themeroom: buried zombies
- add a themeroom with random buried zombifying corpses - disturbing buried zombies makes them revive much faster - lua des.object() now returns the object it created
This commit is contained in:
@@ -93,6 +93,17 @@ themeroom_fills = {
|
||||
end });
|
||||
end,
|
||||
|
||||
-- Buried zombies
|
||||
function(rm)
|
||||
local zombifiable = { "kobold", "gnome", "orc", "dwarf", "elf", "human", "ettin", "giant" };
|
||||
for i = 1, (rm.width * rm.height) / 2 do
|
||||
shuffle(zombifiable);
|
||||
local o = des.object({ id = "corpse", montype = zombifiable[1], buried = true });
|
||||
o:stop_timer("rot-corpse");
|
||||
o:start_timer("zombify-mon", 1000);
|
||||
end
|
||||
end,
|
||||
|
||||
-- Massacre
|
||||
function(rm)
|
||||
local mon = { "apprentice", "warrior", "ninja", "thug",
|
||||
|
||||
Reference in New Issue
Block a user