1 //===== rAthena Script =======================================
2 //= Eden Group Quests - Mission [11 - 25]
3 //===== By: ==================================================
5 //===== Current Version: =====================================
7 //===== Compatible With: =====================================
9 //===== Description: =========================================
10 //= Repetable Quests for Players between Baselevel 11 - 25.
11 //===== Additional Comments: =================================
12 //= 1.0 First Version.
13 //= 1.1 Some little optimization here and there. [Masao]
14 //= 1.2 Optimized. [Euphy]
15 //= 1.3 Bug fixes. [Capuche]
16 //= 1.4 Added support to Para_Team_Mark_ in Eden Group. [Ragno]
17 //= 1.5 Added use of F_HasEdenGroupMark function. [Ragno]
18 //============================================================
20 moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{
21 if (!callfunc("F_HasEdenGroupMark")) {
22 mes "- You need to have an -";
23 mes "- ^4d4dff'Eden Group Mark'^000000 -";
24 mes "- to receive these missions. -";
27 for ( .@i = 11124; .@i < 11134; .@i++ )
28 if (checkquest(.@i,PLAYTIME) == 2) erasequest .@i;
29 for( .@i = 11114; .@i < 11124; .@i++ ) {
30 .@j = checkquest(.@i,HUNTING);
32 mes " - You must collect your - ";
33 mes " - reward before starting - ";
34 mes " - a new mission. - ";
36 mes " - Manager : Spike - ";
40 mes " - You can only request - ";
41 mes " - one mission at a time. - ";
43 mes " - Manager : Spike - ";
48 mes " - There are no tasks - ";
49 mes " - open for you right now. - ";
53 mes " - These missions are too - ";
54 mes " - easy for your caliber - ";
55 mes " - search for a more level - ";
56 mes " - appropriate mission. - ";
59 mes " - Mission bulletin board -";
60 mes " - for beginners. -";
62 mes " - Manager : Spike -";
64 switch(select("Hornet Hunting:Condor Hunting:Grasshopper's Leg:Worm Tail Hunting:Spore Hunting:Pest Control:Muka Hunting:Familiar Hunting:Collect Feathers:Collect Poison Spores:Cancel")) {
65 case 1: callsub L_Quest,11114,"Hornet Hunting"," - Hunt 10 ^4d4dff'Hornets'^000000 - "," - northwest of Prontera. - ";
66 case 2: callsub L_Quest,11115,"Condor Hunting"," - Hunt 20 ^4d4dff'Condors'^000000 - "," - south of Morroc. - ";
67 case 3: callsub L_Quest,11116,"Grasshopper's Leg"," - Hunt 10 ^4d4dff'Rockers'^000000 - "," - southwest of Prontera and - "," - bring 10 ^4d4dffGrasshopper's Legs^000000. - ";
68 case 4: callsub L_Quest,11117,"Worm Tail Hunting"," - Hunt 20 ^4d4dff'Worm Tails'^000000 - "," - southeast of Payon.- ";
69 case 5: callsub L_Quest,11118,"Spore Hunting"," - Hunt 30 ^4d4dff'Spores'^000000 - "," - around Payon. - ";
70 case 6: callsub L_Quest,11119,"Pest Control"," - Hunt 20 ^4d4dffThief Bug Eggs^000000 - "," - in the Prontera Culvert - "," - and bring 10 ^4d4dffChrysalis^000000. - ";
71 case 7: callsub L_Quest,11120,"Muka Hunting"," - Hunt 20 ^4d4dff'Muka'^000000 - "," - south of Prontera. - ";
72 case 8: callsub L_Quest,11121,"Familiar Hunting"," - Hunt 20 ^4d4dffFamiliar^000000 - "," - in the Culvert Sewers - "," - west of Prontera. - ";
73 case 9: callsub L_Quest,11122,"Collect Feathers"," - Hunt 30 ^4d4dff'Peco Pecos'^000000 - "," - south of Prontera. - ";
74 case 10: callsub L_Quest,11123,"Collect Poison Spores"," - Hunt 30 ^4d4dffPoison Spores^000000 - "," - inside the Geffen Tower and - "," - bring 5 ^4d4dffPoison Spores^000000. - ";
76 mes " - Stop reading the bulletin board. - ";
81 if (checkquest(getarg(0)+10,PLAYTIME) == 1) {
82 mes " - Mission ^4d4dff"+ getarg(1) +"^000000 - ";
83 mes " - is already finished for today. - ";
85 mes " - Manager : Spike - ";
88 mes " - Mission '"+ getarg(1) +"' - ";
89 for ( .@i = 2; .@i < getargcount(); .@i++ )
92 mes " - Manager : Spike - ";
94 if (select("I will do this mission.:Look for other missions.") == 2) {
95 mes " - Let's search for -";
96 mes " - other missions. - ";
99 for ( .@i = 2; .@i < getargcount(); .@i++ )
105 moc_para01,32,30,6 script Spike 4_F_CHILD,{
106 for( .@i = 11114; .@i < 11124; .@i++ ) {
107 .@j = checkquest(.@i,HUNTING);
110 case 11114: callsub L_Quest,.@i,"Hornet Hunting",900;
111 case 11115: callsub L_Quest,.@i,"Condor Hunting",1800;
112 case 11116: callsub L_Quest,.@i,"Grasshopper's Leg",1400,940,10;
113 case 11117: callsub L_Quest,.@i,"Worm Tail Hunting",2600;
114 case 11118: callsub L_Quest,.@i,"Spore Hunting",3900;
115 case 11119: callsub L_Quest,.@i,"Extirpate Insects",2900,915,10;
116 case 11120: callsub L_Quest,.@i,"Muka Hunting",3200;
117 case 11121: callsub L_Quest,.@i,"Familiar Hunting",3200;
118 case 11122: callsub L_Quest,.@i,"Collect Feathers",5400;
119 case 11123: callsub L_Quest,.@i,"Collect Poison Spores",6000,7033,5;
124 mes "You haven't finished your mission yet.";
125 mes "Keep up the good work. You are almost done.";
130 mes "Are you looking for a job?";
131 mes "We always have lots of work to do.";
134 mes "Why don't you look around and find some interesting tasks?";
138 .@quest_id = getarg(0);
139 if (checkquest(.@quest_id,HUNTING) == 2) {
140 .@item_req = getarg(3,0);
141 .@req_amount = getarg(4,0);
143 if (countitem(.@item_req) < .@req_amount) {
145 mes "You don't have enough "+ getitemname(.@item_req) +".";
146 mes "You need to bring "+ .@req_amount +" "+ getitemname(.@item_req) +".";
151 mes "Hmm... let me see~";
152 mes "You have completed the '"+ getarg(1) +"' mission.";
156 mes "Our client is so happy with your work. He will appreciate what you have done.";
157 mes "Please help us again. Thanks!";
159 delitem .@item_req,.@req_amount;
160 erasequest .@quest_id;
161 setquest .@quest_id+10;