summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/latoy.txt
blob: bb818bc1080d18445f32dfec33dac96c3009944a (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
// A snobby store that won't sell to the player
// takes part in quest given by 021-2/kylian.txt

002-2,86,93,0|shop|#LatoyShop|32767,SilkHeadband:*4,SilkGloves:*4,SilkPants:*4,SilkRobe:*4

002-2,86,93,0|script|Latoy|106
{
    set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowLatoyNT;
    set @kylian, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT);

    mes "[Latoy]";
    mes "\"Is there something I can help you with?\"";
    if (@kylian != 7)
        goto L_Shop;
    next;
    mes "Maybe this is the kind of shop Kylian is looking for?";
    goto L_Shop;

L_Shop:
    mes "[Latoy]";
    mes "\"How would you like to browse my wares?\"";
    menu
        "Yes.", L_LatoyShop,
        "No.", L_Close;

L_LatoyShop:
    close2;
    shop "#LatoyShop";

L_Close:
    set @kylian, 0;
    close;
}