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

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

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

buyingstore(2);
close;

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

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

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

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

}