summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/lofteleporter.txt4
-rw-r--r--npc/items/teleporter.txt3
2 files changed, 6 insertions, 1 deletions
diff --git a/npc/items/lofteleporter.txt b/npc/items/lofteleporter.txt
index 44cf93c59..2540c90dc 100644
--- a/npc/items/lofteleporter.txt
+++ b/npc/items/lofteleporter.txt
@@ -71,21 +71,25 @@ OnUse:
warp "017-1", 120, 89;
TELEPORTER_TIME=loftel_time(40, .@x);
LOCATION$="LoF";
+ @timer_navio_running=0;
break;
case 3:
warp "024-1", 155, 82;
TELEPORTER_TIME=loftel_time(120, .@x);
LOCATION$="Frostia";
+ @timer_navio_running=0;
break;
case 4:
warp "009-1", 113, 91;
TELEPORTER_TIME=loftel_time(120, .@x);
LOCATION$="Halin";
+ @timer_navio_running=0;
break;
case 5:
warp "Save", 0, 0;
TELEPORTER_TIME=loftel_time(20, .@x);
//LOCATION$="Save";
+ @timer_navio_running=0;
break;
}
closedialog;
diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt
index dad9b97a7..40bf61821 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -41,8 +41,9 @@ OnUse:
else
getitem BrokenWarpCrystal, 1;
- // Apply Cooldown, same variable as LoF Teleporter
+ // Apply Cooldown, same variable as LoF Teleporter, cancel ship travels
TELEPORTER_TIME=gettimetick(2)+300;
+ @timer_navio_running=0;
// Save new location and warp you there
EnterTown(@dest$);