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

012-2,54,43,0	script	#Contraband	NPC_NO_SPRITE,{

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

buyingstore(2);
close;

OnInit:
    .active=0;
    .sex = G_OTHER;
    .distance = 3;
    end;

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

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

}