summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-10-11 19:02:11 -0400
committergumi <mekolat@users.noreply.github.com>2017-10-11 19:02:20 -0400
commit6662b6f305976881c3e675241c41be7731b65aa5 (patch)
treea8ecaa074cf67cb929f4de6ed62ef7c4b49c46d1 /npc/001-1
parent03049799efdc103fdd74e77161ed6a907acb7dde (diff)
downloadserverdata-6662b6f305976881c3e675241c41be7731b65aa5.tar.gz
serverdata-6662b6f305976881c3e675241c41be7731b65aa5.tar.bz2
serverdata-6662b6f305976881c3e675241c41be7731b65aa5.tar.xz
serverdata-6662b6f305976881c3e675241c41be7731b65aa5.zip
what's up with this crazy syntax?s20171023
I blame Reid
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/calypsan.txt2
-rw-r--r--npc/001-1/chelios.txt10
-rw-r--r--npc/001-1/devis.txt2
-rw-r--r--npc/001-1/enora.txt32
-rw-r--r--npc/001-1/fexil.txt8
-rw-r--r--npc/001-1/qonan.txt2
-rw-r--r--npc/001-1/qpid.txt18
-rw-r--r--npc/001-1/rumly.txt6
-rw-r--r--npc/001-1/salem.txt6
9 files changed, 43 insertions, 43 deletions
diff --git a/npc/001-1/calypsan.txt b/npc/001-1/calypsan.txt
index e4195f06..7f3d6a0a 100644
--- a/npc/001-1/calypsan.txt
+++ b/npc/001-1/calypsan.txt
@@ -34,7 +34,7 @@
function sell_dye {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("For what kind of tissue?");
- .@tissue_type = select (l("Cotton"), l("Cashmere"));
+ .@tissue_type = select(l("Cotton"), l("Cashmere"));
closedialog;
switch (.@tissue_type)
diff --git a/npc/001-1/chelios.txt b/npc/001-1/chelios.txt
index 1ee44d2f..2846f864 100644
--- a/npc/001-1/chelios.txt
+++ b/npc/001-1/chelios.txt
@@ -22,7 +22,7 @@
l("It's better to deal with the Merchant Guild than the old man, Don has this ability to hammer down your enthusiasm in sparkling fury!"),
l("If Enora wants her sword now, I need to ask for your help.");
- switch (select (l("Let's not keep her waiting."),
+ switch (select(l("Let's not keep her waiting."),
l("Not now.")))
{
case 1:
@@ -80,11 +80,11 @@
do
{
- .@enora = getq (ArtisQuests_Enora);
+ .@enora = getq(ArtisQuests_Enora);
select
- rif (.@enora == 1, lg("I came to retrieve a package for Enora.")),
- rif (.@enora == 3, l("I have your black iron.")),
- rif (.@enora >= 2, l("Where is the Merchant Guild?")),
+ rif(.@enora == 1, lg("I came to retrieve a package for Enora.")),
+ rif(.@enora == 3, l("I have your black iron.")),
+ rif(.@enora >= 2, l("Where is the Merchant Guild?")),
l("What is this building?"),
menuaction(l("Quit"));
diff --git a/npc/001-1/devis.txt b/npc/001-1/devis.txt
index 0a2a60f0..5f0d4868 100644
--- a/npc/001-1/devis.txt
+++ b/npc/001-1/devis.txt
@@ -18,7 +18,7 @@
return;
}
- .@rand = rand (5);
+ .@rand = rand(5);
if (.@rand == 0) goodbye;
else if (.@rand == 1)
{
diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt
index 019e99aa..fea6d6e7 100644
--- a/npc/001-1/enora.txt
+++ b/npc/001-1/enora.txt
@@ -56,7 +56,7 @@
l("You need to be a member of the Merchant Guild to have a chance there."),
l("And I bet you don't know who is in charge of monitoring the security of this place?");
- switch (select (l("The Legion?"), l("I don't know.")))
+ switch (select(l("The Legion?"), l("I don't know.")))
{
case 1:
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
@@ -89,7 +89,7 @@
l("Does your mind go all fuzzy or does it feel like your head is going to explode??"),
l("Try doing that now!");
- switch (select (l("Okay, but there won't be any explosions."),
+ switch (select(l("Okay, but there won't be any explosions."),
lg("Don't get too excited about it...")))
{
case 1:
@@ -101,7 +101,7 @@
speech S_LAST_NEXT,
l("So? You haven't exploded yet! Are you getting anything?");
- select (l("Not really. All I got was a headache..."));
+ select(l("Not really. All I got was a headache..."));
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("It's like your memories are locked away in your head! Cool!");
@@ -119,8 +119,8 @@
}
function enora_reward {
- .@exp_reward = getarg (0);
- .@zeny_reward = getarg (1);
+ .@exp_reward = getarg(0);
+ .@zeny_reward = getarg(1);
getexp .@exp_reward, 0;
Zeny = Zeny + .@zeny_reward;
@@ -136,7 +136,7 @@
l("You probably don't have much business in this city as you don't remember who you are."),
lg("So I was going to ask if maybe you would be interested in giving me a hand with a few errands.");
- switch (select (l("I guess so. What's in it for me?"),
+ switch (select(l("I guess so. What's in it for me?"),
l("Of course! What do you need?")))
{
case 1:
@@ -170,7 +170,7 @@
l("Poor Chelios, I don't envy him..."),
l("So, everything went fine?");
- switch (select (l("Chelios managed to do excellent work."),
+ switch (select(l("Chelios managed to do excellent work."),
l("The old man seemed to be senile.")))
{
case 1:
@@ -199,7 +199,7 @@
l("Her shop is on the west side of the city, between the Legion building and the library.");
setq ArtisQuests_Enora, 5;
- enora_reward (60, 100);
+ enora_reward(60, 100);
closedialog;
npctalk3 l("Thank you very much!");
@@ -208,7 +208,7 @@
function enora_third_quest {
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Look how splendid this @@ is!", getitemlink (ArtisTankTop, CamelCottonDye)),
+ l("Look how splendid this @@ is!", getitemlink(ArtisTankTop, CamelCottonDye)),
l("It's nearly as good as one from Esperia, have you ever been there?"),
l("Ah... Sorry, I forgot, again."),
l("I mean, you forgot... Well."),
@@ -217,7 +217,7 @@
do
{
- .@q = select (l("Do you still need help?"),
+ .@q = select(l("Do you still need help?"),
l("What is this \"legion\"?"));
switch (.@q)
{
@@ -231,12 +231,12 @@
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Oh yes, I have one last errand for you, Q'Pid in the market sells potions."),
- l("It has been some days now since I asked her for a box of @@s, but she hasn't delivered anything yet.", getitemlink (PiberriesInfusion)),
+ l("It has been some days now since I asked her for a box of @@s, but she hasn't delivered anything yet.", getitemlink(PiberriesInfusion)),
l("Please try to figure out what went wrong with this order and bring me those potions."),
l("You will be able to find her in the market in the south-west of Artis.");
setq ArtisQuests_Enora, 7;
- enora_reward (40, 125);
+ enora_reward(40, 125);
closedialog;
npctalk3 l("Thank you very much!");
@@ -262,12 +262,12 @@
getitem2 ArtisTankTop, 1, 1, 0, 0, 5005, 0, 0, 0;
getitem PiberriesInfusion, 5;
setq ArtisQuests_Enora, 10;
- enora_reward (80, 175);
+ enora_reward(80, 175);
speech S_LAST_NEXT,
l("Do you know where the hill is?");
- switch (select (l("Yes I do."),
+ switch (select(l("Yes I do."),
l("Please guide me.")))
{
case 1:
@@ -310,10 +310,10 @@
l("It's a very good place if you want to make some more money.");
emotion E_WINK;
- if (getq (ArtisQuests_Enora) == 10)
+ if (getq(ArtisQuests_Enora) == 10)
{
setq ArtisQuests_Enora, 11;
- enora_reward (140, 500);
+ enora_reward(140, 500);
}
return;
diff --git a/npc/001-1/fexil.txt b/npc/001-1/fexil.txt
index 855dda0b..55d87bc4 100644
--- a/npc/001-1/fexil.txt
+++ b/npc/001-1/fexil.txt
@@ -21,7 +21,7 @@
l("I will buy all of the fur that you will bring me at a good price, let's say, 15 E piece."),
l("Do we have a deal?");
- switch (select (l("Ok."), l("I don't want to be part of this joke.")))
+ switch (select(l("Ok."), l("I don't want to be part of this joke.")))
{
case 1:
setq ArtisQuests_Fexil, 3;
@@ -46,14 +46,14 @@
mesq lg("Interested?");
next;
- if (getq (ArtisQuests_Fexil) == 1)
+ if (getq(ArtisQuests_Fexil) == 1)
{
- select (l("I have your pass from the Merchant Guild."));
+ select(l("I have your pass from the Merchant Guild."));
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Oh! You saved me, I was too afraid to unpack my stuff without this pass."),
l("Hey, I remember you, we were on the same boat, you are the castaway.");
- switch (select (l("Yes I am."),
+ switch (select(l("Yes I am."),
l("You're confusing me with someone else.")))
{
case 1:
diff --git a/npc/001-1/qonan.txt b/npc/001-1/qonan.txt
index f82bf78a..fe255799 100644
--- a/npc/001-1/qonan.txt
+++ b/npc/001-1/qonan.txt
@@ -23,7 +23,7 @@
l("I have a lot of work here, so I don't even have time to go to the town."),
l("Could you do a small favor for me?");
- switch (select (l("Go on."), l("I don't have the time sorry.")))
+ switch (select(l("Go on."), l("I don't have the time sorry.")))
{
case 2:
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
diff --git a/npc/001-1/qpid.txt b/npc/001-1/qpid.txt
index 6a81f78a..d4194ddd 100644
--- a/npc/001-1/qpid.txt
+++ b/npc/001-1/qpid.txt
@@ -20,15 +20,15 @@
input .@answer$;
.@i++;
- if (riddlevalidation (.@answer$, "life", l("life")))
+ if (riddlevalidation(.@answer$, "life", l("life")))
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Oh..."),
l("You seem more cultivated than you look.");
- if (getq (ArtisQuests_Enora) == 7)
+ if (getq(ArtisQuests_Enora) == 7)
{
- setq (ArtisQuests_Enora, 9);
+ setq(ArtisQuests_Enora, 9);
speech S_LAST_NEXT | S_NO_NPC_NAME,
l("Fine, take these potions, I will replenish them in the next couple hours anyway.");
}
@@ -42,9 +42,9 @@
}
else
{
- if (getq (ArtisQuests_Enora) == 7)
+ if (getq(ArtisQuests_Enora) == 7)
{
- setq (ArtisQuests_Enora, 8);
+ setq(ArtisQuests_Enora, 8);
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("You failed!"),
l("Ivan is the one you should look for now."),
@@ -71,7 +71,7 @@
l("I'm not a pawn of the Legion, I don't have to obey you!"),
l("Oh and guess what! I'm almost out of potions anyway.");
- switch (select (l("And where can I find these potions?"),
+ switch (select(l("And where can I find these potions?"),
l("You bored me, see you later.")))
{
case 1:
@@ -103,7 +103,7 @@
l("But rare are those that receive grants from the Legion itself. For anybody else only a hard work can pay your bills!");
emotion E_UPSET;
- switch (select (l("Sorry I didn't mean to bother you."),
+ switch (select(l("Sorry I didn't mean to bother you."),
l("You are just sitting on the shadow of your store.")))
{
case 1:
@@ -128,9 +128,9 @@
.@enora = getq(ArtisQuests_Enora);
select
- rif (.@enora == 7, l("Enora wants her potions.")),
+ rif(.@enora == 7, l("Enora wants her potions.")),
menuaction(l("Trade")),
- rif (.@enora > 7, l("What was your riddle?")),
+ rif(.@enora > 7, l("What was your riddle?")),
l("How do you do your potions?"),
l("What are you reading?"),
menuaction(l("Quit"));
diff --git a/npc/001-1/rumly.txt b/npc/001-1/rumly.txt
index f6a9126a..4a1103fb 100644
--- a/npc/001-1/rumly.txt
+++ b/npc/001-1/rumly.txt
@@ -94,7 +94,7 @@ L_Menu:
case 4:
if (.@visited < 2) goto L_Quit;
- .@rand = rand (2);
+ .@rand = rand(2);
if (.@rand)
{
@@ -215,8 +215,8 @@ L_Quit:
OnTimer1800:
stopnpctimer;
- if (getnpcdir ("Rumly#001-1") == 2) setnpcdir "Rumly#001-1", 6;
- if (getnpcdir ("Rumly#001-1") == 4) setnpcdir "Rumly#001-1", 8;
+ if (getnpcdir("Rumly#001-1") == 2) setnpcdir "Rumly#001-1", 6;
+ if (getnpcdir("Rumly#001-1") == 4) setnpcdir "Rumly#001-1", 8;
end;
diff --git a/npc/001-1/salem.txt b/npc/001-1/salem.txt
index eee2a161..b80cb76e 100644
--- a/npc/001-1/salem.txt
+++ b/npc/001-1/salem.txt
@@ -72,7 +72,7 @@
speech
l("Look who is back..."),
l("And with my piou. That's wonderful. I can only imagine how hard that little bugger was to catch!"),
- l("Great, and as I promised, I give you a 90% discount on the @@ of your choice.", getitemlink (PiouEgg));
+ l("Great, and as I promised, I give you a 90% discount on the @@ of your choice.", getitemlink(PiouEgg));
next;
@ArtisQuests_PiouPrice = 3000;
@@ -168,8 +168,8 @@ L_AboutPious:
next;
select
- rif (.@q == 0, l("Sounds like a good deal to me. I'll do it.")),
- rif (.@q == 1, l("I'm on my way! I will bring it back to you.")),
+ rif(.@q == 0, l("Sounds like a good deal to me. I'll do it.")),
+ rif(.@q == 1, l("I'm on my way! I will bring it back to you.")),
l("I don't really have time to go chasing pious, let me just buy one at the regular price (30000 E)."),
l("I don't want to buy a piou right now.");