summaryrefslogblamecommitdiff
path: root/world/map/npc/003-4/ashley.txt
blob: 48ad10c98f06b3ceb4425a5068912d30e66a7078 (plain) (tree)




























































                                                                                                                          
003-4,35,25,0|script|Ashley|139
{
    mes "[Ashley]";
    mes "\"Ah, hello. Your smell is different, you seem to have come from a different time.";
    mes "Perhaps you have the rare item I'm looking for?\"";
    menu
        "Sure!",L_Next,
        "Sorry, I'm busy.",L_Close;

L_Next:
    mes "She smiles mischievously.";
    mes "[Ashley]";
    mes "\"Oho, I need an item which doesn't exists at this time... It is called Mylarin Dust.\"";
    next;
    mes "[Ashley]";
    mes "Grinning intensifies";
    mes "\"I'll even give you an old weapon as a reward.\"";
    next;
    mes "[Ashley]";
    mes "\"So, do you have it?\"";
    menu
        "Yeah, here is it.",L_Next1,
        "Not yet.",L_Close;

L_Next1:
    if (countitem("MylarinDust") < 1)
        goto L_NoMylarin;

    getinventorylist;
    if (@inventorylist_count == 100)
        goto L_FullInv;

    delitem "MylarinDust", 1;
    getexp 2000, 0;
    getitem "SandCutter", 1;
    mes "[Ashley]";
    mes "Grinning widely";
    mes "\"Thanks, mortal. This will help me a bit...\"";
    next;
    mes "[Ashley]";
    mes "\"And if you have more Mylarin Dust with you, I will not hesitate to give you another old weapon as a reward.\"";
    goto L_Close;

L_NoMylarin:
    mes "[Ashley]";
    mes "She fakes smiles at you";
    mes "\"Oh, did you said you wanted me to play with you?\"";
    next;
    mes "[Ashley]";
    mes "\"While I would love to play... I still have to put a prank on Cupid, so you'll have to wait your turn.\"";
    goto L_Close;

L_FullInv:
    mes "[Ashley]";
    mes "\"You're carrying so many things that I feel the urge of stomping you.\"";
    goto L_Close;

L_Close:
    set @inventorylist_count, 0;
    close;
}