summaryrefslogtreecommitdiff
path: root/npc/000-2-1/alige.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-01-02 14:33:26 +0100
committerReid <reidyaro@gmail.com>2012-01-02 14:33:26 +0100
commitc56cd96112ba3694322641e361437d229e34ab11 (patch)
treecabbdc8c97403ca4efc47b2faf35d7fc74d8c285 /npc/000-2-1/alige.txt
parentf675356a2c851271266d8c9ff42402f2c07fb4ab (diff)
downloadserverdata-c56cd96112ba3694322641e361437d229e34ab11.tar.gz
serverdata-c56cd96112ba3694322641e361437d229e34ab11.tar.bz2
serverdata-c56cd96112ba3694322641e361437d229e34ab11.tar.xz
serverdata-c56cd96112ba3694322641e361437d229e34ab11.zip
Add Alastrim's correction on alige script,
Correct some other dialogs on arpan.
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r--npc/000-2-1/alige.txt24
1 files changed, 8 insertions, 16 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 2da92167..9905d2e7 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -20,13 +20,14 @@
doevent "Alige::OnFirstEncounter";
close;
OnTouchFirst:
- setnpcdir "Alige" 2;
+ setnpcdir "Alige", 2;
stopnpctimer;
initnpctimer;
// OnTouch will not be called otherwise when OnTouchFirst got called
goto OnTouch;
OnUnTouchAll:
- setnpcdir "Alige" 4;
+ setnpcdir "Alige", 4
+ ;
stopnpctimer;
initnpctimer;
close;
@@ -39,14 +40,10 @@
000-2-1.gat,33,31,0,1 script Alige 301,{
- set @q, geta2(ShipQuests, ShipQuests_Alige);
- if (@q == 2) goto l_AskForFood;
- goto OnFirstEncounter;
+ set @q, geta(ShipQuests, ShipQuests_Alige);
+ if (@q) goto l_AskForFood;
OnFirstEncounter:
- seta2 ShipQuests, ShipQuests_Alige, 1;
-
- l_Talk:
mesn l("Hidden person");
mesq l("Hey, psst! You're not a sailor, right?");
@@ -58,7 +55,6 @@
close;
l_NeedHelp:
-
mesn l("Hidden person");
mesq l("Good, good! ") + " " + l("Could you help me please? ") + " " + l("I beg you, please, pleeeease... ");
@@ -98,10 +94,6 @@
next;
- if (geta2(ShipQuests, ShipQuests_Alige) == 2) goto l_AskForFood;
-
- goto l_Accept;
-
l_AboutReward:
mesn;
@@ -120,12 +112,12 @@
mesn;
mesq l("It's a commercial port of Andorra, it's weird that you don't know about it, it's a fame city through our world... But hey oh, return to topic! I'm hungry!");
next;
- if (@q == 2) goto l_AskForFood;
+ if (@q) goto l_AskForFood;
goto l_Accept;
l_Accepted:
- seta4 ShipQuests, ShipQuests_Alige, 2;
+ seta ShipQuests, ShipQuests_Alige, 1;
mesn;
mesq l("Perfect, which food did you get for me today?");
next;
@@ -186,4 +178,4 @@
mesn;
mesq l("Damn you! You better not tell anyone that you've seen me!");
close;
-}
+} \ No newline at end of file