summaryrefslogtreecommitdiff
path: root/npc/000-2-1/alige.txt
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-01-02 19:58:18 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-01-02 19:58:18 +0100
commit135ae64e982c88a7392bb2a32594413c495d257f (patch)
tree583b5bf0c8566bb403bdbdfa070871352d9c14be /npc/000-2-1/alige.txt
parentb9de0b68a6cd3b3b110028030c8cc3a9baba349e (diff)
downloadserverdata-135ae64e982c88a7392bb2a32594413c495d257f.tar.gz
serverdata-135ae64e982c88a7392bb2a32594413c495d257f.tar.bz2
serverdata-135ae64e982c88a7392bb2a32594413c495d257f.tar.xz
serverdata-135ae64e982c88a7392bb2a32594413c495d257f.zip
Fixed Alige
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r--npc/000-2-1/alige.txt18
1 files changed, 13 insertions, 5 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 076c0c0a..173d0ae9 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -26,8 +26,7 @@
// OnTouch will not be called otherwise when OnTouchFirst got called
goto OnTouch;
OnUnTouchAll:
- setnpcdir "Alige", 4
- ;
+ setnpcdir "Alige", 4;
stopnpctimer;
initnpctimer;
close;
@@ -41,9 +40,13 @@
000-2-1.gat,33,31,0,1 script Alige 301,{
set @q, geta2(ShipQuests, ShipQuests_Alige);
- if (@q) goto l_AskForFood;
+ if (@q == 2) goto l_AskForFood;
+ goto OnFirstEncounter;
OnFirstEncounter:
+ seta2 ShipQuests, ShipQuests_Alige, 1;
+
+ l_Talk:
mesn l("Hidden person");
mesq l("Hey, psst! You're not a sailor, right?");
@@ -55,6 +58,7 @@
close;
l_NeedHelp:
+
mesn l("Hidden person");
mesq l("Good, good! ") + " " + l("Could you help me please? ") + " " + l("I beg you, please, pleeeease... ");
@@ -94,6 +98,10 @@
next;
+ if (geta2(ShipQuests, ShipQuests_Alige) == 2) goto l_AskForFood;
+
+ goto l_Accept;
+
l_AboutReward:
mesn;
@@ -112,12 +120,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) goto l_AskForFood;
+ if (@q == 2) goto l_AskForFood;
goto l_Accept;
l_Accepted:
- seta ShipQuests, ShipQuests_Alige, 1;
+ seta2 ShipQuests, ShipQuests_Alige, 2;
mesn;
mesq l("Perfect, which food did you get for me today?");
next;