summaryrefslogtreecommitdiff
path: root/npc/018-2-6/_config.txt
blob: 87f2d40109a5572c04675726b0a954225789b653 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 018-2-6: Heroes Hold SS - B1F conf

018-2-6,199,215,0	script	#018-2-6_199_215	NPC_TRAP,0,0,{
	mesn strcharinfo(0);
	mesq l("Something seems off with that!");
	close;
OnTouch:
OnTouchNPC:
	IronTrap(400, 15, 3);
	end;
OnTimer15000:
	stopnpctimer; setnpctimer 0; setnpcdisplay "#018-2-6_199_215", NPC_TRAP; end;
}

018-2-6,216,223,0	script	#018-2-6_216_223	NPC_TRAP,0,0,{
	mesn strcharinfo(0);
	mesq l("Something seems off with that!");
	close;
OnTouch:
OnTouchNPC:
	IronTrap(400, 15, 3);
	end;
OnTimer15000:
	stopnpctimer; setnpctimer 0; setnpcdisplay "#018-2-6_216_223", NPC_TRAP; end;
}

018-2-6,161,99,0	script	#018-2-6_161_99	NPC_HIDDEN,{
	end;
OnDisable:
	delcells "018-2-6_161_99"; end;
OnEnable:
OnInit:
	setcells "018-2-6", 161, 99, 163, 99, 1, "018-2-6_161_99";
}

018-2-6,156,101,0	script	#018-2-6_156_101	NPC_HIDDEN,{
	end;
OnDisable:
	delcells "018-2-6_156_101"; end;
OnEnable:
OnInit:
	setcells "018-2-6", 156, 101, 156, 103, 1, "018-2-6_156_101";
}

018-2-6,186,108,0	script	#018-2-6_186_108	NPC_CHEST,{
	TreasureBox();
	specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
	close;
OnInit:
	.distance=3;
	end;
}

018-2-6,204,225,0	script	#018-2-6_204_225	NPC_HIDDEN,{
	end;
OnDisable:
	delcells "018-2-6_204_225"; end;
OnEnable:
OnInit:
	setcells "018-2-6", 204, 225, 210, 225, 1, "018-2-6_204_225";
}

018-2-6,209,210,0	script	#018-2-6_209_210	NPC_HIDDEN,{
	end;
OnDisable:
	delcells "018-2-6_209_210"; end;
OnEnable:
OnInit:
	setcells "018-2-6", 209, 210, 218, 210, 1, "018-2-6_209_210";
}