diff options
Diffstat (limited to 'npc/005-1/maya.txt')
-rw-r--r-- | npc/005-1/maya.txt | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/005-1/maya.txt b/npc/005-1/maya.txt index 263313c53..92e7feffb 100644 --- a/npc/005-1/maya.txt +++ b/npc/005-1/maya.txt @@ -3,7 +3,7 @@ // Saulc // GonzoDark // Variables: -// 0 CandorQuests_Maya +// 0 CandorQuest_Maya // Values: // 00 Default, no quest selected. // 01 First quest accepted: Need 3 cotton cloth and 3 maggot slime @@ -11,7 +11,7 @@ // 03 wolvern tooth +20k + 2000monster point ->claw pendant 005-1,42,37,0 script Maya NPC_RAIJIN_FEMALE_LEGION_ARTIS,0,0,{ - .@maya = getq(CandorQuests_Maya); + .@maya = getq(CandorQuest_Maya); if (.@maya == 0) goto L_QuestNotStarted; @@ -31,26 +31,32 @@ L_QuestNotStarted: L_Next: mes ""; mesn; - mesq l("Good! First, let us test if you are resourceful. Bring me 3 @@ and 3 @@. That should be enough!", getitemlink("Cotton Cloth"),getitemlink("Maggot Slime")); - setq CandorQuests_Maya, 1; + mesq l("Good! First, let us test if you are resourceful. Bring me 3 @@ and 3 @@. That should be enough!", getitemlink(CottonCloth), getitemlink(MaggotSlime)); + setq CandorQuest_Maya, 1; close; L_QuestAccepted: mesn; - mesq l("I see you have brought @@/3 @@ and @@/3 @@ for me",countitem("Cotton Cloth"),getitemlink("Cotton Cloth"),countitem("Maggot Slime"),getitemlink("Maggot Slime")); + mesq l("I see you have brought @@/3 @@ and @@/3 @@ for me",countitem("Cotton Cloth"),getitemlink(CottonCloth),countitem("Maggot Slime"),getitemlink(MaggotSlime)); mes ""; menu rif(countitem("Cotton Cloth") >= 3 && countitem("Maggot Slime") >= 3, l("Here they are!")), L_QuestCompleted, - rif(countitem("Cotton Cloth") < 3 && countitem("Maggot Slime") < 3, l("Oh, then I don't have enough! I'll bring more later!")), L_Close; + rif(countitem("Cotton Cloth") < 3 && countitem("Maggot Slime") < 3, l("Oh, then I don't have enough! I'll bring more later!")), L_Close, + l("Can we get back to that later?"), -; close; L_Close: close; L_QuestCompleted: + delitem CottonCloth, 3; + delitem MaggotSlime, 3; + set Zeny, Zeny + 300; + setq CandorQuest_Maya, 2; + + mes ""; mesn; mesq l("Thanks for the help."); - setq CandorQuests_Maya, 2; close; L_NextQuestPending: |