summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-12-25 17:29:27 +0100
committerReid <reidyaro@gmail.com>2012-12-25 17:29:27 +0100
commit0a671212b723d276407f6dee5728247a73e214a7 (patch)
tree97c0f8f932f1ab020bf9bcf50760e7985e2aa74d /npc/000-2-1
parent9cfd51f23bf4eda05517989f1e0a377a964fe956 (diff)
downloadserverdata-0a671212b723d276407f6dee5728247a73e214a7.tar.gz
serverdata-0a671212b723d276407f6dee5728247a73e214a7.tar.bz2
serverdata-0a671212b723d276407f6dee5728247a73e214a7.tar.xz
serverdata-0a671212b723d276407f6dee5728247a73e214a7.zip
Correct Peter script.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/peter.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt
index 48b7392e..30043557 100644
--- a/npc/000-2-1/peter.txt
+++ b/npc/000-2-1/peter.txt
@@ -193,7 +193,7 @@ OnStartOutside:
OnTimer2000:
if (attachrid(getcharid(3,$@RAT_SAILOR_HELPER$)) == 0) goto l_Logoff;
set $@RAT_SAILOR_CONTROL[9], $@RAT_SAILOR_CONTROL[9] + 2;
- if ($@RAT_SAILOR_CONTROL[9] > 115) goto l_Timeout;
+ if ($@RAT_SAILOR_CONTROL[9] > 15 && $@RAT_SAILOR_CONTROL[1] && $@RAT_SAILOR_CONTROL[2] && $@RAT_SAILOR_CONTROL[3] && $@RAT_SAILOR_CONTROL[4]) goto l_WarpOut;
if ($@RAT_SAILOR_CONTROL[9] > 100) goto l_Timeout;
if (PC_DIE_COUNTER > $@RAT_SAILOR_DEATHS) goto l_Dead;
if ($@RAT_SAILOR_CONTROL[1] && $@RAT_SAILOR_CONTROL[2] && $@RAT_SAILOR_CONTROL[3] && $@RAT_SAILOR_CONTROL[4]) goto l_Done;
@@ -243,11 +243,12 @@ l_Done:
mesn "Peter";
mesq l("Are you done in there?");
+ initnpctimer;
+
menu
l("Yes, everything is ok."), l_WarpOut,
l("Soon, soon."), -;
- initnpctimer;
end;
l_WarpOut: