summaryrefslogblamecommitdiff
path: root/npc/018-2-6/_config.txt
blob: 87f2d40109a5572c04675726b0a954225789b653 (plain) (tree)






































































                                                                                                               
// 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";
}