summaryrefslogtreecommitdiff
path: root/npc/015-2/contrabandist.txt
blob: 4ed9a53ba734c8c0dfbf0f9e5de1b1e8fc260d3f (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,250,0	script	#Contraband	NPC_NO_SPRITE,{

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

buyingstore(2);
close;

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

    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;

}