diff options
author | Reid <reidyaro@gmail.com> | 2012-09-04 23:46:09 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-09-04 23:49:32 +0200 |
commit | 87be5460edb0dc29b22b2034ed8d3946de9faf5f (patch) | |
tree | 0d6dde937412ef6256f95dab1b1e4529edec4433 /npc | |
parent | e002d8fe8138a4bdd194b7f8731b0db484198603 (diff) | |
download | clientdata-87be5460edb0dc29b22b2034ed8d3946de9faf5f.tar.gz clientdata-87be5460edb0dc29b22b2034ed8d3946de9faf5f.tar.bz2 clientdata-87be5460edb0dc29b22b2034ed8d3946de9faf5f.tar.xz clientdata-87be5460edb0dc29b22b2034ed8d3946de9faf5f.zip |
Add fourth values on Alige quest.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/alige.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 875b83db..2aea7083 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -10,8 +10,10 @@ // Variable: // ShipQuests_Alige // Values: -// 0 First talking (before food). -// 1 Already talked. +// 0 Never talk. +// 1 First talk. +// 2 Accept the task. +// 3 Bring first food. 000-2-1.gat,33,32,0,1 script AligeTrigger 0,1,1,{ @@ -21,7 +23,7 @@ OnTouch: close; -OnTouchFirst: // OnTouch will not be called otherwise when OnTouchFirst got called +OnTouchFirst: setnpcdir "Alige", 2; stopnpctimer; initnpctimer; @@ -47,7 +49,7 @@ OnTimer190: 000-2-1.gat,33,31,0,1 script Alige 301;2,{ set @q, getq(ShipQuests_Alige); - if (@q == 2) goto l_AskForFood; + if (@q > 1) goto l_AskForFood; goto OnFirstEncounter; @@ -169,6 +171,7 @@ l_GiveReward: mesn; mesq l("Thank you so much! Here, have some of my berries."); + setq ShipQuests_Alige, 3; getitem "Piberries", rand(1,3); close; |