/* hercules\db\quest_db.txt49900,0,0,0,0,0,0,0,"Acolyte Trouble"49901,0,0,0,0,0,0,0,"Acolyte Trouble"49902,0,0,0,0,0,0,0,"Acolyte Trouble"49903,0,0,0,0,0,0,0,"Acolyte Trouble"49904,0,0,0,0,0,0,0,"Gemstone Shortage"49905,0,0,0,0,0,0,0,"Gemstone Shortage"49906,0,0,0,0,0,0,0,"Gemstone Shortage"49907,0,0,0,0,0,0,0,"Poring Problem"49908,0,1002,10,0,0,0,0,"Poring Problem"49909,0,0,0,0,0,0,0,"Poring Problem"49910,0,0,0,0,0,0,0,"Hand over the Artifact"49911,15,0,0,0,0,0,0,"Hand over the Artifact"49912,0,0,0,0,0,0,0,"Hand over the Artifact"49913,0,0,0,0,0,0,0,"Hand over the Artifact"*//* client\data\questid2display.txt49900#acolyte trouble#SG_FEEL#QUE_GOD02#Talk to the acolyte inside prontera church#Talk to the acolyte#49901#acolyte trouble#SG_FEEL#QUE_NOIMAGE#Journey to Izlude town and talk to acolyte's mother#Find old lady in izlude#49902#acolyte trouble#SG_FEEL#QUE_NOIMAGE#Go back to Prontera Church and hand over the letter to the acolyte#Talk to the acolyte#49903#acolyte trouble#SG_FEEL#QUE_NOIMAGE#Mission COMPLETE !#Submit to Tavern Master#49904#gemstone shortage#SG_FEEL#QUE_NOIMAGE#Talk to gemstone seller#Talk to gemstone seller#49905#gemstone shortage#SG_FEEL#QUE_NOIMAGE#collect 10 yellow gemstones, 10 blue gemstones, 10 red gemstones and bring them to gem seller#Collect gemstones#49906#gemstone shortage#SG_FEEL#QUE_NOIMAGE#Mission COMPLETE !#Submit to Tavern Master#49907#poring problem#SG_FEEL#QUE_NOIMAGE#Talk to Prontera guard#Talk to Prontera guard#49908#poring problem#SG_FEEL#QUE_NOIMAGE#Poring has invaded Prontera town last night, help out the town by killing porings outside the town#kill 10 porings#49909#poring problem#SG_FEEL#QUE_NOIMAGE#Mission COMPLETE !#Submit to Tavern Master#49910#hand over the artifact#SG_FEEL#QUE_NOIMAGE#There is a rare artifact in the town kept by artifact collecter. Hand over the artifact to Tavern Master#Talk to artifact collecter#49911#hand over the artifact#SG_FEEL#QUE_NOIMAGE#Talk to assistant FAST! Time is running out!#Talk to assistant FAST!#49912#hand over the artifact#SG_FEEL#QUE_NOIMAGE#Return to artifact collecter#Talk to artifact collecter#49913#hand over the artifact#SG_FEEL#QUE_NOIMAGE#Mission COMPLETE !#Submit to Tavern Master#*//*mission 1 - acolyte trouble49900 - from tavern, talk to acolyte49901 - from acolyte, talk to npc in izlude49902 - from izlude, talk to acolyte49903 - from acolyte, submit to tavernmission 2 - gemstone stortage49904 - from tavern, talk to gem seller49905 - from gem seller, collect 10 yellow/blue/red gemstone49906 - from gem seller, submit to tavernmission 3 - poring problem49907 - from tavern, talk to guard49908 - from guard, kill 10 poring49909 - after kill poring and talked to guard, submit to tavernmission 4 - hand over the artifact49910 - from tavern, talk to artifact collecter49911 - from artifact collecter, talk to assistant within 20 seconds49912 - from assistant, talk to artifact collecter49913 - from artifact collecter, submit to tavern*/prontera,153,180,5 script reset quest(debug)4_BULLETIN_BOARD2,{for( .@i =49900; .@i < 49913; .@i++)if(checkquest(.@i)!=-1)erasequest .@i;end;OnInit: questinfo 0, QTYPE_QUEST2, 0;end;}prontera,156,180,5 script Prontera Tavern 2_BULLETIN_BOARD,{mes"take a mission";next;switch(select("acolyte trouble","gemstone shortage","poring problem","hand over the artifact")){case1:if(checkquest(49903)==2){mes"you already completed this mission";close;}elseif(checkquest(49903)==1){mes"you complete this mission!";dispbottom"mission 1 pass";completequest49903;close2;showevent0,0;end;}elseif(checkquest(49900)==1 || checkquest(49901)==1 || checkquest(49902)==1){mes"you still on the mission";close;}mes"all right, talk to the <NAVI>Acolyte<INFO>prt_church,102,77,</INFO></NAVI> from the church.";setquest49900;close;case2:if(checkquest(49906)==2){mes"you already completed this mission";close;}elseif(checkquest(49906)==1){mes"you complete this mission!";dispbottom"mission 2 pass";completequest49906;close2;showevent0,0;end;}elseif(checkquest(49904)==1 || checkquest(49905)==1){mes"you still on the mission";close;}mes"all right, talk to the <NAVI>gemstone seller<INFO>prontera,248,151,</INFO></NAVI>.";setquest49904;close2;doevent"gemstone seller::OnShowEvent";end;case3:if(checkquest(49909)==2){mes"you already completed this mission";close;}elseif(checkquest(49909)==1){mes"you complete this mission!";dispbottom"mission 3 pass";completequest49909;close2;showevent0,0;end;}elseif(checkquest(49907)==1 || checkquest(49908)==1){mes"you still on the mission";close;}mes"all right, talk to <NAVI>the guard<INFO>prontera,147,28,</INFO></NAVI>.";setquest49907;close2;doevent"Guard::OnShowEvent";end;case4:if(checkquest(49913)==2){mes"you already completed this mission";close;}elseif(checkquest(49913)==1){mes"you complete this mission!";dispbottom"mission 4 pass";completequest49913;close2;showevent0,0;end;}elseif(checkquest(49910)==1 || checkquest(49911)==1 || checkquest(49912)==1){mes"you still on the mission";close;}mes"all right, talk to the <NAVI>artifact collecter<INFO>prontera,57,293,</INFO></NAVI>.";setquest49910;close2;doevent"artifact collecter::OnShowEvent";end;}end;OnInit: questinfo 0, QTYPE_QUEST, 1;end;}prt_church,102,77,3 script acolyte 4_F_SISTER,{if(checkquest(49902)==1){mes"thx! a letter from my mum!";mes"from now on I'll do my best in training!";changequest49902,49903;close2;showevent0,0;end;}elseif(checkquest(49901)==1){mes"can you please tell <NAVI>my mum<INFO>izlude,88,139,</INFO></NAVI> how much I miss her?";close;}elseif(checkquest(49900)==1){mes"I miss <NAVI>my mum<INFO>izlude,88,139,</INFO></NAVI> day and night ... can you please go to my hometown in izlude and tell her how much I miss her?";changequest49900,49901;close2;showevent0,0;end;}mes"I must focus on my training!";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}izlude,88,139,5 script old woman 4_F_TWMIDWOMAN,{if(checkquest(49901)==1){mes"<NAVI>my child<INFO>prt_church,102,77,</INFO></NAVI> ask you to come? that's great! can you deliver this letter to him now?";changequest49901,49902;close2;showevent0,0;end;}mes"I miss my child...";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}prontera,248,151,3 script gemstone seller 1_M_MERCHANT,{if(checkquest(49905)==1){if(countitem(715) >=10&&countitem(716) >=10&&countitem(717) >=10){mes"you got it! now we can replenish our stock!";delitem715,10;delitem716,10;delitem717,10;changequest49905,49906;close;}mes"you still haven't gathered enough gemstones?";close;}elseif(checkquest(49904)==1){mes"yes, our town need more gemstones. Can you help resupply our shortage of gemstones?";changequest49904,49905;close;}mes"we need more gem stones!";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}prontera,147,28,5 script Guard 8W_SOLDIER,{if(checkquest(49908)==1){if(checkquest(49908,HUNTING)==2){mes"you've kill enough porings! you're our hero";changequest49908,49909;close;}mes"you haven't done killing yet";close;}elseif(checkquest(49907)==1){mes"yesterday night this town was invaded by porings, can you eliminate them?";changequest49907,49908;close;}mes"hi, welcome to prontera town";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}prontera,57,293,5 script artifact collecter 1_M_01,{if(checkquest(49912)==1){mes"yes! that's the one! now you can hand it over to <NAVI>tavern master<INFO>prontera,156,180,</INFO></NAVI>";changequest49912,49913;close2;showevent0,0;end;}elseif(checkquest(49911)==1){mes"FAST! she is about to throw it away!";close;}elseif(checkquest(49910)==1){mes"ahh ... that artifact tavern master requested ... wait! I just asked <NAVI>my assistant<INFO>prontera,31,158,</INFO></NAVI> to throw it! Faster stop her before its too late";dispbottom"you have 15 seconds to retrieve it";close2;showevent0,0;changequest49910,49911;doevent"assistant::OnShowEvent";end;}mes"today a sunny day....";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}prontera,31,158,5 script assistant 1_F_01,{if(checkquest(49911)==1){if(checkquest(49911,PLAYTIME)==2){mes"oh no, the rubbish truck just send them away ...";dispbottom"you failed the quest";erasequest49911;showevent0,0;close;}mes"you're just in time! here the artifact you requested. But to be sure, double check with <NAVI>my master<INFO>prontera,57,293,</INFO></NAVI>.";changequest49911,49912;close2;showevent0,0;doevent"artifact collecter::OnShowEvent";end;}mes"work~ work~ work~";close;OnShowEvent:showevent QTYPE_QUEST, 1;end;}- script show_event -1,{OnPCLoadMapEvent:if(strcharinfo(3)=="prontera"){if(checkquest(100104)==1 || checkquest(100105)==1)addtimer1,"gemstone seller::OnShowEvent";if(checkquest(100107)==1 || checkquest(100108)==1)addtimer1,"Guard::OnShowEvent";if(checkquest(100110)==1 || checkquest(100112)==1)addtimer1,"artifact collecter::OnShowEvent";if(checkquest(100111)==1)addtimer1,"assistant::OnShowEvent";}elseif(strcharinfo(3)=="prt_church"&&(checkquest(100100)==1 || checkquest(100102)==1))addtimer1,"acolyte::OnShowEvent";elseif(strcharinfo(3)=="izlude"&&checkquest(100101)==1)addtimer1,"old woman::OnShowEvent";end;}prontera mapflag loadeventprt_church mapflag loadeventizlude mapflag loadevent