summaryrefslogtreecommitdiff
path: root/npc/003-4/ashley.txt
blob: 9be784934d8614a33e8d2c7cb179c1f289ca2329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
003-4,35,25,0	script	Ashley	NPC139,{
    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:
    @inventorylist_count = 0;
    close;
}