Jump to content
  • 0

Requesting Askydun Warper npc


Kanor

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Requesting an npc warper which players can access the map "Askydun" after completing the "Askydun Quest". If not,

Player can not access the map.

 

Thanks in advance

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Something like this :

prontera,150,150,0    script    Warp NPC    100,{
    set .npc$, "[" +strnpcinfo(1)+ "]";
    mes .npc$;
    mes "Where would you like to be warped to?";
    next;
    switch(select("Askydun:Poring Market:Vending Area:PvP Room")) {
        case 1:
                if ( #done ) 
                    warp "your map",0,0;
                else 
                    mes "You have not completed the Askydun Quest";
                break;
        case 2:
                warp "poring_map",0,0;
                break;
        case 3:
                warp "vending_map",0,0;
                break;
        case 4: 
                warp "pvp_map",0,0;
                break;
    }
    close;
}

On your quest script, after completing it, add this :

set #done, 1;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

1. Add a character or account variable after completing the quest ( #done or done ) and set it to 1.

2. Create a warper script with check if quest is done :

prontera,150,150,0    script    Warper    100,{
    if ( !#done ) end;
    warp "prontera",150,150;
    end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Sorry >.< One more thing... I would like to have it scripted in this script if its possible.. If you dont mind :D

 

Thanks in advance.

//===== rAthena Script =======================================
//= Complete Mall
//===== By: ==================================================
//= Mysterious
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= rAthena SVN 
//===== Description: =========================================
//= Full complete mall
//===== Additional Comments: =================================
//= v1.0 - First release [Mysterious]
//= v1.1 - Just fixed credits [Mysterious]
//= v1.2 - Little bit more information [Mysterious]
//============================================================

prontera,159,186,3	script	Super Mall	532,{
	waitingroom "[ Mall Warper ]",0;
	
	
mes "[Mall Warper]";
mes "Good day.";
mes "I can Warp you to different parts of the mall";
mes "Now what part do you want to get warped";
		menu "Vending Mall",wentrance,"Item Mall",warmor,"Donation & Quest Shop",wshop;
	


//----------------Towns----------------\\
wentrance: warp "market", 99, 111; end;
close;


warmor: warp "mal_in02", 166, 61; end;
close;

wshop: warp "mal_in02", 29, 60; end;
close;



    
}

mal_in02,182,77,5	shop	Upper Headgear 1	731,5105:1000000,5106:1000000,5201:1000000,5097:1000000,5226:1000000,5011:1000000,5137:1000000,5207:1000000,2254:1000000,5132:1000000,5153:1000000,5333:1000000,2284:1000000,2285:1000000,2261:1000000,5264:1000000,5189:1000000,5270:1000000,5174:1000000,5116:1000000,2211:1000000,5042:1000000,5147:1000000,5172:1000000,2244:1000000,5129:1000000,2216:1000000,5057:1000000,5065:1000000,5052:1000000,2279:1000000,5017:1000000,5016:1000000,5150:1000000,5114:1000000,5034:1000000,2214:1000000,5024:1000000,5178:1000000,2226:1000000,5145:1000000,5026:1000000,2232:1000000,2249:1000000,5019:1000000,5075:1000000,5048:1000000,5036:1000000,5080:1000000,5081:1000000,2235:1000000,2250:1000000,5082:1000000,5038:1000000,2273:1000000,2283:1000000,5015:1000000,5146:1000000,2255:1000000,2207:1000000,5047:1000000,5170:1000000,5018:1000000,2215:1000000,5061:1000000,5124:1000000,5056:1000000,2290:1000000,5111:1000000,5144:1000000,2230:1000000,2274:1000000,5063:1000000,5128:1000000,2246:1000000,5007:1000000,2298:1000000,5021:1000000,2210:1000000,2282:1000000,2220:1000000,5001:1000000,5041:1000000,5025:1000000,2228:1000000,5070:1000000
mal_in02,184,77,5	shop	Upper Headgear 2	762,5072:1000000,5190:1000000,5010:1000000,5071:1000000,5209:1000000,2271:1000000,5002:1000000,5003:1000000,5020:1000000,5140:1000000,5069:1000000,2213:1000000,5084:1000000,5139:1000000,5027:1000000,5138:1000000,5045:1000000,5122:1000000,2256:1000000,5141:1000000,5031:1000000,2259:1000000,5073:1000000,2251:1000000,5126:1000000,5127:1000000,5117:1000000,5148:1000000,2277:1000000,5037:1000000,2299:1000000,5030:1000000,5023:1000000,5060:1000000,5012:1000000,2287:1000000,2289:1000000,5035:1000000,2293:1000000,5134:1000000,5182:1000000,5118:1000000,5008:1000000,5033:1000000,5039:1000000,2275:1000000,5109:1000000,5083:1000000,5108:1000000,2208:10000,2247:500000,5009:1000000,2280:1000000,5100:1000000,5078:1000000,5133:1000000,5149:1000000,5064:1000000,5212:1000000,5067:1000000,2258:1000000,5029:1000000,2294:1000000,2272:1000000,5062:1000000,5049:1000000,5066:1000000,5287:1000000,5032:1000000,5103:1000000,2253:1000000,2245:500000,5059:1000000,2234:1000000,5077:1000000

mal_in02,186,75,5	shop	Middle Headgear	899,5074:500000,2276:500000,2296:500000,5102:500000,2295:500000,5800:500000,5040:500000,5104:500000,2205:500000,2286:500000,5068:500000,2212:500000,5154:500000,5014:500000,2243:500000,2203:500000,5006:500000,2291:500000,2260:500000,2239:500000,5043:500000,2242:500000,5248:500000,5250:500000,5085:500000,2201:500000,5101:500000,2263:500000
mal_in02,187,73,3	shop	Lower Headgear	853,5113:1000000,5096:1000000,5110:1000000,2237:500000,2240:500000,2267:1000000,2262:1000000,5107:1000000,5156:1000000,5155:1000000,2218:500000,2265:1000000,2241:500000,2266:1000000,5004:1000000,2268:1000000,5051:1000000,2269:1000000,2270:1000000,5206:1000000
mal_in02,189,71,3	shop	Upper/Middle/Lower Head	877,5086:1000000,5089:1000000,5005:1000000,5090:1000000,2297:1000000,5314:1000000,5332:1000000,2288:1000000,2278:10000,2281:50000,5087:1000000,5203:1000000,5272:1000000,5088:1000000,2292:1000000,5093:500000,5142:1000000,5091:1000000,5258:1000000,5276:1000000,5273:1000000,5274:1000000,2224:1000000,5181:1000000,5094:1000000,5130:1000000,5151:1000000,5152:1000000,5098:1000000,5121:1000000,5046:1000000,5131:1000000,5143:1000000,2264:1000000,5053:1000000,5191:800
mal_in02,160,73,5	shop	Armor	752,2390:150000,2388:150000,2306:150000,2315:150000,2310:150000,2302:150000,2320:150000,2317:150000,2319:150000,2373:150000,2304:150000,2342:150000,2318:150000,2372:150000,2308:150000,2311:150000,2359:150000,2353:150000,2313:150000,2371:150000,2360:150000,2326:150000,2324:150000,2322:150000,2333:150000,2336:150000,2331:150000,2338:150000,2329:150000
mal_in02,161,76,5	shop	Shield	707,2135:150000,2118:150000,2104:150000,2130:150000,2102:150000,2110:150000,2120:150000,2121:150000,2108:150000,2128:150000,2106:150000,2114:150000,2125:150000
mal_in02,163,77,5	shop	Garment	806,2545:150000,2553:150000,2525:150000,2515:150000,2513:150000,2502:150000,2506:150000,2518:150000,2519:150000,2504:150000,2514:150000,2508:150000,2511:150000,2509:150000,2517:150000
mal_in02,165,77,4	shop	Footgear	913,2450:150000,2406:150000,2415:150000,2407:150000,2417:150000,2419:150000,2412:150000,2432:150000,2413:150000,2402:150000,2408:150000,2404:150000,2418:150000,2424:150000
mal_in02,160,70,5	shop	Accessory	856,2782:150000,2656:150000,2664:150000,2627:150000,2655:150000,2605:150000,2646:150000,2617:150000,2631:150000,2607:150000,2616:150000,2613:150000,2602:150000,2665:150000,2614:150000,2641:150000,2612:150000,2663:150000,2604:150000,2652:150000,2636:150000,2610:150000,2640:150000,2657:150000,2666:150000,2618:150000,2645:150000,2649:150000,2648:150000,2650:150000,2651:150000,2603:150000,2658:150000,2639:150000,2638:150000,2667:150000,2670:150000,2601:150000,2669:150000,2608:150000,2615:150000,2643:150000,2654:150000,2637:150000,2611:150000,2715:150000,2644:150000,2727:150000
mal_in02,160,48,5	shop	One-handed Sword	733,1109:150000,1140:150000,1134:150000,13400:150000,1132:150000,1137:150000,1106:150000,1133:150000,1149:150000,1143:150000,1131:150000,1141:150000,1142:150000,1138:150000,1130:150000,1124:150000,1125:150000,1127:150000,1144:150000,1115:150000,1136:150000,1148:150000,1103:150000,1139:150000,1147:150000,1121:150000,1108:150000,1161:150000
mal_in02,160,45,5	shop	Two-handed Sword	734,1156:150000,1162:150000,1172:150000,1180:150000,1179:150000,1118:150000,1170:150000,1165:150000,1164:150000,1178:150000,1153:150000,1159:150000,1171:150000
mal_in02,162,44,5	shop	One-handed Spear	767,1415:150000,1414:150000,1418:150000,1409:150000,1417:150000,1406:150000,1416:150000,1408:150000,1422:150000,1421:150000
mal_in02,165,44,5	shop	Two-handed Spear	780,1467:150000,1470:150000,1476:150000,1475:150000,1474:150000,1456:150000,1453:150000,1465:150000,1412:150000,1469:150000,1459:150000,1462:150000,1468:150000
mal_in02,168,44,5	shop	One-handed Axe	826,1303:150000,1304:150000,1305:150000,1308:150000,1306:150000,1307:150000,1302:150000
mal_in02,171,44,5	shop	Two-handed Axe	813,1353:150000,1363:150000,1359:150000,1364:150000,1369:150000,1356:150000,1366:150000,1365:150000,1367:150000,1368:150000,1362:150000
mal_in02,174,44,5	shop	Katar	884,1265:150000,1266:150000,1251:150000,1255:150000,1253:150000,1256:150000,1259:150000,1257:150000,1258:150000,1260:150000,1262:150000,1264:150000,1263:150000,1270:150000,1269:150000,1275:250000,1278:250000,1276:250000,1277:250000
mal_in02,177,44,5	shop	Dagger	880,13005:150000,1232:150000,1235:150000,1231:150000,1246:150000,13004:150000,1241:150000,1206:150000,1242:150000,1215:150000,1226:150000,1212:150000,13001:150000,1233:150000,1223:150000,1221:150000,1237:150000,13015:150000,13008:150000,1229:150000,1203:150000,1209:150000,1234:150000,13013:150000,1240:150000,1218:150000,13018:150000,1227:150000,1238:150000,13009:150000,1225:150000,1224:150000,1244:150000,13016:150000,13019:150000,13000:150000,1249:150000,1247:150000,1248:150000,1205:150000,1214:150000,1220:150000,1202:150000,1208:150000,13027:150000,1217:150000,1237:150000
mal_in02,180,44,5	shop	Rod & Staff	735,1629:150000,1631:150000,1622:150000,1634:150000,1603:150000,1472:150000,1635:150000,1626:150000,1618:150000,1620:150000,1614:150000,1616:150000,1473:150000,1625:150000
mal_in02,183,44,5	shop	Bow	832,1720:150000,1727:150000,1703:150000,1730:150000,1706:150000,1712:150000,1736:150000,1724:150000,1716:150000,1726:150000,1709:150000,1737:150000,1723:150000,1725:150000,1734:150000,1721:150000,1719:150000
mal_in02,187,47,3	shop	Mace	753,1521:150000,1503:150000,1512:150000,1524:150000,1528:150000,1529:150000,1525:150000,1506:150000,1515:150000,1527:150000,1526:150000,1509:150000,1523:150000,1532:150000,1518:150000,1531:150000
mal_in02,189,50,3	shop	Knuckle	843,1816:150000,1810:150000,1812:150000,1808:150000,1815:150000,1813:150000,1804:150000,1806:150000,1802:150000
mal_in02,189,53,3	shop	Musical Instruments	47,1969:150000,1964:150000,1971:150000,1967:150000,1966:150000,1962:150000,1970:150000,1957:150000,1963:150000,1965:150000,1951:150000,1968:150000,1959:150000,1953:150000,1961:150000,1955:150000,1914:150000,1913:150000,1917:150000,1916:150000,1907:150000,1915:150000,1911:150000,1910:150000,1906:150000,1904:150000,1918:150000,1921:150000,1920:150000,1902:150000

mal_in02,189,56,3	shop	Books Shop	894,1562:150000,1551:150000,1553:150000,1556:150000,1554:150000,1557:150000,1555:150000,1550:150000,1558:150000,1561:150000,1559:150000,1560:150000
mal_in02,189,59,3	shop	Gun	899,13156:600000,13167:800000,13154:50000,13155:500000,13173:150000,13105:150000,13106:150000,13101:150000,13107:150000,13150:150000,13152:150000,13153:150000,13166:150000,13170:150000,13164:150000,13159:150000,13157:150000,13161:150000
mal_in02,189,62,3	shop	Fuuma Shuriken	898,13302:50000,13303:100000,13300:200000,13304:2500,7522:10000,7521:10000,7523:10000,7524:10000,13252:10000,13254:10000,13251:10000,13253:10000,13250:10000,13256:2500,13259:2500,13258:2500,13255:2500,13257:2500
mal_in02,189,65,3	shop	Ammunition	907,1766:2500,1755:2500,1750:2500,1754:2500,1761:2500,1752:2500,1760:2500,1759:2500,1772:2500,1757:2500,1770:2500,1769:2500,1765:2500,1763:2500,1762:2500,1767:2500,1764:2500,1751:2500,1768:2500,1753:2500,1756:2500,1758:2500,1771:2500,13200:2500,13202:2500,13201:2500,13206:2500,13203:2500,13207:2500,13204:2500,13205:2500
mal_in02,176,52,3	shop	Novice Shop	882,5112:150000,2340:150000,2352:150000,2355:150000,1243:150000,1621:150000,2112:150000,2116:150000,2113:150000,2521:150000,2512:150000,2510:150000,2414:150000,2420:150000,2416:150000,2628:150000,5125:150000
mal_in02,176,63,3	shop	Blacksmith Shop	869,1010:-1,1011:-1,985:-1,984:-1,613:5000,614:5000,615:5000,1005:-1,986:-1,987:-1,988:-1,989:-1,612:5000,990:-1,991:-1,992:-1,993:-1,994:-1,995:-1,996:-1,997:-1,1003:-1,1002:-1,998:-1,999:-1,1000:-1,1001:-1,714:5000
mal_in02,179,57,3	shop	Alchemist Shop	749,7144:150000,970:50000,1051:10000,7136:5000,7135:5000,7137:3000,7138:3000,7139:5000,713:100,1092:50,7134:50,1093:100,12040:200000,952:1000,1012:1000,950:1000,7126:5000,1017:1000,1057:1000,1061:5000,7419:200000,7434:200000,7133:250000,545:200000,546:250000,547:300000


mal_in02,183,62,3	shop	Usable Item	74,606:5000,605:5000,609:5000,662:5000,505:5000,678:5000,645:5000,656:5000,657:5000,610:4000,717:600,715:600,716:600,1025:184,523:20
mal_in02,189,68,4	shop	Pet Store	84,643:3000,619:2000,620:2000,621:2000,622:3000,623:4000,632:150000,627:7000,624:3000,625:3000,630:3000,631:3000,633:3000,629:3000,635:3000,636:3000,637:3000,659:3000,626:3000,642:3000,641:3000,640:3000,628:10000,638:15000,639:20000,661:20000,634:20000,660:20000,10013:5000,10017:5000,10010:5000,10016:5000,10020:5000,10015:5000,10018:5000,10002:5000,10004:5000,10008:5000,10006:5000,10019:5000,10014:5000,10007:5000,10001:5000,10011:5000,10012:5000,10003:5000,10005:5000,10009:5000

// Duplicate NPC
rent_in,18,36,4	duplicate(Super Mall)	Guild Super Mall#1	503
rent_in2,18,36,4	duplicate(Super Mall)	Guild Super Mall#2	503
rent_in3,18,36,4	duplicate(Super Mall)	Guild Super Mall#3	503
rent_in4,18,36,4	duplicate(Super Mall)	Guild Super Mall#4	503
rent_in5,18,36,4	duplicate(Super Mall)	Guild Super Mall#5	503
rent_in6,18,36,4	duplicate(Super Mall)	Guild Super Mall#6	503
Edited by Kanor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

You mean add a check on that script if a certain quest is done?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Yes.. Also, If they somewhat tried entering "Askydun" warper, there will be a message saying " You have not completed the Askydun Quest". 

 

 

Something like this:

 

post-19860-0-74806600-1380114310_thumb.png

post-19860-0-63065700-1380114344_thumb.png

Edited by Kanor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Where do I put set #done, 1; ? in the script? 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Where do I put set #done, 1; ? in the script? 

the part where your player finished the script ....

 

located at line XYZ of your Unknown Quest script ....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Thank you Emistry and Patskie ^_^

 

 

-----

 

Emistry, where exactly is the XYZ in the script : / 

 

 

Heres the script

//=====================================================================
//===========================eAthena Script============================
//======================Made by: Juvia==========================
//Admin of: Grace Ragnarok Online
//Property of: Grace Ragnarok Online
//Askydun Quest ver 1.3 : Added a whole server brodcast when a player completes the quest.
//ver 1.2 = Fixed the timer bugs. (The NPC doesn't show when the timers are operating.)
//ver 1.1 = Fixed the Duplicate NPC's times and position.
//ver 1.0 = First Release.
//======================Quest Description===============================
//You'll need to get the approval of the 4 Guardians of Askydun to reach Askydun.
//I removed the final NPC ( The one who needs a guitar ) because I'm too lazy to code it.
//I replaced it with an item (9298). I use this item as proof that a player completed the quest.
//PM me if you want to ask or add something.
//======================================================================


// Askydun Guardian 1
um_fild03,275,245,5	script	1st Guardian	405,{

	if( askydun == 1 ) goto Laskydun1;
	if( askydun == 2 ) goto Laskydun2;
	if( askydun == 3 || askydun == 4 || askydun == 5|| askydun == 6|| askydun == 7|| askydun == 8 ) goto Laskydunjejeje;
	if( askydun == 0 ) {
	mes "[1st Guardian]";
	mes "Hi adventurer! I am the first guardian of Askydun!";
	next;
	mes "[1st Guardian]";
	mes "Do you want to go to Askydun?";
	switch(select("I Want to go to Akydun!:No Thanks")) {
	case 1:
	next;
	mes "[1st Guardian]";
	mes "Okay! In order for me to allow you to go you must bring me:";
	mes "15 Opals";
	mes "15 Sapphires";
	mes "15 Pearls";
	set askydun,1;
	next;
	mes "[1st Guardian]";
	mes "If you bring me that items, I will tell the 2nd guardian that you can take his quest!";
	close;
	case 2:
	next;
	mes "[1st Guardian]";
	mes "Okay... Maybe next time";
	close;

	Laskydun1:
	mes "[1st Guardian]";
	mes "Did you bring all the items?";
	menu "Here it is!",here1,"What do you need again?",again1;

	here1:
	if (countitem(726) > 14 && countitem(722) > 14 && countitem(727) > 14 ) {
		next;
		mes "[1st Guardian]";
		mes "Good! You can now contact the 2nd guardian for you to start his quest";
		next;
		delitem 726,15;
		delitem 722,15;
		delitem 727,15;
		set askydun,2;
		mes "[1st Guardian]";
		mes "Good luck!";
		close;
	}
	next;
	mes "[1st Guardian]";
	mes "You still don't have all the items. Please give talk to me again once you have them all.";
	close;

	again1:
	next;
	mes "[1st Guardian]";
	mes "Okay! In order for me to allow you to go you must bring me:";
	mes "15 Opals";
	mes "15 Sapphires";
	mes "15 Pearls";
	close;

	Laskydun2:
	mes "[1st Guardian]";
	mes "You can now go find the 2nd guardian! You have passed my test!";
	close;

Laskydunjejeje:
	mes "[1st Guardian]";
	mes "I miss Askydun!";
	close;
}
}
}

//Askydun Guardian 2

ein_fild01,264,154,3	script	2nd Guardian	405,{
	
	if( askydun == 2 ) goto Laskydun02;
	if( askydun == 3 ) goto Laskydun3;
	if( askydun == 4 ) goto Laskydun4;
	if( askydun == 0 || askydun == 1 || askydun == 5|| askydun == 6|| askydun == 7|| askydun == 8 ) {
	mes "[2nd Guardian]";
	mes "Ahhh. I really want to go to Askydun again";
	close;
}

Laskydun02:
	mes "[2nd Guardian]";
	mes "Hi I'm the 2nd Guardian of Askydun!";
	next;
	mes "[2nd guardian]";
	mes "The 1st Guardian told me that you passed his test!";
	next;
	mes "[2nd Guardian]";
	mes "So, do you want to take my test now?";
	switch(select("Yeah! I'm ready!:Not now")) {
	case 1:
		next;
		mes "[2nd Guardian]";
		mes "Ok! If you want me to approve you to the third guardian, please bring me these items:";
		mes "25 Red Potion";
		mes "25 Yellow Potions";
		mes "25 Orange Potions";
		mes "25 White Potions";
		mes "25 Blue Potions";
		mes "25 Green Potions";
		mes "5 Seeds of Life";
		set askydun,3;
		next;
		mes "[2nd Guardian]";
		mes "If you bring me all those items, you can continue with rest of the quest.";
		close;
	case 2:
		next;
		mes "[2nd Guardian]";
		mes "Ok! maybe next time?";
		close;

	Laskydun3:
		mes "[2nd Guardian]";
		mes "Did you bring all the items?";
		menu "Yes! Here it is",here2,"What do you need again?",again2;

	here2:
		if (countitem(501) > 24 && countitem(503) > 24 && countitem(502) > 24 && countitem(504) > 24 && countitem(505) > 24 && countitem(506) > 24 && countitem(7140) > 4 ) {
		next;
		mes "[2nd Guardian]";
		mes "Good your a fast worker! I've already told the 3rd Guardian about you.";
		delitem 501,25;
		delitem 502,25;
		delitem 503,25;
		delitem 504,25;
		delitem 505,25;
		delitem 506,25;
		delitem 7140,5;
		set askydun,4;
		next;
		mes "[2nd Guardian]";
		mes "You can now find the 3rd Guardian and continue with your quest!";
		next;
		mes "[2nd Guardian]";
		mes "Good Luck!";
		close;
}
		next;
		mes "[2nd Guardian]";
		mes "You don't have all the items I need. Please come back when you do have them all.";
		close;
		
		again2:
		next;
		mes "[2nd Guardian]";
		mes "Ok! If you want me to approve you to the third guardian, please bring me this items:";
		mes "25 Red Potion";
		mes "25 Yellow Potions";
		mes "25 Orange Potions";
		mes "25 White Potions";
		mes "25 Blue Potions";
		mes "25 Green Potions";
		mes "5 Seeds of Life";
		close;

Laskydun4:
	mes "[2nd Guardian]";
	mes "You can now continue your quest with the 3rd guardian. You have already passed my test";
	close;
}
}

//Duplicates (2nd Guardian)
hu_fild06,103,283,5	duplicate(2nd Guardian)	2nd Guardian#2-2	405
cmd_fild03,140,189,5	duplicate(2nd Guardian)	2nd Guardian#3-1	405

//3rd Guardian of Askydun
yuno_fild02,84,228,3	script	3rd Guardian	405,{

	if( askydun == 4 ) goto Laskydun03;
	if( askydun == 5 ) goto Laskydun5;
	if( askydun == 6 ) goto Laskydun6;
	if( askydun == 0 || askydun == 1 || askydun == 2|| askydun == 3|| askydun == 7|| askydun == 8 ) {
	mes "[3rd Guardian]";
	mes "Men! I really want to get back to Askydun soon!";
	close;
}

	Laskydun03:
	mes "[3rd Guardian]";
	mes "Hey you're here! I heard from the 1st and 2nd Guardian that you are good!";
	mes "Are you ready to take my test?";
	switch(select("Yes! Bring it on!:No, I'm not ready yet")) {
	case 1:
		next;
		mes "[3rd Guardian]";
		mes "Okay! We'll do it as you did in the first two Guardians!";
		next;
		mes "[3rd Guardian]";
		mes "I need these items. Once you bring all of them to me, You can continue your quest to find 4th and final guardian;";
		next;
		mes "[3rd Guardian]";
		mes "Here are the items that I require";
		mes "100 Sticky Mucuses";
		mes "100 Large Jellopies";
		mes "100 Jellopies";
		set askydun,5;
		next;
		mes "[3rd Guardian]";
		mes "If you bring all of those items to me, You can now do the quest of the 4th guardian!";
		next;
		mes "[3rd Guardian]";
		mes "Good luck on finding all of them!";
		close;
	case 2:
		next;
		mes "[3rd Guardian]";
		mes "Okay! See you next time!";
		close;

Laskydun5:
		mes "[3rd Guardian]";
		mes "Did you got all the items already?";
		menu "Yes! Here it is",here3,"What do you need again?",again3;

here3:
	if( countitem(938) > 99 && countitem(7126) > 99 && countitem(909) > 99 ) {
	next;
	mes "[3rd Guardian]";
	mes "Nice! You work perfect! You can now go look for the final guardian!";
	delitem 938,100;
	delitem 7126,100;
	delitem 909,100;
	set askydun,6;
	next;
	mes "[3rd Guardian]";
	mes "Good luck! We might see each other again in Askydun!";
	close;
}
	next;
	mes "[3rd Guardian]";
	mes "You still don't have the items that I require! Please come back when you do have them all!";
	close;

again3:
	next;
		mes "[3rd Guardian]";
		mes "Here are the items that I require";
		mes "100 Sticky Mucuses";
		mes "100 Large Jellopies";
		mes "100 Jellopies";
		close;

Laskydun6:
	mes "[3rd Guardian]";
	mes "Hurry! It's just a little time before you reach Askydun!";
	close;
}
}

//Duplicates (Guardian 4)
ein_fild10,271,56,3	duplicate(3rd Guardian)	3rd Guardian#4-1	405
ein_fild04,362,93,0	duplicate(3rd Guardian)	3rd Guardian#5-1	405

//4th Guardian of Askydun
yuno_fild08,164,190,5	script	4th Guardian	405,{

	if( askydun == 6 ) goto Laskydun04;
	if( askydun == 7 ) goto Laskydun7;
	if( askydun == 8 ) goto Laskydun8;
	if( askydun == 0 || askydun == 1 || askydun == 2|| askydun == 3|| askydun == 4|| askydun == 5 ) {
	mes "[4th Guardian]";
	mes "Hi! Nice weather today isn't it?";
	close;
}

Laskydun04:
	mes "[4th Guardian]";
	mes "Hi! I am the fourth and final guardian!";
	next;
	mes "[4th Guardian]";
	mes "Are you ready to take your final quest from the guardians?";
	switch(select("Yes! Let's go!:Wait I'm not ready yet!")) {
	case 1:
		next;
		mes "[4th Guardian]";
		mes "Okay I know you're in a rush so I'll tell you what I need right away";
		next;
		mes "[4th Guardian]";
		mes "I need these items:";
		mes "1 Chepet Card";
		mes "1 Zealotus Card";
		mes "1 Toad Card";
		mes "1 Harpy Card";
		mes "1 Alice Card";
		mes "1 Wanderer Card";
		set askydun,7;
		next;
		mes "[4th Guardian]";
		mes "If you bring me all of that items, you can now go in and out of Askydun. Good Luck in your final test!";
		close;
	case 2:
		next;
		mes "[4th Guardian]";
		mes "Okay! Get ready and talk to me!";
		close;

Laskydun7:
		mes "[4th Guardian]";
		mes "Did you got all the items already?";
		menu "Yes! Here it is",here4,"What do you need again?",again4;

here4:
if (countitem(4277) > 0 && countitem(4284) > 0 && countitem(4306) > 0 && countitem(4325) > 0 && countitem(4253) > 0 && countitem(4210) > 0 ) {
next;
mes "[4th Guardian]";
mes "Very good! Now you're quest is done! Here take this ring!";
delitem 4277,1;
delitem 4284,1;
delitem 4306,1;
delitem 4325,1;
delitem 4253,1;
delitem 4210,1;
getitem 20001,1;
set askydun,8;
next;
mes "[4th Guardian]";
mes "Please meet the last guardian so he can send you to Askydun.";
announce "["+strcharinfo(0)+"] finished the Askydun Quest !!",bc_all;
next;
mes "[4th Guardian]";
mes "Good job kid";
close;
}
next;
mes "[4th Guardian]";
mes "You don't have all the items, please come back when you have them all.";
close;

again4:
next;
		mes "[4th Guardian]";
		mes "I need these items:";
		mes "1 Chepet Card";
		mes "1 Zealotus Card";
		mes "1 Toad Card";
		mes "1 Harpy Card";
		mes "1 Alice Card";
		mes "1 Wanderer Card";
		close;

Laskydun8:
mes "[4th Guardian]";
mes "You did good kid";
close;

}
}
//Duplicates
gon_fild01,301,293,3	duplicate(4th Guardian)	4th Guardian#6-1	405


// Mapflags
Askydun	mapflag	nowarpto	99

Edited by Kanor
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


mes "Please meet the last guardian so he can send you to Askydun.";

announce "["+strcharinfo(0)+"] finished the Askydun Quest !!",bc_all;

set #done, 1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Thank you ^_^ 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...