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:
Pasi Kallinen
2023-04-01 14:05:14 +03:00
parent 4542d14d23
commit ba60bfac25
4 changed files with 18 additions and 3 deletions

View File

@@ -786,7 +786,8 @@ Example:
=== object
Create an object. The table parameter accepts the following:
Create an object. Returns the object as an <<Obj>> class.
The table parameter accepts the following:
[options="header"]
|===
@@ -828,6 +829,7 @@ Example:
des.object({ class = "%" });
des.object({ id = "boulder", x = 03, y = 12});
des.object({ id = "chest", coord = {03, 12}, locked = true, contents = function(obj) des.object("rock"); end });
local o = des.object();
=== random_corridors