You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
3.9 KiB
Plaintext

//===== rAthena Script =======================================
//= Malangdo Guide
//===== Changelogs: ==========================================
//= 1.0 First Version. [JohnnyPlayy]
//============================================================
malangdo,218,101,3 script Malangdo Guide#Malangdo 4_CAT_SAILOR3,{
mes "[Malangdo Guide]";
mes "Nice to meet you, welcome to ^8C4210Malangdo^000000. The island of cat paw!";
mes "Need some guidance?";
F_Navi("[Malangdo Guide]");
while(1) {
next;
switch(select("[ Major Facilities ]:[ Trader & Assistant ]:Clear Mini-Map:Cancel")) {
case 1:
set .@loop,1;
while (.@loop) {
switch(select("[ Cat Gamers Director ]:[ Special Vending Machine ]:[ Coin Exchanger ]:[ Starry Coral ]:Previous Menu")) {
case 1:
callsub L_Mark, F_Navi("Cat Gamers Director","malangdo,119,137","FF0000");
viewpoint 1,119,137,0,0xFF0000;
next;
break;
case 2:
callsub L_Mark, F_Navi("Special Vending Machine","malangdo,216,165","FF4500");
viewpoint 1,216,165,1,0xFF4500;
next;
break;
case 3:
callsub L_Mark, F_Navi("Coin Exchanger","malangdo,216,165","DAA520");
viewpoint 1,216,165,2,0xDAA520;
next;
break;
case 4:
callsub L_Mark, F_Navi("Starry Coral","malangdo,73,238","7B68EE");
next;
viewpoint 1,73,238,3,0x7B68EE;
break;
case 5:
set .@loop,0;
break;
}
}
break;
case 2:
set .@loop,1;
while (.@loop) {
switch(select("[ Chief Thomas ]:[ Stinky Merchant ]:[ Wandering Merchant ]:[ Inn Owner ]:[ Storekeeper ]:[ Tool Dealer ]:[ Portali ]:[ Clink ]:[ Holink ]:[ Roving Merchant ]:Previous Menu")) {
case 1:
callsub L_Mark, F_Navi("Chief Thomas","malangdo,164,163","0A9696");
viewpoint 1,164,163,4,0x0A9696;
next;
break;
case 2:
callsub L_Mark, F_Navi("Stinky Merchant","malangdo,173,145","4B0082");
viewpoint 1,173,145,5,0x4B0082;
next;
break;
case 3:
callsub L_Mark, F_Navi("Wandering Merchant","malangdo,162,145","FF4500");
viewpoint 1,162,145,6,0x7B68EE;
next;
break;
case 4:
callsub L_Mark, F_Navi("Inn Owner","malangdo,147,120","FF6A00");
viewpoint 1,147,120,7,FF6A00;
next;
break;
case 5:
callsub L_Mark, F_Navi("Storekeeper","malangdo,184,138","7F3300");
viewpoint 1,184,138,8,0x7F3300;
next;
break;
case 6:
callsub L_Mark, F_Navi("Tool Dealer","malangdo,232,160","7B68EE");
viewpoint 1,232,160,9,0x7B68EE;
next;
break;
case 7:
callsub L_Mark, F_Navi("Portali","malangdo,190,167","FF4500");
viewpoint 1,190,167,10,0x7B68EE;
next;
break;
case 8:
callsub L_Mark, F_Navi("Clink","malangdo,225,174","0A9696");
viewpoint 1,225,174,11,0x0A9696;
next;
break;
case 9:
callsub L_Mark, F_Navi("Holink","malangdo,221,176","DA70D6");
viewpoint 1,221,176,12,0xDA70D6;
next;
break;
case 10:
callsub L_Mark, F_Navi("Roving Merchant","malangdo,150,132","3131FF");
viewpoint 1,150,132,13,0x3131FF;
next;
break;
case 11:
set .@loop,0;
break;
}
}
break;
case 3:
mes "[Malangdo Guide]";
mes "I will remove all marks from your Mini-Map.";
mes "Need more help?";
viewpoint 2,1,1,0,0xFFFFFF;
viewpoint 2,1,1,1,0xFFFFFF;
viewpoint 2,1,1,2,0xFFFFFF;
viewpoint 2,1,1,3,0xFFFFFF;
viewpoint 2,1,1,4,0xFFFFFF;
viewpoint 2,1,1,5,0xFFFFFF;
viewpoint 2,1,1,6,0xFFFFFF;
viewpoint 2,1,1,7,0xFFFFFF;
viewpoint 2,1,1,8,0xFFFFFF;
viewpoint 2,1,1,9,0xFFFFFF;
viewpoint 2,1,1,10,0xFFFFFF;
viewpoint 2,1,1,11,0xFFFFFF;
viewpoint 2,1,1,12,0xFFFFFF;
viewpoint 2,1,1,13,0xFFFFFF;
break;
case 4:
mes "[Malangdo Guide]";
mes "I wish you a pleasant trip.";
close;
}
}
L_Mark:
mes "[Malangdo Guide]";
mes "I will show you the location of the " + getarg(0);
mes "Do you need other information?";
return;
}