diff options
-rw-r--r-- | db/const.txt | 1 | ||||
-rw-r--r-- | npc/000-2-1/alige.txt | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/const.txt b/db/const.txt index b6ea3481d..c64ebe0c1 100644 --- a/db/const.txt +++ b/db/const.txt @@ -205,3 +205,4 @@ NoobQuests_OldWitch 1 ShipQuests_Julia 0 ShipQuests_Peter 1 +ShipQuest_Alige 2 diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index 7524f17ce..6d04f26cd 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -21,11 +21,15 @@ 000-2-1.gat,33,31,0,1 script Alige 301,{ - if (geta2(ShipQuests, ShipQuests_Alige) == 2) goto l_AskForFood; + set @q, geta2(ShipQuests, ShipQuests_Alige); + mes @q; + 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?"); @@ -104,6 +108,7 @@ l_Accepted: + seta4 ShipQuests, ShipQuests_Alige, 2; mesn; mesq l("Perfect, which food did you get for me today?"); next; |