diff options
author | Reid <reidyaro@gmail.com> | 2012-01-02 20:46:42 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-01-02 20:46:42 +0100 |
commit | db6485fc0a12e15aab0918792eb9f5db83ca5356 (patch) | |
tree | f329f11b612deee1ceed9253121fd8e6ac739195 /npc | |
parent | 182a9350f6c53b7db6599d7cfbc4049f59c4f943 (diff) | |
parent | 135ae64e982c88a7392bb2a32594413c495d257f (diff) | |
download | serverdata-db6485fc0a12e15aab0918792eb9f5db83ca5356.tar.gz serverdata-db6485fc0a12e15aab0918792eb9f5db83ca5356.tar.bz2 serverdata-db6485fc0a12e15aab0918792eb9f5db83ca5356.tar.xz serverdata-db6485fc0a12e15aab0918792eb9f5db83ca5356.zip |
Merge branch 'master' of gitorious.org:evol/serverdata-beta
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/alige.txt | 18 |
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; |