diff options
-rw-r--r-- | npc/002-5/main.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/002-5/main.txt b/npc/002-5/main.txt index 22269552e..99980daaf 100644 --- a/npc/002-5/main.txt +++ b/npc/002-5/main.txt @@ -35,6 +35,13 @@ L_Error: warp "000-1", 22, 22; Exception("PLAYER INVALID PC_DEST ON #NardShip: " + PC_DEST$, RB_DEFAULT | RB_ISFATAL); end; + +OnTouch: + if (PC_DEST$ != "" && @timer_navio_running == 0) { + addtimer nard_time(PC_DEST$), "#NardShip::OnEvent"; + @timer_navio_running = 1; + } + end; } // Do not add .distance here. |