Code: Select all
//
001-1.gat,53,74,0 script Blackbeard 138,{
mes "[Captain Blackbeard]";
mes "\"Me first mate tells me\"";
mes "\"the crew has contracted scurvy.\"";
next;
mes "\"Bring hither 5 Oranges, \"";
mes "\"10 Red Apples and 5 Cactus \"";
mes "\"Potions\"";
menu "Aye, aye, Captain",-,"Forget it",L_forgetit;
if (countitem ("CactusPotion") < 5 && countitem ("RedApple") < 10 && countitem ("Orange") < 5) goto L_getmore;
mes "[Captain Blackbeard]";
mes "\"Oh, I see these old eyes \"";
mes "\"are failing me again, you \"";
mes "\"have the cure for scurvy! \"";
delitem "CactusPotion", 5;
delitem "RedApple", 10;
delitem "Orange", 5;
set zeny,zeny+5000;
getexp 3000, 1;
close;
L_getmore:
mes "[Captain Blackbeard]";
mes "\"Good, now get the gone.\"";
close;
L_forgetit:
mes "[Captain Blackbeard]";
mes "\"May the dead curse yer soul\"";
next;
warp "027-1.gat",81,56;
close;
}