diff options
-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; |