//===== Athena Script ======================================= //= Ayothaya Quests //===== By ================================================ //= Fredzilla //===== Version =========================================== //= 1.0 - First Release, made with infomation from RagnaInfo //===== Compatible With =================================== //= eAthena 1.0 //===== Description ======================================= //= 1 Quests with 2 parts for Ayothaya //===== Comments ========================================== //= List or Variables used //= @fishing - Checks for if you have caught a fish or not, //= 1/10 chance you will get the wedding ring if //= you have started that quest. //= weddingring - Signifies the start of the wedding ring //= quest, and used throughout to keep track of //= progress. //= recoveredring - Signifies you have retrieved the ring //= and therefore can't just drop the ring and //= get the same quest again. ayo_dun02.gat,277,178,1 script OBB 139,4,4,{ if (AyoOBB==1 || weddingring!=3) goto L_Cancel; mes "["+strcharinfo(0)+"]"; mes "Huh what is this?, not foot prints, this is an Old Blue coloured Box"; next; set AyoOBB,1; getitem 603,1; mes "["+strcharinfo(0)+"]"; mes "I think I will keep it"; close; L_Cancel: end; } //Dungeon 1 foot prints x 5 ayo_dun01.gat,30,149,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "There are some foot prints here, they head off to the East."; set @footprints1,1; close; L_Cancel: end; } ayo_dun01.gat,70,149,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "There are some more foot prints, they are heading off to the East too!"; set @footprints2,1; close; L_Cancel: end; } ayo_dun01.gat,100,149,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "More foot prints heading to the East, who do they belong too?"; set @footprints3,1; close; L_Cancel: end; } ayo_dun01.gat,190,149,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "More foot prints, but these are going North."; set @footprints4,1; close; L_Cancel: end; } ayo_dun01.gat,261,263,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "There are some foot prints, they seem to head into that hole there."; set @footprints5,1; close; L_Cancel: end; } //Dungeon 2 foot prints x 4 + 1 fake ayo_dun02.gat,222,204,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "Yet more foot prints, they are either going South or West."; set @footprints6,1; close; L_Cancel: end; } ayo_dun02.gat,169,212,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "Look's like there are foot print going to the West."; set @footprints7,1; close; L_Cancel: end; } ayo_dun02.gat,129,212,1 script Clue 139,5,5,{ if (weddingring!=3) goto L_Cancel; npctalk "Ok these foot prints are either going to the North or West."; set @footprints8,1; close; L_Cancel: end; } ayo_dun02.gat,79,212,1 script Clue 139,7,7,{ if (weddingring!=3) goto L_Cancel; npctalk "These are very new, they are going North."; set @footprints9,1; close; L_Cancel: end; } //FAKE ayo_dun02.gat,245,166,1 script Clue 139,7,7,{ if (weddingring!=3) goto L_Cancel; npctalk "Seems something came by this way, to the East."; close; L_Cancel: end; } ayothaya.gat,233,105,7 script Shuda 818,{ mes "[Shuda]"; if (weddingring==2) goto L_Quest2; if (weddingring==3) goto L_OnQ2; if (weddingring==4) goto L_QuestComplete; if (weddingring==5) goto L_QuestOver; if (countitem(7288)==1) goto L_RingFound; mes "Oh please wont you help me, my partner has gone missing, but not before droping our ^FF0000Engagement Ring^000000 maybe there is a way of ^0000FFfishing^000000 it out of the sea."; set weddingring,1; close; L_RingFound: mes "Oh is that my ring!?!"; next; mes "[Shuda]"; mes "Can I please have it back?"; next; menu "Yes, here you go",N_Yes,"No, I found it, it's mine",-; mes "[Shuda]"; mes "Think what you want, but that ring is mine, and without it I can never marry my true love."; mes ""; mes "Where ever he may be."; close; N_Yes: delitem 7288,1; mes "[Shuda]"; mes "Thank you so much, now I have this back maybe my partner will return."; set weddingring,2; next; mes "[Shuda]"; mes "Come back to me when you have time, I need you to do something else for me."; close; L_Quest2: mes "It seems even though I have my ring back my partner ^FF0000Anon^000000 doesnt seem to want to come back to me"; mes "Maybe he has gotten lost somewhere"; mes ""; mes "Will you please go and look for him"; next; menu "Yes, I would be glad to",L_YesQ2,"No, he will come back on his own",-; mes "[Shuda]"; mes "Well he might, but I still need someone to find him, I am afraid something might have happened to him."; close; L_YesQ2: set weddingring,3; mes "[Shuda]"; mes "Oh thank you so much, I think someone in the town might have seen where he went, maybe he can give you a clue"; close; L_OnQ2: mes "Have you been able to find my love yet?"; mes " "; mes "Please hurry."; mes "*tear*"; close; L_QuestComplete: mes "You have found him ?!?"; mes "Then where is he???"; next; mes "You explain the situation."; next; mes "[Shuda]"; mes "Well, I thought he was my one."; mes "I dont think I will ever find another like him."; mes "*tear*"; next; set weddingring,5; mes "[Shuda]"; mes "I can understand, but why not come and talk to me about it, we might have been able to talk it out."; close; L_QuestOver: mes "Nice to see you again "+strcharinfo(0)+" how have you been?"; close; } ayothaya.gat,208,102,4 script Fisher Man 100,{ mes "[Fisher Man]"; mes "Hi, what I nice day we are having here."; mes "I love fishing, what about you?"; mes "I can let you use my rod to fish if you want to."; next; mes "[Fisher Man]"; mes "Ofcourse for a small cost, if you give me 50z, and a monster feed as bait, I will let you use my rod."; mes " "; mes "So, do you want to have a go?"; next; menu "Yes",-,"No",L_No; if (countitem(528) < 1 || zeny < 50) goto L_Fail; delitem 528,1; set zeny,zeny-50; mes "[Fisher Man]"; mes "Ok give it a good swing."; mes "Lets see if you got anything."; next; set @fishing, rand(1,10); mes "[Fisher Man]"; if (@fishing<5) goto L_Nothing; if (@fishing<10) goto L_Fish; if (@fishing==10) goto L_RingCheck; L_No: mes "[Fisher Man]"; mes "Come back anytime."; close; L_Fail: mes "[Fisher Man]"; mes "Seems you dont have what I need"; mes "Come back when you have some Monster Feed, and 50 zeny."; close; L_Nothing: mes "Sorry it seems like you didnt get anything, try again anytime."; close; L_Fish: getitem 544,1; mes "Look at this you got yourself a fish, well done."; close; L_RingCheck: if (weddingring!=1 || recoveredring==1) goto L_Fish; mes "What is this, some sort of ring!!!"; mes "Well I guess since you fished it out you can keep it"; next; getitem 7288,1; mes "[Fisher Man]"; mes "Come back anytime"; set weddingring,0; set recoveredring,1; close; } ayothaya.gat,192,171,4 script Old Man 824,{ mes "[Old Man]"; if (weddingring==3) goto L_OnQ2; mes "What a nice day it is today, dont you agree?"; close; L_OnQ2: mes "What! Anon is missing, I only saw him a few minutes ago."; next; mes "[Old Man]"; mes "He was heading for Ayothaya's dungeon, I thought this kind of odd, and now you say he hasnt come back?!?"; mes "I think you should follow him in there, just incase something has happened to him"; next; mes "[Old Man]"; mes "Maybe he has left something inside the dungeon, something that can lead you to him"; mes "But thats just me"; next; mes "[Old Man]"; mes "You can get to the dungeon through the old temple, it is one map to the right of here, and down the hill."; close; } ayo_dun02.gat,91,264,4 script Anon 822,{ if (weddingring==4) goto L_QuestComplete; if (weddingring==5) goto L_TalkedShuda; if (@footprints1==1 && @footprints2==1 && @footprints3==1 && @footprints4==1 && @footprints5==1 && @footprints6==1 && @footprints7==1 && @footprints8==1 && @footprints9==1) goto L_Groom; end; L_Groom: mes "[Anon]"; mes "Have you been sent to follow me?"; next; mes "[Anon]"; mes "So I see now, my ex-partner has sent you to see if I'm OK."; mes " "; mes "Can you go and tell her I'm ok, but I cant go through with the marriage."; next; mes "[Anon]"; mes "I cant really give a reason, just tell her that I love her, but not enough to spend the rest of my life with her."; next; mes "[Anon]"; mes "I hope she will understand."; mes " "; mes "I guess you will want something in return."; next; mes "[Anon]"; mes "I can train you, and make you gain some exp."; mes " "; mes "I will do this now."; next; set BaseExp,BaseExp+100000; set weddingring,4; mes "[Anon]"; mes "It is done, please make you way back to Shuda, and please try not to make her cry"; close; L_QuestComplete: mes "[Anon]"; mes "Have you seen Shuda yet?"; close; L_TalkedShuda: mes "[Anon]"; mes "Did she take it OK?"; close; }