summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-04 19:53:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-04 19:53:00 +0300
commitb5ba5b06918d5b6a48aed7929d8107c052c5bf25 (patch)
tree8f9ec7e15d5bb6733dff5c3cc9fb8dad9622b95e /npc/000-1
parent3e1aae83d7ca2599d44d746569cb7bbf4b0a8c66 (diff)
downloadserverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.gz
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.bz2
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.tar.xz
serverdata-b5ba5b06918d5b6a48aed7929d8107c052c5bf25.zip
Fix code style.
Add missing spaces, remove useless empty lines.
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/ale.txt2
-rw-r--r--npc/000-1/astapolos.txt2
-rw-r--r--npc/000-1/couwan.txt2
-rw-r--r--npc/000-1/darlin.txt2
-rw-r--r--npc/000-1/fexil.txt2
-rw-r--r--npc/000-1/gugli.txt2
-rw-r--r--npc/000-1/gulukan.txt4
-rw-r--r--npc/000-1/jalad.txt2
-rw-r--r--npc/000-1/lean.txt2
-rw-r--r--npc/000-1/max.txt2
-rw-r--r--npc/000-1/muller.txt2
-rw-r--r--npc/000-1/sapartan.txt2
-rw-r--r--npc/000-1/silvio.txt4
-rw-r--r--npc/000-1/tarlan.txt4
-rw-r--r--npc/000-1/tibbo.txt2
15 files changed, 4 insertions, 32 deletions
diff --git a/npc/000-1/ale.txt b/npc/000-1/ale.txt
index d90831369..f2e2642c2 100644
--- a/npc/000-1/ale.txt
+++ b/npc/000-1/ale.txt
@@ -6,7 +6,6 @@
// Aquada box.
000-1.gat,55,23,0,1 script Ale 105;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -111,5 +110,4 @@ l_TaskDone:
l_Quit:
close;
-
}
diff --git a/npc/000-1/astapolos.txt b/npc/000-1/astapolos.txt
index 70c9f1612..bd0ef8121 100644
--- a/npc/000-1/astapolos.txt
+++ b/npc/000-1/astapolos.txt
@@ -7,7 +7,6 @@
// Croconut box.
000-1.gat,22,50,0,1 script Astapolos 107;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -156,5 +155,4 @@ l_TaskDone:
mesq l("Perfect!");
close;
-
}
diff --git a/npc/000-1/couwan.txt b/npc/000-1/couwan.txt
index c074362d1..624d54af3 100644
--- a/npc/000-1/couwan.txt
+++ b/npc/000-1/couwan.txt
@@ -12,7 +12,6 @@
// 2 Done quest scam.
000-1.gat,89,36,0,1 script Couwan 111;2,{
-
set @q, getq(ShipQuests_Couwan);
if (@q == 1) goto l_QuestGiven;
if (@q > 1) goto l_QuestDone;
@@ -87,5 +86,4 @@ l_QuestDone:
mesq l("Yeye gave my box to Gugli? Nice, nice yeye!");
close;
-
}
diff --git a/npc/000-1/darlin.txt b/npc/000-1/darlin.txt
index 60980ef31..72458daab 100644
--- a/npc/000-1/darlin.txt
+++ b/npc/000-1/darlin.txt
@@ -12,7 +12,6 @@
000-1.gat,89,95,0,1 script Darlin 103;14,{
-
set @q, getq(ShipQuests_TreasureChest);
mesn;
@@ -140,5 +139,4 @@ l_DangerAround:
l_Quit:
close;
-
}
diff --git a/npc/000-1/fexil.txt b/npc/000-1/fexil.txt
index 21e31f13e..b55997e32 100644
--- a/npc/000-1/fexil.txt
+++ b/npc/000-1/fexil.txt
@@ -5,7 +5,6 @@
// Newbie merchant.
000-1.gat,83,98,0,1 script Fexil 108;2,{
-
mesn;
mesq lg("Greetings traveler.");
next;
@@ -32,5 +31,4 @@ l_Accepted:
shop "Bag";
close;
-
}
diff --git a/npc/000-1/gugli.txt b/npc/000-1/gugli.txt
index c923c2d11..22fb0363e 100644
--- a/npc/000-1/gugli.txt
+++ b/npc/000-1/gugli.txt
@@ -22,6 +22,7 @@
// 22 Gave all of the box to Gugli.
000-1.gat,85,108,0,1 script Gugli 313;2,{
+
OnTalk:
mesn;
set @nard, getq(ShipQuests_Nard);
@@ -229,5 +230,4 @@ l_Quit:
if (@gugli > 0) close;
doevent "Gugli::OnTalk";
close;
-
}
diff --git a/npc/000-1/gulukan.txt b/npc/000-1/gulukan.txt
index 1ec1c94c6..6a90afe57 100644
--- a/npc/000-1/gulukan.txt
+++ b/npc/000-1/gulukan.txt
@@ -7,7 +7,6 @@
// Croconut box.
000-1.gat,54,90,0,1 script Gulukan 111;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -68,7 +67,7 @@ l_Continue2:
l_Func:
mesn;
- set @q, rand(0,400)/100;
+ set @q, rand(0, 400) / 100;
if (@q == 0) goto l_RandomA;
if (@q == 1) goto l_RandomB;
if (@q > 1) goto l_RandomC;
@@ -158,5 +157,4 @@ l_TaskDone:
l_Quit:
close;
-
}
diff --git a/npc/000-1/jalad.txt b/npc/000-1/jalad.txt
index b57500f93..869735e4e 100644
--- a/npc/000-1/jalad.txt
+++ b/npc/000-1/jalad.txt
@@ -7,7 +7,6 @@
// Plushroom box.
000-1.gat,46,35,0,1 script Jalad 112;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -118,5 +117,4 @@ l_TaskDone:
mesq l("Perfect!");
close;
-
}
diff --git a/npc/000-1/lean.txt b/npc/000-1/lean.txt
index 8844416b0..4d29ffe6e 100644
--- a/npc/000-1/lean.txt
+++ b/npc/000-1/lean.txt
@@ -5,7 +5,6 @@
// Sailor who gives some informations to the player.
000-1.gat,79,108,0,1 script Lean 106;2,{
-
set @gugli, getq(ShipQuests_Gugli);
mesn;
@@ -59,5 +58,4 @@ l_Sailors:
l_Quit:
close;
-
}
diff --git a/npc/000-1/max.txt b/npc/000-1/max.txt
index 2f3916b8e..342f487ad 100644
--- a/npc/000-1/max.txt
+++ b/npc/000-1/max.txt
@@ -5,7 +5,6 @@
// Friend of Sapartan, he gives some information on how to find Gulukan, Astapolos and Q-Muller.
000-1.gat,72,110,0,1 script Max 105;2,{
-
set @gugli, getq(ShipQuests_Gugli);
set @knife, getq(ShipQuests_Knife);
@@ -98,5 +97,4 @@ l_Secrets:
l_Quit:
close;
-
}
diff --git a/npc/000-1/muller.txt b/npc/000-1/muller.txt
index a6da67b46..0b48723cf 100644
--- a/npc/000-1/muller.txt
+++ b/npc/000-1/muller.txt
@@ -7,7 +7,6 @@
// Plushroom box.
000-1.gat,35,69,0,1 script Q'Muller 104;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -120,5 +119,4 @@ l_TaskDone:
l_Quit:
close;
-
}
diff --git a/npc/000-1/sapartan.txt b/npc/000-1/sapartan.txt
index 0f5b84611..090ea5097 100644
--- a/npc/000-1/sapartan.txt
+++ b/npc/000-1/sapartan.txt
@@ -5,7 +5,6 @@
// Friend of Max, he gives some information on combat system.
000-1.gat,74,111,0,1 script Sapartan 314;2,{
-
mesn;
mesq l("Hey Max, it's @@!", strcharinfo(0));
next;
@@ -96,5 +95,4 @@
l_Quit:
close;
-
}
diff --git a/npc/000-1/silvio.txt b/npc/000-1/silvio.txt
index 3706623b4..ccae2ec66 100644
--- a/npc/000-1/silvio.txt
+++ b/npc/000-1/silvio.txt
@@ -5,7 +5,6 @@
// Pervert and arrogant sailor.
000-1.gat,86,99,0,1 script Silvio 312;2,{
-
mesn;
mesq l("Hey!");
next;
@@ -183,6 +182,5 @@ l_Quit:
mesn;
mesq l("Give me a kiss before you say goodbye!");
-close;
-
+ close;
}
diff --git a/npc/000-1/tarlan.txt b/npc/000-1/tarlan.txt
index acc3abd31..261373019 100644
--- a/npc/000-1/tarlan.txt
+++ b/npc/000-1/tarlan.txt
@@ -5,10 +5,9 @@
// Sailor hitting a crocotree, then being struck by a falling croconut.
000-1.gat,33,37,0,1 script Tarlan 315;2,{
+ setnpcdir 2;
mesn;
-
- setnpcdir 2;
set @a, rand(4);
if (@a == 0) goto l_HardToHit;
if (@a == 1) goto l_Aouch;
@@ -60,5 +59,4 @@ l_DoYou:
l_Quit:
setnpcdir 4;
close;
-
}
diff --git a/npc/000-1/tibbo.txt b/npc/000-1/tibbo.txt
index dbef8ec06..8ca6cff2e 100644
--- a/npc/000-1/tibbo.txt
+++ b/npc/000-1/tibbo.txt
@@ -7,7 +7,6 @@
// Aquada box.
000-1.gat,34,111,0,1 script Tibbo 110;2,{
-
set @g, getq(ShipQuests_Gugli);
if (@g == 0) goto l_NoTask;
@@ -107,5 +106,4 @@ l_TaskDone:
mesq l("Awesome!");
close;
-
}