summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-02 16:39:17 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-02 17:08:56 +0300
commitadcf718ce612182be4f1e7807b7813373b7fc33c (patch)
tree60e23f0f65bbfe50b469d079f841c39012f385fd
parentdb32c19846ca7b4bfc8cb4e3316132eeb76afb6d (diff)
downloadserverdata-adcf718ce612182be4f1e7807b7813373b7fc33c.tar.gz
serverdata-adcf718ce612182be4f1e7807b7813373b7fc33c.tar.bz2
serverdata-adcf718ce612182be4f1e7807b7813373b7fc33c.tar.xz
serverdata-adcf718ce612182be4f1e7807b7813373b7fc33c.zip
Add distance limits to all npcs.
-rw-r--r--npc/000-2-0/billybons.txt2
-rw-r--r--npc/000-2-0/julia.txt2
-rw-r--r--npc/000-2-0/note.txt2
-rw-r--r--npc/000-2-1/alige.txt2
-rw-r--r--npc/000-2-1/arpan.txt4
-rw-r--r--npc/000-2-1/dan.txt2
-rw-r--r--npc/000-2-1/devis.txt2
-rw-r--r--npc/000-2-1/knife.txt2
-rw-r--r--npc/000-2-1/peter.txt2
-rw-r--r--npc/000-2-1/q'onan.txt2
-rw-r--r--npc/000-2-1/savepoint.txt8
-rw-r--r--npc/000-2-3/box.txt2
-rw-r--r--npc/000-2-3/elmo.txt2
-rw-r--r--npc/000-2-3/nard.txt2
-rw-r--r--npc/000-2-3/piousrocket.txt2
-rw-r--r--npc/000-2-3/savepoint.txt2
-rw-r--r--npc/functions/savepoint.txt2
17 files changed, 21 insertions, 21 deletions
diff --git a/npc/000-2-0/billybons.txt b/npc/000-2-0/billybons.txt
index 60ebd759..282d3662 100644
--- a/npc/000-2-0/billybons.txt
+++ b/npc/000-2-0/billybons.txt
@@ -4,7 +4,7 @@
// Description:
// Drunken easteregg about player's past activity.
-000-2-0.gat,20,23,0,1 script BillyBons 311,{
+000-2-0.gat,20,23,0,1 script BillyBons 311;3,{
mesn;
if (rand(5)==2) goto l_Hips;
diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt
index b2d9d217..e2fbe8b9 100644
--- a/npc/000-2-0/julia.txt
+++ b/npc/000-2-0/julia.txt
@@ -13,7 +13,7 @@
// 0 first touch
// 1 already touched
-000-2-0.gat,27,24,0,0 script Julia 304,2,10,{
+000-2-0.gat,27,24,0,0 script Julia 304,2,10;5,{
mesn;
mesq g(l("Hello dear!"),
diff --git a/npc/000-2-0/note.txt b/npc/000-2-0/note.txt
index f9bd83e3..d996077a 100644
--- a/npc/000-2-0/note.txt
+++ b/npc/000-2-0/note.txt
@@ -4,7 +4,7 @@
// Description:
// Note which regroup the 6 main rules of Evol Online.
-000-2-0.gat,29,25,0 script Note 999,{
+000-2-0.gat,29,25,0 script Note 999;2,{
mesn "Narrator";
mes col(l("There is a paper with some rules written on it."), 9);
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index e7a4aa02..d9b70e34 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -45,7 +45,7 @@ OnTimer190:
}
-000-2-1.gat,33,31,0,1 script Alige 301,{
+000-2-1.gat,33,31,0,1 script Alige 301;2,{
set @q, geta2(ShipQuests, ShipQuests_Alige);
if (@q == 2) goto l_AskForFood;
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt
index a077ed8b..7383cd3b 100644
--- a/npc/000-2-1/arpan.txt
+++ b/npc/000-2-1/arpan.txt
@@ -78,7 +78,7 @@ l_EquipDone:
}
-000-2-1.gat,41,37,0 script Box 999,{
+000-2-1.gat,41,37,0 script Box 999;2,{
mesn "Narrator";
set @q, geta2(ShipQuests, ShipQuests_Arpan);
@@ -111,7 +111,7 @@ l_Empty:
}
-000-2-1.gat,39,33,0,1 script Magic Arpan 307,{
+000-2-1.gat,39,33,0,1 script Magic Arpan 307;5,{
OnTalk:
set @q, geta2(ShipQuests, ShipQuests_Arpan);
diff --git a/npc/000-2-1/dan.txt b/npc/000-2-1/dan.txt
index 3ba21bc4..975e1a03 100644
--- a/npc/000-2-1/dan.txt
+++ b/npc/000-2-1/dan.txt
@@ -6,7 +6,7 @@
// Dan will randomly apply a random conversation and
// an other one much directed to one of the future quest of Artis.
-000-2-1.gat, 22,31,0,1 script Dan 101,{
+000-2-1.gat, 22,31,0,1 script Dan 101;2,{
mesn;
set @q, rand(2);
diff --git a/npc/000-2-1/devis.txt b/npc/000-2-1/devis.txt
index 742f7585..632de448 100644
--- a/npc/000-2-1/devis.txt
+++ b/npc/000-2-1/devis.txt
@@ -3,7 +3,7 @@
// Vasily_Makarov
// Reid
-000-2-1.gat,22,38,0,1 script Devis 310,{
+000-2-1.gat,22,38,0,1 script Devis 310;2,{
mesn;
set @q, rand(2);
if (@q == 0) goto l_Zzz;
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt
index f9ff7aad..c8ef40d0 100644
--- a/npc/000-2-1/knife.txt
+++ b/npc/000-2-1/knife.txt
@@ -9,7 +9,7 @@
// 0 default -> not taken
// 1 knife taken
-000-2-1.gat,40,24,0,2 script #name 100,{
+000-2-1.gat,40,24,0,2 script #name 100;1,{
set @q, geta(ShipQuests, ShipQuests_Knife);
if (@q) close;
diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt
index 1d6146b9..ef8fb17c 100644
--- a/npc/000-2-1/peter.txt
+++ b/npc/000-2-1/peter.txt
@@ -72,7 +72,7 @@ L_Rwin:
}
-000-2-1.gat,60,35,0,1 script Peter 303,{
+000-2-1.gat,60,35,0,1 script Peter 303;3,{
set @q_julia, geta2(ShipQuests, ShipQuests_Julia);
if (@q_julia == 0) goto L_TalkToJulia;
diff --git a/npc/000-2-1/q'onan.txt b/npc/000-2-1/q'onan.txt
index 8dfead64..f581b465 100644
--- a/npc/000-2-1/q'onan.txt
+++ b/npc/000-2-1/q'onan.txt
@@ -2,7 +2,7 @@
// Authors:
// Vasily_Makarov
-000-2-1.gat,43,38,0,1 script Q'Onan 302,{
+000-2-1.gat,43,38,0,1 script Q'Onan 302;2,{
mesn;
diff --git a/npc/000-2-1/savepoint.txt b/npc/000-2-1/savepoint.txt
index e8883e18..470e9345 100644
--- a/npc/000-2-1/savepoint.txt
+++ b/npc/000-2-1/savepoint.txt
@@ -4,7 +4,7 @@
// Description:
// Save locations in 000-2-1 map.
-000-2-1.gat,30,37,0,2 script #name 900,{
+000-2-1.gat,30,37,0,2 script #name 900;2,{
set @map$, "000-2-1.gat";
set @x, 30;
@@ -14,7 +14,7 @@
}
-000-2-1.gat,36,37,0,2 script #name 900,{
+000-2-1.gat,36,37,0,2 script #name 900;2,{
set @map$, "000-2-1.gat";
set @x, 36;
@@ -23,7 +23,7 @@
close;
}
-000-2-1.gat,40,38,0,2 script #name 900,{
+000-2-1.gat,40,38,0,2 script #name 900;2,{
set @map$, "000-2-1.gat";
set @x, 40;
@@ -33,7 +33,7 @@
}
-000-2-1.gat,45,40,0,2 script #name 900,{
+000-2-1.gat,45,40,0,2 script #name 900;2,{
set @map$, "000-2-1.gat";
set @x, 45;
diff --git a/npc/000-2-3/box.txt b/npc/000-2-3/box.txt
index 03f8d368..33694b0b 100644
--- a/npc/000-2-3/box.txt
+++ b/npc/000-2-3/box.txt
@@ -15,7 +15,7 @@
// 2 You complete the quest.
// 3 You open the chest, you complete the introduction.
-000-2-3.gat,25,24,0 script Box 102,{
+000-2-3.gat,25,24,0 script Box 102;1,{
set @q, geta2(ShipQuests, ShipQuests_Nardbox);
diff --git a/npc/000-2-3/elmo.txt b/npc/000-2-3/elmo.txt
index 38182b89..e0e36299 100644
--- a/npc/000-2-3/elmo.txt
+++ b/npc/000-2-3/elmo.txt
@@ -4,7 +4,7 @@
// Description:
// Elmo's second dialog.
-000-2-3.gat,27,27,0,1 script Elmo 309,{
+000-2-3.gat,27,27,0,1 script Elmo 309;5,{
set @q, geta(ShipQuests, ShipQuests_ArpanMoney);
if (@q == 1) goto l_GotMoney;
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index 9bd573f5..3b08cafa 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -15,7 +15,7 @@
// 2 You complete the quest.
// 3 You open the chest, you complete the introduction.
-000-2-3.gat,25,26,0,1 script Nard 306,{
+000-2-3.gat,25,26,0,1 script Nard 306;5,{
set @q, geta2(ShipQuests, ShipQuests_Nardbox);
diff --git a/npc/000-2-3/piousrocket.txt b/npc/000-2-3/piousrocket.txt
index 327c1a03..4d889e98 100644
--- a/npc/000-2-3/piousrocket.txt
+++ b/npc/000-2-3/piousrocket.txt
@@ -4,7 +4,7 @@
// Description:
// Jumping pious.
-000-2-3.gat,27,23,4,2 script #name 308,{
+000-2-3.gat,27,23,4,2 script #name 308;3,{
setnpcdir 2;
stopnpctimer;
diff --git a/npc/000-2-3/savepoint.txt b/npc/000-2-3/savepoint.txt
index d19117e0..4f7a6b03 100644
--- a/npc/000-2-3/savepoint.txt
+++ b/npc/000-2-3/savepoint.txt
@@ -4,7 +4,7 @@
// Description:
// Fake save point in nard's room.
-000-2-3.gat,28,24,0,2 script #name 906,1,0{
+000-2-3.gat,28,24,0,2 script #name 906,1,0;2{
mesn "Narrator";
mes col(l("There is a nice place to stay beside you."), 9);
diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt
index a5da7dbb..ac908967 100644
--- a/npc/functions/savepoint.txt
+++ b/npc/functions/savepoint.txt
@@ -2,7 +2,7 @@
// Authors:
// Reid
// Description:
-// Add new save point localisation
+// Add new save point location
function script SavePoint {