summaryrefslogtreecommitdiff
path: root/npc/015-2/contrabandist.txt
blob: 7d332d620e3c5839f8061c6e870cbbb5a75ed17b (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
// TMW-2 Script
// Author:
//    Jesusalva
// Description:
//    Contraband of foreing goods.

015-2,166,250,0	script	#Contraband	NPC_NO_SPRITE,{

// Store not available
if (!.active)
    end;

//buyingstore(2);
searchstores(2, 1);
//openshop;
close;

OnInit:
    .active=0;
    .sex = G_OTHER;
    .distance = 12;

    if (true || debug) {
        setnpcdisplay .name$, NPC_KOGA;
        .active=1;
    }

    .Good1=
    tradertype(NST_MARKET);

    end;

OnMinute21:
OnMinute46:
    setnpcdisplay .name$, NPC_KOGA;
    .active=1;
    end;

OnMinute23:
OnMinute48:
    setnpcdisplay .name$, NPC_NO_SPRITE;
    .active=0;
    end;

}