diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-06-12 18:52:41 +0200 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2024-06-12 17:27:12 +0000 |
commit | 2eaa8c709b6ebf66cf9f0eac7029665af5af207c (patch) | |
tree | 1c4288fc6381c17672715233bf8da87693be76ed | |
parent | 855ea059850471f0b25a0e601242edb3ae4984a1 (diff) | |
download | serverdata-2eaa8c709b6ebf66cf9f0eac7029665af5af207c.tar.gz serverdata-2eaa8c709b6ebf66cf9f0eac7029665af5af207c.tar.bz2 serverdata-2eaa8c709b6ebf66cf9f0eac7029665af5af207c.tar.xz serverdata-2eaa8c709b6ebf66cf9f0eac7029665af5af207c.zip |
Better protect against rapid player actions resulting in unwanted warp.
Note: picked "Nowhere" instead of "Abort" or "None". Feels as a more natural response to the question "Where should I warp to?"
-rw-r--r-- | npc/functions/teleporter.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/teleporter.txt b/npc/functions/teleporter.txt index 32f05db22..1b5bc3887 100644 --- a/npc/functions/teleporter.txt +++ b/npc/functions/teleporter.txt @@ -28,6 +28,7 @@ function script TeleporterGate { close; next; menuint + l("Nowhere"), -1, rif(TELEPORTERS & TP_FROST && .@TP != TP_FROST, l("Frostia")), TP_FROST, rif(TELEPORTERS & TP_HALIN && .@TP != TP_HALIN, l("Halinarzo")), TP_HALIN, rif(TELEPORTERS & TP_LILIT && .@TP != TP_LILIT, l("Lilit")), TP_LILIT, @@ -36,8 +37,7 @@ function script TeleporterGate { rif(TELEPORTERS & TP_NIVAL && .@TP != TP_NIVAL, l("Nivalis")), TP_NIVAL, rif(TELEPORTERS & TP_LOF && .@TP != TP_LOF, l("Land Of Fire")), TP_LOF, rif(TELEPORTERS & TP_FORT && .@TP != TP_FORT, l("Fortress Island")), TP_FORT, - rif(TELEPORTERS & TP_BOSSR && .@TP != TP_BOSSR, l("Moubootaur Maze")), TP_BOOSR, - l("None"), -1; + rif(TELEPORTERS & TP_BOSSR && .@TP != TP_BOSSR, l("Moubootaur Maze")), TP_BOOSR; mes ""; // Proccess menu |