summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-29 18:19:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-29 18:19:27 +0300
commitd69f9fe30404efeefaad1215239afc448ffca273 (patch)
tree79f7b8a8757eef62f5009588a878a5a3d4c574da /npc/000-2-1
parentdbd26c5aaeabd8ce698f27d8d9874fb3807d4647 (diff)
downloadserverdata-d69f9fe30404efeefaad1215239afc448ffca273.tar.gz
serverdata-d69f9fe30404efeefaad1215239afc448ffca273.tar.bz2
serverdata-d69f9fe30404efeefaad1215239afc448ffca273.tar.xz
serverdata-d69f9fe30404efeefaad1215239afc448ffca273.zip
Restore active distance to all npcs.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/alige.txt2
-rw-r--r--npc/000-2-1/arpan.txt2
-rw-r--r--npc/000-2-1/chefgado.txt2
-rw-r--r--npc/000-2-1/chest.txt5
-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.txt5
-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.txt20
10 files changed, 31 insertions, 13 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index e8736693..31e606bd 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -47,7 +47,6 @@ OnTimer190:
end;
}
-// Size = 2
000-2-1,43,31,0 script Alige 401,{
set .@q, getq(ShipQuests_Alige);
if (.@q > 1) goto L_AskForFood;
@@ -296,5 +295,6 @@ L_Quit:
OnInit:
setnpcsex 1;
+ setnpcdistance 2;
end;
}
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt
index 18e30094..e68a780f 100644
--- a/npc/000-2-1/arpan.txt
+++ b/npc/000-2-1/arpan.txt
@@ -84,7 +84,6 @@ L_EquipDone:
close;
}
-// Size = 5
000-2-1,49,33,0 script Magic Arpan 407,{
set .@q, getq(ShipQuests_Arpan);
set .@q_julia, getq(ShipQuests_Julia);
@@ -228,5 +227,6 @@ L_EquipDone:
OnInit:
setnpcsex 1;
+ setnpcdistance 5;
end;
}
diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt
index 16a4405f..0cb6b709 100644
--- a/npc/000-2-1/chefgado.txt
+++ b/npc/000-2-1/chefgado.txt
@@ -16,7 +16,6 @@
// 5 Quest complete. Julia wins (poison dish returned).
// 6 Quest complete. Julia wins.
-// Size = 2
000-2-1,27,28,0 script Chef Gado 418,{
set .@q, getq(ShipQuests_ChefGado);
set .@n, getq(ShipQuests_Nard);
@@ -210,5 +209,6 @@ L_Quit:
OnInit:
setnpcsex 1;
+ setnpcdistance 2;
end;
}
diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt
index 7f01c6af..06a98003 100644
--- a/npc/000-2-1/chest.txt
+++ b/npc/000-2-1/chest.txt
@@ -10,7 +10,6 @@
// 1 Talked to Arpan and needs to get clothes.
// 2 Has the clothes.
-// Size = 2
000-2-1,51,37,0 script Chest 417,{
set .@q, getq(ShipQuests_Arpan);
@@ -50,4 +49,8 @@ L_Quit:
initnpctimer;
startnpctimer;
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}
diff --git a/npc/000-2-1/dan.txt b/npc/000-2-1/dan.txt
index e74a7950..6b258370 100644
--- a/npc/000-2-1/dan.txt
+++ b/npc/000-2-1/dan.txt
@@ -6,7 +6,6 @@
// There are two kinds of dialogues in this script.
// Dan will randomly choose between a useless sentence, and a quest in Artis.
-// Size = 2
000-2-1,32,31,0 script Dan 101,{
mesn;
set .@q, rand(3);
@@ -85,5 +84,6 @@ L_Quit2:
OnInit:
setnpcsex 1;
+ setnpcdistance 2;
end;
}
diff --git a/npc/000-2-1/devis.txt b/npc/000-2-1/devis.txt
index ff7434da..36d5ddb6 100644
--- a/npc/000-2-1/devis.txt
+++ b/npc/000-2-1/devis.txt
@@ -6,12 +6,12 @@
// Description:
// Sleeping and grumbling NPC.
-// Size = 2
000-2-1,32,38,0 script Devis 410,{
callfunc "Asleep";
close;
OnInit:
setnpcsex 1;
+ setnpcdistance 2;
end;
}
diff --git a/npc/000-2-1/knife.txt b/npc/000-2-1/knife.txt
index aed6df6e..a696d59e 100644
--- a/npc/000-2-1/knife.txt
+++ b/npc/000-2-1/knife.txt
@@ -10,7 +10,6 @@
// 0 Default, not taken.
// 1 Knife taken.
-// Size = 2
000-2-1,50,24,0 script #knife 100,{
set .@q, getq(ShipQuests_Knife);
if (.@q) close;
@@ -43,4 +42,8 @@ L_Give:
mes col(l("Items have different effects. Some will heal you, some can be used as weapons or armor, and some can be sold for gold."), 9);
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}
diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt
index c17e1851..c53c6c5f 100644
--- a/npc/000-2-1/peter.txt
+++ b/npc/000-2-1/peter.txt
@@ -87,7 +87,6 @@ L_NoGoodTick:
close;
}
-// Size = 3
000-2-1,70,35,0 script Peter 403,{
if (BaseLevel < 5) goto OnTooWeak;
if ($@RAT_SAILOR_COUNTDOWN == "") goto L_NoCountDown;
@@ -327,5 +326,6 @@ OnNoGoodTick:
OnInit:
setnpcsex 1;
+ setnpcdistance 3;
end;
}
diff --git a/npc/000-2-1/q'onan.txt b/npc/000-2-1/q'onan.txt
index c48d733f..6075d2cd 100644
--- a/npc/000-2-1/q'onan.txt
+++ b/npc/000-2-1/q'onan.txt
@@ -5,12 +5,12 @@
// Description:
// Sleeping and snoring NPC.
-// Size = 2
000-2-1,53,38,0 script Q'Onan#000-2-1 402,{
callfunc "Asleep";
close;
OnInit:
setnpcsex 1;
+ setnpcdistance 2;
end;
}
diff --git a/npc/000-2-1/savepoint.txt b/npc/000-2-1/savepoint.txt
index 47c96640..5f65c252 100644
--- a/npc/000-2-1/savepoint.txt
+++ b/npc/000-2-1/savepoint.txt
@@ -4,26 +4,38 @@
// Description:
// Saves locations in 000-2-1 map.
-// Size = 2
000-2-1,40,37,0 script #name1 901,{
callfunc "SavePoint", "000-2-1.gat", 40, 37;
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}
-// Size = 2
000-2-1,46,37,0 script #name2 901,{
callfunc "SavePoint", "000-2-1.gat", 46, 37;
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}
-// Size = 2
000-2-1,50,38,0 script #name3 901,{
callfunc "SavePoint", "000-2-1.gat", 50, 38;
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}
-// Size = 2
000-2-1,55,40,0 script #name4 901,{
callfunc "SavePoint", "000-2-1.gat", 55, 40;
close;
+
+OnInit:
+ setnpcdistance 2;
+ end;
}