summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authoromatt <m.vuoso@laposte.net>2016-08-06 09:51:20 +0200
committeromatt <m.vuoso@laposte.net>2016-08-06 09:51:20 +0200
commit55ffd25d8b7ae36a3b601f3e60bc140d603a7b83 (patch)
treebefab8d73f7449419a976947ac22c09a383624af /npc
parentc811ec5446242bcb2ecb60e0c454dc0a2419b60d (diff)
downloadserverdata-55ffd25d8b7ae36a3b601f3e60bc140d603a7b83.tar.gz
serverdata-55ffd25d8b7ae36a3b601f3e60bc140d603a7b83.tar.bz2
serverdata-55ffd25d8b7ae36a3b601f3e60bc140d603a7b83.tar.xz
serverdata-55ffd25d8b7ae36a3b601f3e60bc140d603a7b83.zip
change fishing pull_max, add timer; change label name in wateranimation
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1/wateranimation.txt32
-rw-r--r--npc/functions/fishing.txt6
2 files changed, 21 insertions, 17 deletions
diff --git a/npc/001-1/wateranimation.txt b/npc/001-1/wateranimation.txt
index fda5f23e..8f3bac17 100644
--- a/npc/001-1/wateranimation.txt
+++ b/npc/001-1/wateranimation.txt
@@ -16,7 +16,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -40,7 +40,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -64,7 +64,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -88,7 +88,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -112,7 +112,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -136,7 +136,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -160,7 +160,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -184,7 +184,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -208,7 +208,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -232,7 +232,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -256,7 +256,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -280,7 +280,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -304,7 +304,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -328,7 +328,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -352,7 +352,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
@@ -376,7 +376,7 @@ OnBiteBait:
end;
-OnTimer35000:
+OnRemoveBait:
.dir = DOWN;
@occupy = false;
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index c2b4fda2..49ca3727 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -38,7 +38,7 @@ function script fishing {
.@wait_time_min = 4000;
.@wait_time_max = 18000;
- .@pull_rand_max = 500;
+ .@pull_rand_max = 800;
.@fish_id = CommonCarp;
.@rare_fish_chance = 25;
@@ -57,11 +57,14 @@ function script fishing {
setnpcdir getarg(0), DOWN;
deltimer getarg(0) + "::OnBiteBait";
+ deltimer getarg(0) + "::OnRemoveBait";
narrator l("You pulled too soon and lost the bait.");
close;
case LEFT:
@occupy = false;
+ deltimer getarg(0) + "::OnRemoveBait";
+
setnpcdir getarg(0), DOWN;
getmapxy (.@mapbis$, .@xbis, .@ybis, 0);
@@ -170,6 +173,7 @@ OnChooseBait:
.@delay = rand(.@wait_time_min, .@wait_time_max);
addtimer .@delay, getarg(0) + "::OnBiteBait";
+ addtimer (.@delay + 5000), getarg(0) + "::OnRemoveBait";
close;
}