summaryrefslogblamecommitdiff
path: root/npc/042-4/ctrl.txt
blob: a2b22dd7870aa7c4877770227a03755bec8c90e3 (plain) (tree)






















                                                                                           
// TMW 2 Script
// Author:
//  Jesusalva
//  Micksha
// Description:
//  Controls sewers.
//  This one is simple, it just sends a message about path splitting
//  And spawn several monsters when instance is initialized D:
//  Also handles their respawn.

// A simple random treasure chest - to be sure players were introduced to this
// awesome system. Same rules as any treasure box still applies.
042-4,94,47,0	script	#chest_0424	NPC_CHEST,{

	TreasureBox();
	specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
	close;

OnInit:
	.distance = 2;
	end;
}