summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/north_shops.txt
blob: a64a1d877d89abe2cbd4875f8ec97ec147fb2f4c (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
// Northern shopping plaza

// More high-end stuff to satisfy the richer people in Royal Tulimshar

// Some clothing
021-1.gat,136,38,0|shop|Inar|108,CottonShirt :-1,CottonShorts :-1,WhiteCottonBoots :-1,DesertShirt :-1,SilkRobe :-5,DesertHat :-4

// A snobby store that won't sell to the player
// takes part in quest given by 021-2/kylian.txt
021-1.gat,138,29,0|script|Latoy|106,{

    set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowLatoyNT;
    set @kylian, ((QUEST_NorthTulimshar & $@businessmanNT_MASK) >> $@businessmanNT_SHIFT);

    mes "[Latoy]";
    mes "\"There's nothing here you could want or afford.\"";
    if (@kylian != 7)
        goto L_Close;
    next;
    mes "Maybe this is the kind of shop Kylian is looking for?";
    goto L_Close;

L_Close:
    set @kylian, 0;
    close;
}

// A barber (later we can make it so certain styles need to come from him, for a price)
021-1.gat,119,29,0|script|Issay|156,{
    mes "[Issay the Barber]";
    mes "\"Do you need a change of style?\"";
    next;
    callfunc "Barber";
    mes "[Issay the Barber]";
    mes "\"Come again!\"";
    close;
}

// Another banker
021-1.gat,122,32,0|script|Hydusun|149,{
    set @npcname$, "Hydusun";
    callfunc "Banker";
    close;
}

021-1.gat,129,40,0|script|Well|127,{
    callfunc "WaterBottle";
}

// An officer (for security)
021-1.gat,130,38,0|script|Officer|150,{
    mes "[Officer]";
    mes "I'm here for extra security for this market.";
    close;
}