summaryrefslogtreecommitdiff
path: root/npc/001-3/ctrl.txt
blob: 99c6d1ff891380abb36c9bb6ee42c1dfdc65c40b (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
// TMW2 Script.
// Author:
//    Jesusalva
// Description:
//    None

001-3,127,64,0	script	#PatreonTower	NPC_HIDDEN,0,0,{
    end;
OnTouch:
    if (is_sponsor()) warp "003-0-2", 35, 42;
    end;
}

001-3,103,69,0	script	Copper Chest#Saulc	NPC_CHEST,{
    // Like common chest but up to +3% bonus
	TreasureBox(rand2(150, 300), CopperKey);
	specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
	close;
OnInit:
	.distance=2;
	end;
}