Allow creating unhidden traps in special levels

des.trap({ type = "rust", seen = true });
This commit is contained in:
Pasi Kallinen
2022-02-19 12:38:24 +02:00
parent a1d5464fa7
commit c434236f1e
6 changed files with 11 additions and 0 deletions

View File

@@ -788,6 +788,7 @@ knights get no caitiff penalty against undead
candy bars are bright blue in text mode
towels weigh more than blindfolds
knight quest home level contains some saddled warhorses
allow creating unhidden traps in special levels
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository

View File

@@ -741,10 +741,13 @@ Example:
=== trap
Create a trap.
Example:
des.trap({ type = "hole", x = 1, y = 1 });
des.trap({ type = "hole", coord = {2, 2} });
des.trap({ type = "web", coord = {2, 2}, spider_on_web = false, seen = true });
des.trap("hole", 3, 4);
des.trap("level teleport", {5, 8});
des.trap("rust")