Allow fixed-destination teleport traps
Add a theme room with multiple visible teleportation traps which will always teleport to specific locations in the same level. Teleport trap change from xNetHack by copperwater <aosdict@gmail.com>.
This commit is contained in:
@@ -1002,7 +1002,8 @@ Example:
|
||||
|
||||
=== trap
|
||||
|
||||
Create a trap. The `launchfrom` is relative to the rolling boulder trap coord.
|
||||
Create a trap. The `launchfrom` is relative to the rolling boulder trap coord,
|
||||
but `teledest` is absolute.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -1011,6 +1012,7 @@ Example:
|
||||
des.trap({ type = "web", coord = {2, 2}, spider_on_web = false, seen = true });
|
||||
des.trap({ type = "falling rock", victim = false });
|
||||
des.trap({ type = "rolling boulder", coord = {7, 5}, launchfrom = {-2, -2} });
|
||||
des.trap({ type = "teleport", coord = {7, 5}, teledest = {2, 2} });
|
||||
des.trap("hole", 3, 4);
|
||||
des.trap("level teleport", {5, 8});
|
||||
des.trap("rust")
|
||||
|
||||
Reference in New Issue
Block a user