Fix medusa levels

My recent commit broke medusa-3 and medusa-4, so fix those.

Make des.stair and des.ladder also accept hash-coordinate:
  des.stair("up", {8, 10});
This commit is contained in:
Pasi Kallinen
2022-04-01 08:50:22 +03:00
parent 476e47b2cd
commit f45e79e1a0
5 changed files with 25 additions and 15 deletions

View File

@@ -488,6 +488,7 @@ Example:
des.ladder("down");
des.ladder("up", 6,10);
des.ladder("up", {6,10});
des.ladder({ x=11, y=05, dir="down" });
des.ladder({ coord={11, 05}, dir="down" });
@@ -785,6 +786,7 @@ Example:
des.stair({ dir = "down", x = 4, y = 7 });
des.stair({ dir = "down", coord = {5,12} });
des.stair("down", 4, 7);
des.stair("down", {4, 7});
=== teleport_region